Skip to content

WIP: improve the MCTruth handling in detector simulation

Requests from Kaili and Yuexin:

  • need to separate the decay in tracker and calo
  • need to store the relation between hit and secondary particle

The tracks info: gamma -> e+e-

 620d570+152          +22           +1           +0 +0.000000e+00 +1.815820e-02 +0.000000e+00 -4.332116e+00 +6.835955e-02 +3.222749e+00  -1.650304e+03 +9.657410e+02 +1.565727e+03  -5.264207e-01 +3.088450e-01 +>
      parents :  620d570+142
      daughters :  620d570+153  620d570+154
 620d570+153          +11           +0  +1073741824 -1.000000e+00 +8.245208e+00 +5.109989e-04 -1.650304e+03 +9.657410e+02 +1.565727e+03  -1.681969e+03 +9.749609e+02 +1.597229e+03  -4.844439e-01 +2.840720e-01 +>
      parents :  620d570+152
      daughters :
 620d570+154          -11           +0  +1073741824 +1.000000e+00 +8.245208e+00 +5.109989e-04 -1.650304e+03 +9.657410e+02 +1.565727e+03  -1.653027e+03 +9.808740e+02 +1.584541e+03  -4.209397e-02 +2.495088e-02 +>
      parents :  620d570+152
      daughters :

Then the contribution or hit is associated with the secondary:

EcalBarrelContributionCollection
          id:         PDG:      energy:        time:             stepPosition [ x, y, z]:
1d62bb3c+12          -11 +2.171564e-04 +8.246002e+00 -1.580707e+03 +1.056195e+03 +1.566033e+03
      particle :  620d570+154
1d62bb3c+13          +11 +1.875430e-04 +8.246010e+00 -1.580707e+03 +1.056195e+03 +1.566033e+03
      particle :  620d570+153
Edited by lintao@ihep.ac.cn

Merge request reports

Loading