41 #ifndef G4VITRESTDISCRETEPROCESS_H
42 #define G4VITRESTDISCRETEPROCESS_H
44 #include <CLHEP/Units/SystemOfUnits.h>
133 if ( (previousStepSize < 0.0) || (
fpState->theNumberOfInteractionLengthLeft<=0.0)) {
136 }
else if ( previousStepSize > 0.0) {
152 value =
fpState->theNumberOfInteractionLengthLeft * (
fpState->currentInteractionLength);
158 G4cout <<
"G4VITRestDiscreteProcess::PostStepGetPhysicalInteractionLength ";
195 G4cout <<
"G4VITRestDiscreteProcess::AtRestGetPhysicalInteractionLength ";
203 return fpState->theNumberOfInteractionLengthLeft * (
fpState->currentInteractionLength);
G4double condition(const G4ErrorSymMatrix &m)
virtual void ClearNumberOfInteractionLengthLeft()
Identical to G4VRestDiscreteProcess with dependency from G4VITProcess.
const G4DynamicParticle * GetDynamicParticle() const
virtual void ResetNumberOfInteractionLengthLeft()
WARNING : Redefine the method of G4VProcess reset (determine the value of)NumberOfInteractionLengthLe...
const G4String & GetName() const
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
void DumpInfo(G4int mode=0) const
G4VITRestDiscreteProcess & operator=(const G4VITRestDiscreteProcess &right)
G4GLOB_DLL std::ostream G4cout
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
const G4String & GetProcessName() const
G4Material * GetMaterial() const
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
virtual G4double GetMeanLifeTime(const G4Track &aTrack, G4ForceCondition *condition)=0
G4VParticleChange * pParticleChange
G4::shared_ptr< G4ProcessState > fpState
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
G4VITRestDiscreteProcess()
G4VITProcess inherits from G4VProcess.
virtual ~G4VITRestDiscreteProcess()
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)