GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » MC Truth with EMC
icon7.gif  MC Truth with EMC [message #17690] Mon, 22 December 2014 10:42 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
I have committed a modification of the EmcHitProducer, in the part concerning the association to MC truth.
Before the MC index of the hit was associated to the primary tracks creating the secondaries in the crystal (i.e. if you have a photon creating e+ e- inside the crystal the hit is associated only to the primary photon, but if you have a pion decaying into muon + nu on the fly and the muon was hitting the emc, the hit was associated wrongly to the primary pion).
Now the code associates the hit to the first mother particle which was not produced inside EMC (if the particle is not primary). In both the previous cases the MC association should work.

I wait for some feedback.
 
Read Message icon7.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cut in energy for EMC hit and digi
Next Topic: PndEmcHitProducer - trunk 28737
Goto Forum:
  


Current Time: Mon Dec 02 02:38:18 CET 2024

Total time taken to generate the page: 0.00770 seconds