Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] Where (if anywhere) is truth particle id stored in PH4Ghits?

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: David Stewart <0ds.johnny AT gmail.com>
  • To: sphenix-software-l AT lists.bnl.gov
  • Subject: [Sphenix-software-l] Where (if anywhere) is truth particle id stored in PH4Ghits?
  • Date: Tue, 12 Apr 2022 11:00:59 -0400

Hi all,
I looking and grepping through code (mostly /coresoftware/simulation/g4simulation/g4tpc and ../g4intt) and through sPHENIX Doxygen. I wish to map PH4Hit‘s to the associated truth PHG4Particle’s. However, the input is the PH4HitContainer on the node tree, which is iterated through in various ::process_event() files, but I cannot seem to find, either (a) the method to pull a Geant4 particle id from the PHG4HitDefs or PHG4Hit* (the iterated pairs of the PHG4HitContainer) or (b) the location which fills the PHG4HitContainer in the first place.
Any pointers would be greatly appreciated,
Thanks,
Dave




Archive powered by MHonArc 2.6.24.

Top of Page