#include <G4ProcessPlacer.hh>
Inheritance diagram for G4ProcessPlacer:
Public Types | |
eSecond = 1 | |
eLast = 0 | |
enum | SecondOrLast { eSecond = 1, eLast = 0 } |
Public Member Functions | |
G4ProcessPlacer (const G4String &particlename) | |
virtual | ~G4ProcessPlacer () |
virtual void | AddProcessAsLastDoIt (G4VProcess *process) |
virtual void | AddProcessAsSecondDoIt (G4VProcess *process) |
virtual void | RemoveProcess (G4VProcess *process) |
Definition at line 49 of file G4ProcessPlacer.hh.
G4ProcessPlacer::G4ProcessPlacer | ( | const G4String & | particlename | ) | [explicit] |
G4ProcessPlacer::~G4ProcessPlacer | ( | ) | [virtual] |
void G4ProcessPlacer::AddProcessAsLastDoIt | ( | G4VProcess * | process | ) | [virtual] |
Implements G4VProcessPlacer.
Definition at line 150 of file G4ProcessPlacer.cc.
Referenced by G4WeightCutOffConfigurator::Configure().
00151 { 00152 G4cout << "=== G4ProcessPlacer::AddProcessAsLastDoIt: for: " 00153 << fParticleName << G4endl; 00154 AddProcessAs(process, eLast); 00155 }
void G4ProcessPlacer::AddProcessAsSecondDoIt | ( | G4VProcess * | process | ) | [virtual] |
Implements G4VProcessPlacer.
Definition at line 143 of file G4ProcessPlacer.cc.
References eSecond, and G4cout.
Referenced by G4WeightWindowConfigurator::Configure(), and G4ImportanceConfigurator::Configure().
00144 { 00145 G4cout << "=== G4ProcessPlacer::AddProcessAsSecondDoIt: for: " 00146 << fParticleName << G4endl; 00147 AddProcessAs(process, eSecond); 00148 }
void G4ProcessPlacer::RemoveProcess | ( | G4VProcess * | process | ) | [virtual] |
Implements G4VProcessPlacer.
Definition at line 50 of file G4ProcessPlacer.cc.
References G4cout, G4endl, G4VProcess::GetProcessName(), and G4ProcessManager::RemoveProcess().
Referenced by G4ImportanceConfigurator::~G4ImportanceConfigurator(), G4WeightCutOffConfigurator::~G4WeightCutOffConfigurator(), and G4WeightWindowConfigurator::~G4WeightWindowConfigurator().
00051 { 00052 G4cout << "=== G4ProcessPlacer::RemoveProcess: for: " << fParticleName 00053 << G4endl; 00054 G4cout << " ProcessName: " << process->GetProcessName() 00055 << ", will be removed!" << G4endl; 00056 00057 G4cout << " The initial AlongStep Vectors: " << G4endl; 00058 PrintAlongStepGPILVec(); 00059 PrintAlongStepDoItVec(); 00060 00061 G4cout << " The initial PostStep Vectors: " << G4endl; 00062 PrintPostStepGPILVec(); 00063 PrintPostStepDoItVec(); 00064 00065 GetProcessManager()->RemoveProcess(process); 00066 00067 G4cout << " The final AlongStep Vectors: " << G4endl; 00068 PrintAlongStepGPILVec(); 00069 PrintAlongStepDoItVec(); 00070 00071 G4cout << " The final PostStep Vectors: " << G4endl; 00072 PrintPostStepGPILVec(); 00073 PrintPostStepDoItVec(); 00074 00075 G4cout << "================================================" << G4endl; 00076 00077 }