steering simulation output [message #11332] |
Fri, 17 December 2010 10:33 |
Olaf Hartmann
Messages: 105 Registered: December 2003 Location: Wien-Alsergrund
|
continuous participant |
From: *smi.oeaw.ac.at
|
|
Dear PANDARooters,
is there a possibility to selectively switch off the output of data to the simulation output file, for instance the GeoTracks array or the detector hit points (without disabling the detector itself)?
Cheers
Olaf
|
|
|
Re: steering simulation output [message #11334 is a reply to message #11332] |
Fri, 17 December 2010 10:55 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *to.infn.it
|
|
Hi Olaf,
first of all the user has to turn on explicitely the GeoTracks, and the default macros (at least in macro/pid) do not have them. There should be a track visualization task that you have to comment out, maybe coming from the tutorial macros (I think nobody is using them anymore, considering that we have our EVE event display).
About detector points, in general in a simulation macro you will find something like PndEmc emc* = new PndEmc("XXX",kTRUE). if you put it to kFALSE, you will have the detector geometry but not the points.
About digitization, in general all the tasks have a SetPersistence flag, where you can switch off the output of your macros. You can take a look again to the macro/pid macros, to show how it is done.
Hope it helps.
Ste
|
|
|
|