Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] g4reco mod for tracking manager access inside user tracking actions

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: "Michael P. McCumber" <mccumber AT bnl.gov>
  • To: Chris Pinkenburg <pinkenburg AT bnl.gov>
  • Cc: sphenix-software-l AT lists.bnl.gov
  • Subject: [Sphenix-software-l] g4reco mod for tracking manager access inside user tracking actions
  • Date: Thu, 19 Nov 2015 10:44:52 -0700

Hello Chris,

In reformatting the truth info container, I would like to have access to the G4TrackingManager inside the G4UserTrackingAction for the truth subsystem. This will allow me to pass user info fields down to the secondaries as the sim runs. I plan to pass the Parent ids in the new format and the Primary ids in the new format directly to the daughters in this way.

The change will allow an arbitrary user track id which will facilitate the reformat *and* will allow me to remove the CPU expensive trace backward after processing to record the primary id on the output. So will have quite a few benefits.

Fortunately the G4UserTrackingAction has an internal pointer that can access the tracking manager, but this must be passed in by hand during the initalization setup. Here is how I intend to do that:

https://github.com/mccumbermike/coresoftware/commit/8943d331fcdf02bf8d60ec36b024e3d687685162

Please comment if you see some issue with this plan. 

Mike

--
Michael P. McCumber, PhD
Los Alamos National Laboratory
505-709-8161



Archive powered by MHonArc 2.6.24.

Top of Page