52 #ifndef G4VITRESTDISCRETEPROCESS_H
53 #define G4VITRESTDISCRETEPROCESS_H
134 if((previousStepSize < 0.0) || (
fpState->theNumberOfInteractionLengthLeft
140 else if(previousStepSize > 0.0)
162 value =
fpState->theNumberOfInteractionLengthLeft * (
fpState->currentInteractionLength);
171 G4cout <<
"G4VITRestDiscreteProcess::PostStepGetPhysicalInteractionLength ";
205 G4cout <<
"G4VITRestDiscreteProcess::AtRestGetPhysicalInteractionLength ";
214 return fpState->theNumberOfInteractionLengthLeft
215 * (
fpState->currentInteractionLength);
virtual void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
static constexpr double ns
G4shared_ptr< G4ProcessState > fpState
G4double condition(const G4ErrorSymMatrix &m)
virtual void ResetNumberOfInteractionLengthLeft()
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
const G4String & GetName() const
static constexpr double cm
G4VParticleChange * pParticleChange
const XML_Char int const XML_Char * value
const G4String & GetProcessName() const
G4Material * GetMaterial() const
virtual ~G4VITRestDiscreteProcess()
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
G4VITRestDiscreteProcess & operator=(const G4VITRestDiscreteProcess &right)
Identical to G4VRestDiscreteProcess with dependency from G4VITProcess.
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
virtual G4double GetMeanLifeTime(const G4Track &aTrack, G4ForceCondition *condition)=0
virtual void ClearNumberOfInteractionLengthLeft()
G4VITRestDiscreteProcess()
G4GLOB_DLL std::ostream G4cout
void DumpInfo(G4int mode=0) const
const G4DynamicParticle * GetDynamicParticle() const
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)