Hi,
1) how I can store the MCTrack three into a root file with a full simulation
if you mean running full simulation, and storing only the stack (MCTrack) without the points in the different detectors, then just add all detectors you need and set the detector sensitivity flag to kFALSE. i.e:
Quote: |
CbmDetector *Mvd = new PndMvdDetector("MVD", kFALSE);
|
doing this the detector material is taken into account but the ProcessHit of the detector is not called, thus the output tree will have only the stack and the event header!
2) is there a possibility to rewrite only MCTrack three into a new root file (from a simulation file which contains others threes) ?
see $ROOTSYS/tutorials/tree/copytree2
on how to copy a branches or whole tree!
hope this will help!
regards
Mohammad