Message: Re: Process Selection Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Process Selection 

Forum: Particles
Re: Question Process Selection (Elliott Leonard)
Date: 05 Aug, 2011
From: Gumplinger Peter <Gumplinger Peter>

Hi Elliott,

In G4VProcess::ResetNumberOfInteractionLengthLeft():

http://www-geant4.kek.jp/lxr/source/processes/management/include/G4VProcess.hh#L411

This is used, for example, in the logic of G4VDiscreteProcess::PostStepGetPhysicalInteractionLength():

http://www-geant4.kek.jp/lxr/source/processes/management/include/G4VDiscreteProcess.hh#L131

in conjunction with SubtractNumberOfInteractionLengthLeft and finally:

 return theNumberOfInteractionLengthLeft * currentInteractionLength;

where:

currentInteractionLength = GetMeanFreePath(track, previousStepSize, condition);

Hope this helps, Peter

 Add Message Add Message
to: "Re: Process Selection"

 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 ]