GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

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 is currently offline  Johan Messchendorp
Messages: 693
Registered: April 2007
Location: University of Groningen
first-grade participant

From: *
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)
....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: 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


Kind wishes,


[Updated on: Thu, 18 December 2008 22:11]

Report message to a moderator

Read Message
Previous Topic: Energy correction for gammas
Next Topic: PndMicroWriter and pi0 reconstruction efficiency
Goto Forum:

Current Time: Sat Jun 22 05:51:09 CEST 2024

Total time taken to generate the page: 0.01558 seconds