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