sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
Re: [Sphenix-software-l] g4reco mod for tracking manager access inside user tracking actions
- From: Chris Pinkenburg <pinkenburg AT bnl.gov>
- To: "Michael P. McCumber" <mccumber AT bnl.gov>
- Cc: sphenix-software-l AT lists.bnl.gov
- Subject: Re: [Sphenix-software-l] g4reco mod for tracking manager access inside user tracking actions
- Date: Thu, 19 Nov 2015 13:02:44 -0500
Hello Mike,
looks good to me, no problem with that
Thanks
Chris
On 11/19/2015 12:44 PM, Michael P. McCumber wrote:
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
--
*********************************************************
Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000
http://www.phenix.bnl.gov/~pinkenbu/
*********************************************************
-
[Sphenix-software-l] g4reco mod for tracking manager access inside user tracking actions,
Michael P. McCumber, 11/19/2015
- Re: [Sphenix-software-l] g4reco mod for tracking manager access inside user tracking actions, Chris Pinkenburg, 11/19/2015
Archive powered by MHonArc 2.6.24.