Draft: Trackdumper add mc true and brem info
This MR is to replace MR1938.
This merge request is to implement some new features in PrTrackerDumper
:
-
Add the true position information of the MCHits associated to MCParticles.
-
Add the bremsstrahlung information associated to electrons. This could benifit the study of electron tracking.
To get the MCHit information of the MCParticles, the link between the MCHits and the reconstructed clusters are used, and in the original PrTrackerDumper
, the clusters has already been associated to MCParticles. For each MCHit, the x,y,z positions, and the time information are saved in new branches of the output tuples.
These modifications has been tested using simulated upgrade xdigi files. The option file PrDumper.py is attached, and this is one of the output tuple. To run the test, one could do ./run gaudirun.py PrDumper.py
after compiling the Brunel and Rec package.
Marked as WIP before getting the green light to remove it.