49 G4Exception(
"G4VDiscreteProcess::G4VDiscreteProcess()",
52 "Default constructor is called");
84 if((previousStepSize < 0.0)
85 || (
fpState->theNumberOfInteractionLengthLeft <= 0.0))
89 }
else if(previousStepSize > 0.0)
110 value =
fpState->theNumberOfInteractionLengthLeft
111 *
fpState->currentInteractionLength;
119 G4cout <<
"G4VDiscreteProcess::PostStepGetPhysicalInteractionLength ";
123 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)
~G4VITDiscreteProcess() override
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &) override
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
virtual void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
G4shared_ptr< G4ProcessState > fpState
virtual void ClearNumberOfInteractionLengthLeft()
void ResetNumberOfInteractionLengthLeft() override
G4bool enableAlongStepDoIt
G4VParticleChange * pParticleChange
const G4String & GetProcessName() const