#include <G4VITRestProcess.hh>
Inheritance diagram for G4VITRestProcess:
Public Member Functions | |
G4VITRestProcess (const G4String &, G4ProcessType aType=fNotDefined) | |
G4VITRestProcess (const G4VITRestProcess &) | |
virtual | ~G4VITRestProcess () |
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 |
G4VITRestProcess () | |
G4VITRestProcess & | operator= (const G4VITRestProcess &right) |
Definition at line 53 of file G4VITRestProcess.hh.
G4VITRestProcess::G4VITRestProcess | ( | const G4String & | , | |
G4ProcessType | aType = fNotDefined | |||
) |
Definition at line 45 of file G4VITRestProcess.cc.
References G4VProcess::enableAlongStepDoIt, and G4VProcess::enablePostStepDoIt.
00046 : G4VITProcess(aName, aType) 00047 { 00048 enableAlongStepDoIt = false; 00049 enablePostStepDoIt = false; 00050 }
G4VITRestProcess::G4VITRestProcess | ( | const G4VITRestProcess & | ) |
G4VITRestProcess::~G4VITRestProcess | ( | ) | [virtual] |
G4VITRestProcess::G4VITRestProcess | ( | ) | [protected] |
Definition at line 38 of file G4VITRestProcess.cc.
References G4Exception(), and JustWarning.
00039 :G4VITProcess("No Name Rest Process") 00040 { 00041 G4Exception("G4VITRestProcess::G4VITRestProcess()","Illegal operation", 00042 JustWarning,"default constructor is called"); 00043 }
virtual G4VParticleChange* G4VITRestProcess::AlongStepDoIt | ( | const G4Track & | , | |
const G4Step & | ||||
) | [inline, virtual] |
G4VParticleChange * G4VITRestProcess::AtRestDoIt | ( | const G4Track & | , | |
const G4Step & | ||||
) | [inline, virtual] |
Implements G4VProcess.
Reimplemented in G4DNAMolecularDecay.
Definition at line 148 of file G4VITRestProcess.hh.
References G4VITProcess::ClearNumberOfInteractionLengthLeft(), and G4VProcess::pParticleChange.
00152 { 00153 // clear NumberOfInteractionLengthLeft 00154 ClearNumberOfInteractionLengthLeft(); 00155 00156 return pParticleChange; 00157 }
G4double G4VITRestProcess::AtRestGetPhysicalInteractionLength | ( | const G4Track & | track, | |
G4ForceCondition * | condition | |||
) | [inline, virtual] |
Implements G4VProcess.
Reimplemented in G4DNAMolecularDecay.
Definition at line 120 of file G4VITRestProcess.hh.
References G4DynamicParticle::DumpInfo(), G4VITProcess::fpState, G4cout, G4endl, G4Track::GetDynamicParticle(), G4Track::GetMaterial(), GetMeanLifeTime(), G4Material::GetName(), G4VProcess::GetProcessName(), NotForced, ns, G4VITProcess::ResetNumberOfInteractionLengthLeft(), and G4VProcess::verboseLevel.
Referenced by G4DNAMolecularDecay::AtRestGetPhysicalInteractionLength().
00124 { 00125 // beggining of tracking 00126 ResetNumberOfInteractionLengthLeft(); 00127 00128 // condition is set to "Not Forced" 00129 *condition = NotForced; 00130 00131 // get mean life time 00132 fpState->currentInteractionLength = GetMeanLifeTime(track, condition); 00133 00134 #ifdef G4VERBOSE 00135 if ((fpState->currentInteractionLength <0.0) || (verboseLevel>2)){ 00136 G4cout << "G4VITRestProcess::AtRestGetPhysicalInteractionLength "; 00137 G4cout << "[ " << GetProcessName() << "]" <<G4endl; 00138 track.GetDynamicParticle()->DumpInfo(); 00139 G4cout << " in Material " << track.GetMaterial()->GetName() <<G4endl; 00140 G4cout << "MeanLifeTime = " << fpState->currentInteractionLength/CLHEP::ns << "[ns]" <<G4endl; 00141 } 00142 #endif 00143 00144 return (fpState->theNumberOfInteractionLengthLeft) * (fpState->currentInteractionLength); 00145 }
virtual G4double G4VITRestProcess::GetMeanLifeTime | ( | const G4Track & | aTrack, | |
G4ForceCondition * | condition | |||
) | [protected, pure virtual] |
G4VITRestProcess& G4VITRestProcess::operator= | ( | const G4VITRestProcess & | right | ) | [protected] |
virtual G4VParticleChange* G4VITRestProcess::PostStepDoIt | ( | const G4Track & | , | |
const G4Step & | ||||
) | [inline, virtual] |
virtual G4double G4VITRestProcess::PostStepGetPhysicalInteractionLength | ( | const G4Track & | , | |
G4double | , | |||
G4ForceCondition * | ||||
) | [inline, virtual] |