Home » PANDA » PandaRoot » EMC » Storage of points, hits, digis, etc...
Storage of points, hits, digis, etc... [message #7648] |
Thu, 18 December 2008 22:01 |
Johan Messchendorp
Messages: 693 Registered: April 2007 Location: University of Groningen
|
first-grade participant |
From: *xs4all.nl
|
|
Dear all,
I added a few methods to the EMC MC, Digi, and reco classes which allow to specify to store points, hits, digis, etc to the TTree or not. The methods are called
PndEmc::SetStorageOfPoints(kTRUE or kFALSE)
PndEmcHitProducer::SetStorageOfHits(...)
PndEmcHitsToWaveforms::SetStorageOfWaves(...)
PndEmcWaveformToDigi::SetStorageOfDigis(...)
....etc, etc....
Furthermore, the storage flag can also be set via the constructors of the corresponding classes. Note that by default all information will be stored to file (as it was so far). The new option is in particular useful to minimize the amount of data. In particular, "points and hits" can really make the files rather large, and are in general not needed to keep till the end. It would be good to enable such an option for all the detectors, digitisation, reconstruction, and analysis methods.
Also note the recent forum message by Mohammad explaining how to do it:
http://forum.gsi.de/index.php?t=tree&goto=7644&rid=981&S=c0f 59d0295f29fadd7a2d831843897fd#msg_7644
which provides the option to combine a simulation macro with that of a reco/analysis. Example EMC macros can be found in
pandaroot/trunk/macro/emc/sim_hit_emc.C
pandaroot/trunk/macro/emc/emc_complete.C
pandaroot/trunk/PndTools/mpiTools/macros/emc/emc.C
Kind wishes,
Johan.
[Updated on: Thu, 18 December 2008 22:11] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Nov 23 05:17:21 CET 2024
Total time taken to generate the page: 0.00509 seconds
|