Hi Geant4 experts, I want to record the spawn volume (and replica number) of each new track in my simulation, so I tried to access the touchable information in the G4UserStackingAction::ClassifyNewTrack() function. This works fine for all tracks but the primary track, which has a null touchable when it comes to the stack. Can anyone direct me how to get around with this please? Thank you, Jingke
Dear Jingke Touchable is set by SteppingManager. So, no touchable is available for primaries in the stack because they have not been "tracked" yet. Please see following discussion in HyperNews, if you want to get volume information for primaries. http://hypernews.slac.stanford.edu/HyperNews/geant4/get/eventtrackmanage/392.html Regards, Hisaya