45 #include "G4VParticleChange.hh" 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)
103 *condition = NotForced;
113 value =
fpState->theNumberOfInteractionLengthLeft
114 *
fpState->currentInteractionLength;
122 G4cout <<
"G4VDiscreteProcess::PostStepGetPhysicalInteractionLength ";
124 track.GetDynamicParticle()->DumpInfo();
125 G4cout <<
" in Material " << track.GetMaterial()->GetName() <<
G4endl;
126 G4cout <<
"InteractionLength= " << value /
cm <<
"[cm] " <<
G4endl;
G4double condition(const G4ErrorSymMatrix &m)
virtual void ClearNumberOfInteractionLengthLeft()
virtual void ResetNumberOfInteractionLengthLeft()
virtual void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
const G4String & GetProcessName() const
G4GLOB_DLL std::ostream G4cout
G4shared_ptr< G4ProcessState > fpState
virtual ~G4VITDiscreteProcess()
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
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