Geant4  10.00.p02
G4ProcessPlacer Class Reference

#include <G4ProcessPlacer.hh>

+ Inheritance diagram for G4ProcessPlacer:
+ Collaboration diagram for G4ProcessPlacer:

Public Types

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)
 
- Public Member Functions inherited from G4VProcessPlacer
 G4VProcessPlacer ()
 
virtual ~G4VProcessPlacer ()
 

Private Member Functions

G4ProcessManagerGetProcessManager ()
 
void AddProcessAs (G4VProcess *process, SecondOrLast)
 
void PrintProcVec (G4ProcessVector *processVec)
 
void PrintAlongStepGPILVec ()
 
void PrintAlongStepDoItVec ()
 
void PrintPostStepGPILVec ()
 
void PrintPostStepDoItVec ()
 

Private Attributes

G4String fParticleName
 

Detailed Description

Definition at line 49 of file G4ProcessPlacer.hh.

Member Enumeration Documentation

Enumerator
eSecond 
eLast 

Definition at line 72 of file G4ProcessPlacer.hh.

Constructor & Destructor Documentation

G4ProcessPlacer::G4ProcessPlacer ( const G4String particlename)
explicit

Definition at line 41 of file G4ProcessPlacer.cc.

G4ProcessPlacer::~G4ProcessPlacer ( )
virtual

Definition at line 46 of file G4ProcessPlacer.cc.

Member Function Documentation

void G4ProcessPlacer::AddProcessAs ( G4VProcess process,
SecondOrLast  sol 
)
private

Definition at line 79 of file G4ProcessPlacer.cc.

References G4ProcessManager::AddProcess(), eLast, eSecond, G4cout, G4endl, G4Exception(), G4ProcessManager::GetProcessList(), GetProcessManager(), G4VProcess::GetProcessName(), idxAlongStep, idxPostStep, ordInActive, ordLast, PrintAlongStepDoItVec(), PrintAlongStepGPILVec(), PrintPostStepDoItVec(), PrintPostStepGPILVec(), RunMustBeAborted, and G4ProcessManager::SetProcessOrderingToSecond().

Referenced by AddProcessAsLastDoIt(), and AddProcessAsSecondDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::AddProcessAsLastDoIt ( G4VProcess process)
virtual

Implements G4VProcessPlacer.

Definition at line 150 of file G4ProcessPlacer.cc.

References AddProcessAs(), eLast, fParticleName, G4cout, and G4endl.

Referenced by G4WeightCutOffConfigurator::Configure().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::AddProcessAsSecondDoIt ( G4VProcess process)
virtual

Implements G4VProcessPlacer.

Definition at line 143 of file G4ProcessPlacer.cc.

References AddProcessAs(), eSecond, fParticleName, G4cout, and G4endl.

Referenced by G4WeightWindowConfigurator::Configure(), and G4ImportanceConfigurator::Configure().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessManager * G4ProcessPlacer::GetProcessManager ( )
private

Definition at line 157 of file G4ProcessPlacer.cc.

References FatalException, fParticleName, G4Exception(), G4ParticleTable::GetIterator(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetProcessManager(), G4ParticleTableIterator< K, V >::reset(), theParticleIterator, and G4ParticleTableIterator< K, V >::value().

Referenced by AddProcessAs(), PrintAlongStepDoItVec(), PrintAlongStepGPILVec(), PrintPostStepDoItVec(), PrintPostStepGPILVec(), and RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::PrintAlongStepDoItVec ( )
private

Definition at line 194 of file G4ProcessPlacer.cc.

References G4cout, G4endl, G4ProcessManager::GetAlongStepProcessVector(), GetProcessManager(), PrintProcVec(), and typeDoIt.

Referenced by AddProcessAs(), and RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::PrintAlongStepGPILVec ( )
private

Definition at line 186 of file G4ProcessPlacer.cc.

References G4cout, G4endl, G4ProcessManager::GetAlongStepProcessVector(), GetProcessManager(), PrintProcVec(), and typeGPIL.

Referenced by AddProcessAs(), and RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::PrintPostStepDoItVec ( )
private

Definition at line 211 of file G4ProcessPlacer.cc.

References G4cout, G4endl, G4ProcessManager::GetPostStepProcessVector(), GetProcessManager(), PrintProcVec(), and typeDoIt.

Referenced by AddProcessAs(), and RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::PrintPostStepGPILVec ( )
private

Definition at line 203 of file G4ProcessPlacer.cc.

References G4cout, G4endl, G4ProcessManager::GetPostStepProcessVector(), GetProcessManager(), PrintProcVec(), and typeGPIL.

Referenced by AddProcessAs(), and RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::PrintProcVec ( G4ProcessVector processVec)
private

Definition at line 220 of file G4ProcessPlacer.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4VProcess::GetProcessName(), and G4ProcessVector::length().

Referenced by PrintAlongStepDoItVec(), PrintAlongStepGPILVec(), PrintPostStepDoItVec(), and PrintPostStepGPILVec().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessPlacer::RemoveProcess ( G4VProcess process)
virtual

Implements G4VProcessPlacer.

Definition at line 50 of file G4ProcessPlacer.cc.

References fParticleName, G4cout, G4endl, GetProcessManager(), G4VProcess::GetProcessName(), PrintAlongStepDoItVec(), PrintAlongStepGPILVec(), PrintPostStepDoItVec(), PrintPostStepGPILVec(), and G4ProcessManager::RemoveProcess().

Referenced by G4ImportanceConfigurator::~G4ImportanceConfigurator(), G4WeightCutOffConfigurator::~G4WeightCutOffConfigurator(), and G4WeightWindowConfigurator::~G4WeightWindowConfigurator().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4String G4ProcessPlacer::fParticleName
private

The documentation for this class was generated from the following files: