Last step of a track using G4UserSteppingAction class

How can I retrieve information from the last step of a track, regardless of the volume in which it occurs?. I don’t want to use LastStepInVolume() because this looks at the last step of a specific volume.

Test the track status for “fStopAndKill” or “fKillTrackAndSecondaries”.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.