Message: Re: counting decays at rest separately from decays in flight Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: counting decays at rest separately from decays in flight 

Forum: Event and Track Management
Re: None counting decays at rest separately from decays in flight (Bari Osmanov)
Date: 06 Mar, 2008
From: Gumplinger Peter <Gumplinger Peter>

It works to ask for the kinetic energy to be zero for decays at rest. That is, because for decays in flight the decaying particle's kinetic energy is not reduced to zero and is left to what it is in flight. However, I feel it is somewhat a tricky business to ask something of a particle/track in SteppingAction when it is on "its last leg'; e.g. the last time SteppingAction is called for this track.

The method to see about the kinetic energy is not a good indicator for 'at rest processes' in general. It is therefore a good idea to establish that yes, first the ProcessDefinedStep was 'Decay':

const G4VProcess* pProcess = pPostPoint->GetProcessDefinedStep();

G4String theProcessName = " ";

if (pProcess) theProcessName = pProcess->GetProcessName();

if (theProcessName == "Decay") {

but then ask additionally for:

G4StepStatus stepStatus = fStep->GetPostStepPoint()->GetStepStatus();

if (stepStatus!=fAtRestDoItProc) {

  decay in flight

}

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: counting decays at rest separately from decays in flight   (barry_osm@yahoo.com - 06 Mar, 2008)
 Add Message Add Message
to: "Re: counting decays at rest separately from decays in flight"

 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 ]