#include <G4VRestProcess.hh>
Inheritance diagram for G4VRestProcess:
Public Member Functions | |
G4VRestProcess (const G4String &, G4ProcessType aType=fNotDefined) | |
G4VRestProcess (G4VRestProcess &) | |
virtual | ~G4VRestProcess () |
virtual G4double | AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition) |
virtual G4VParticleChange * | AtRestDoIt (const G4Track &, const G4Step &) |
virtual G4double | AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *) |
virtual G4double | PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *) |
virtual G4VParticleChange * | PostStepDoIt (const G4Track &, const G4Step &) |
virtual G4VParticleChange * | AlongStepDoIt (const G4Track &, const G4Step &) |
Protected Member Functions | |
virtual G4double | GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *condition)=0 |
Definition at line 60 of file G4VRestProcess.hh.
G4VRestProcess::G4VRestProcess | ( | const G4String & | , | |
G4ProcessType | aType = fNotDefined | |||
) |
Definition at line 54 of file G4VRestProcess.cc.
References G4VProcess::enableAlongStepDoIt, G4VProcess::enablePostStepDoIt, and G4VRestProcess().
Referenced by G4VRestProcess().
00055 : G4VProcess(aName, aType) 00056 { 00057 enableAlongStepDoIt = false; 00058 enablePostStepDoIt = false; 00059 }
G4VRestProcess::G4VRestProcess | ( | G4VRestProcess & | ) |
Definition at line 65 of file G4VRestProcess.cc.
References G4VRestProcess().
00066 : G4VProcess(right) 00067 { 00068 }
G4VRestProcess::~G4VRestProcess | ( | ) | [virtual] |
virtual G4VParticleChange* G4VRestProcess::AlongStepDoIt | ( | const G4Track & | , | |
const G4Step & | ||||
) | [inline, virtual] |
G4VParticleChange * G4VRestProcess::AtRestDoIt | ( | const G4Track & | , | |
const G4Step & | ||||
) | [virtual] |
Implements G4VProcess.
Reimplemented in G4PionMinusNuclearAtRestChips, G4ProtonAntiProtonAtRestChips, G4QCaptureAtRest, G4AntiNeutronAnnihilationAtRest, G4AntiProtonAnnihilationAtRest, G4KaonMinusAbsorption, G4KaonMinusAbsorptionAtRest, G4MuonMinusCaptureAtRest, G4NeutronCaptureAtRest, G4PiMinusAbsorptionAtRest, and G4PionMinusAbsorptionAtRest.
Definition at line 98 of file G4VRestProcess.cc.
References G4VProcess::ClearNumberOfInteractionLengthLeft(), and G4VProcess::pParticleChange.
Referenced by G4QCaptureAtRest::AtRestDoIt().
00102 { 00103 // clear NumberOfInteractionLengthLeft 00104 ClearNumberOfInteractionLengthLeft(); 00105 00106 return pParticleChange; 00107 }
G4double G4VRestProcess::AtRestGetPhysicalInteractionLength | ( | const G4Track & | track, | |
G4ForceCondition * | condition | |||
) | [virtual] |
Implements G4VProcess.
Reimplemented in G4PionMinusNuclearAtRestChips, G4ProtonAntiProtonAtRestChips, G4AntiNeutronAnnihilationAtRest, G4AntiProtonAnnihilationAtRest, G4KaonMinusAbsorption, G4NeutronCaptureAtRest, and G4PionMinusAbsorptionAtRest.
Definition at line 70 of file G4VRestProcess.cc.
References G4VProcess::currentInteractionLength, G4DynamicParticle::DumpInfo(), G4cout, G4endl, G4Track::GetDynamicParticle(), G4Track::GetMaterial(), GetMeanLifeTime(), G4Material::GetName(), G4VProcess::GetProcessName(), NotForced, ns, G4VProcess::ResetNumberOfInteractionLengthLeft(), G4VProcess::theNumberOfInteractionLengthLeft, and G4VProcess::verboseLevel.
00074 { 00075 // beggining of tracking 00076 ResetNumberOfInteractionLengthLeft(); 00077 00078 // condition is set to "Not Forced" 00079 *condition = NotForced; 00080 00081 // get mean life time 00082 currentInteractionLength = GetMeanLifeTime(track, condition); 00083 00084 #ifdef G4VERBOSE 00085 if ((currentInteractionLength <0.0) || (verboseLevel>2)){ 00086 G4cout << "G4VRestProcess::AtRestGetPhysicalInteractionLength "; 00087 G4cout << "[ " << GetProcessName() << "]" <<G4endl; 00088 track.GetDynamicParticle()->DumpInfo(); 00089 G4cout << " in Material " << track.GetMaterial()->GetName() <<G4endl; 00090 G4cout << "MeanLifeTime = " << currentInteractionLength/ns << "[ns]" <<G4endl; 00091 } 00092 #endif 00093 00094 return theNumberOfInteractionLengthLeft * currentInteractionLength; 00095 }
virtual G4double G4VRestProcess::GetMeanLifeTime | ( | const G4Track & | aTrack, | |
G4ForceCondition * | condition | |||
) | [protected, pure virtual] |
Implemented in G4PionMinusNuclearAtRestChips, G4ProtonAntiProtonAtRestChips, G4QCaptureAtRest, G4AntiNeutronAnnihilationAtRest, G4AntiProtonAnnihilationAtRest, G4KaonMinusAbsorption, G4KaonMinusAbsorptionAtRest, G4MuonMinusCaptureAtRest, G4NeutronCaptureAtRest, G4PiMinusAbsorptionAtRest, and G4PionMinusAbsorptionAtRest.
Referenced by AtRestGetPhysicalInteractionLength().
virtual G4VParticleChange* G4VRestProcess::PostStepDoIt | ( | const G4Track & | , | |
const G4Step & | ||||
) | [inline, virtual] |
virtual G4double G4VRestProcess::PostStepGetPhysicalInteractionLength | ( | const G4Track & | , | |
G4double | , | |||
G4ForceCondition * | ||||
) | [inline, virtual] |