45 #include "G4VParticleChange.hh" 49 valueGPILSelection(CandidateForSelection)
51 G4Exception(
"G4VRestContinuousDiscreteProcess::G4VRestContinuousDiscreteProcess()",
52 "ProcMan102",
JustWarning,
"Default constructor is called");
80 *condition = NotForced;
87 G4cout <<
"G4VRestContinuousDiscreteProcess::AtRestGetPhysicalInteractionLength ";
89 track.GetDynamicParticle()->DumpInfo();
90 G4cout <<
" in Material " << track.GetMaterial()->GetName() <<
G4endl;
111 const G4Track&
track,
115 G4GPILSelection* selection
129 G4cout <<
"G4VRestContinuousDiscreteProcess::AlongStepGetPhysicalInteractionLength ";
131 track.GetDynamicParticle()->DumpInfo();
132 G4cout <<
" in Material " << track.GetMaterial()->GetName() <<
G4endl;
133 G4cout <<
"IntractionLength= " << steplength/
cm <<
"[cm] " <<
G4endl;
148 const G4Track&
track,
156 }
else if ( previousStepSize > 0.0) {
165 *condition = NotForced;
179 G4cout <<
"G4VRestContinuousDiscreteProcess::PostStepGetPhysicalInteractionLength ";
181 track.GetDynamicParticle()->DumpInfo();
182 G4cout <<
" in Material " << track.GetMaterial()->GetName() <<
G4endl;
G4double condition(const G4ErrorSymMatrix &m)
G4double theNumberOfInteractionLengthLeft
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
virtual void ResetNumberOfInteractionLengthLeft()
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double ¤tSafety, G4GPILSelection *selection)
void ClearNumberOfInteractionLengthLeft()
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
const G4String & GetProcessName() const
virtual G4double GetContinuousStepLimit(const G4Track &aTrack, G4double previousStepSize, G4double currentMinimumStep, G4double ¤tSafety)=0
G4GPILSelection valueGPILSelection
G4GLOB_DLL std::ostream G4cout
G4double currentInteractionLength
virtual ~G4VRestContinuousDiscreteProcess()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4VParticleChange * pParticleChange
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
G4VRestContinuousDiscreteProcess()
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual G4double GetMeanLifeTime(const G4Track &aTrack, G4ForceCondition *condition)=0