49 G4Exception(
"G4VDiscreteProcess::G4VDiscreteProcess()",
52 "Default constructor is called");
86 if((previousStepSize < 0.0)
87 || (
fpState->theNumberOfInteractionLengthLeft <= 0.0))
91 }
else if(previousStepSize > 0.0)
112 value =
fpState->theNumberOfInteractionLengthLeft
113 *
fpState->currentInteractionLength;
121 G4cout <<
"G4VDiscreteProcess::PostStepGetPhysicalInteractionLength ";
125 G4cout <<
"InteractionLength= " << value / cm <<
"[cm] " <<
G4endl;
G4double condition(const G4ErrorSymMatrix &m)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
void DumpInfo(G4int mode=0) const
const G4String & GetName() const
G4Material * GetMaterial() const
const G4DynamicParticle * GetDynamicParticle() const
G4VITDiscreteProcess(const G4String &, G4ProcessType aType=fNotDefined)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
virtual ~G4VITDiscreteProcess()
virtual void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
G4shared_ptr< G4ProcessState > fpState
virtual void ResetNumberOfInteractionLengthLeft()
virtual void ClearNumberOfInteractionLengthLeft()
G4bool enableAlongStepDoIt
G4VParticleChange * pParticleChange
const G4String & GetProcessName() const