Message: Re: Determining when G4Track is over Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Determining when G4Track is over 

Forum: Analysis
Re: Question Determining when G4Track is over
Date: 21 Aug, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

On Mon, 21 Aug 2017 19:31:20 GMT, frolandh wrote:
> If there a place where the information is stored that denotes whether or
> not a Track is about to teriminate? For instance, if I wanted to
> determine which volume a track terminates in, how would I identify that
> track in the user stepping action?

In G4Step::GetPostStepPoint(), the step status will be "fStopAndKill". If the status is "fStopButAlive", that means the track is at zero energy, but the "AtRest" processes have not yet been applied.

      -- Michael Kelsey

 Add Message Add Message
to: "Re: Determining when G4Track is over"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]