Geant4  10.03
G4ProcessTable Class Reference

#include <G4ProcessTable.hh>

+ Collaboration diagram for G4ProcessTable:

Public Types

typedef std::vector
< G4ProcTblElement * > 
G4ProcTableVector
 
typedef std::vector< G4StringG4ProcNameVector
 

Public Member Functions

 G4ProcessTable ()
 
 ~G4ProcessTable ()
 
G4int Length () const
 
G4int Insert (G4VProcess *aProcess, G4ProcessManager *aProcMgr)
 
G4int Remove (G4VProcess *aProcess, G4ProcessManager *aProcMgr)
 
G4VProcessFindProcess (const G4String &processName, const G4String &particleName) const
 
G4VProcessFindProcess (const G4String &processName, const G4ParticleDefinition *particle) const
 
G4VProcessFindProcess (const G4String &processName, const G4ProcessManager *processManager) const
 
G4ProcessVectorFindProcesses ()
 
G4ProcessVectorFindProcesses (const G4ProcessManager *processManager)
 
G4ProcessVectorFindProcesses (const G4String &processName)
 
G4ProcessVectorFindProcesses (G4ProcessType processType)
 
void SetProcessActivation (const G4String &processName, G4bool fActive)
 
void SetProcessActivation (const G4String &processName, const G4String &particleName, G4bool fActive)
 
void SetProcessActivation (const G4String &processName, G4ParticleDefinition *particle, G4bool fActive)
 
void SetProcessActivation (const G4String &processName, G4ProcessManager *processManager, G4bool fActive)
 
void SetProcessActivation (G4ProcessType processType, G4bool fActive)
 
void SetProcessActivation (G4ProcessType processType, const G4String &particleName, G4bool fActive)
 
void SetProcessActivation (G4ProcessType processType, G4ParticleDefinition *particle, G4bool fActive)
 
void SetProcessActivation (G4ProcessType processType, G4ProcessManager *processManager, G4bool fActive)
 
G4ProcNameVectorGetNameList ()
 
G4ProcTableVectorGetProcTableVector ()
 
void DumpInfo (G4VProcess *process, G4ParticleDefinition *particle=0)
 
G4UImessengerCreateMessenger ()
 
void DeleteMessenger ()
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Static Public Member Functions

static G4ProcessTableGetProcessTable ()
 

Private Member Functions

 G4ProcessTable (const G4ProcessTable &right)
 
G4ProcessTableoperator= (const G4ProcessTable &right)
 
G4int operator== (const G4ProcessTable &right) const
 
G4int operator!= (const G4ProcessTable &right) const
 
G4ProcTableVectorFind (G4ProcTableVector *procTableVector, const G4String &processName)
 
G4ProcTableVectorFind (G4ProcTableVector *procTableVector, G4ProcessType processType)
 
G4ProcessVectorExtractProcesses (G4ProcTableVector *procTableVector)
 

Private Attributes

G4ProcessTableMessengerfProcTblMessenger
 
G4ProcTableVectorfProcTblVector
 
G4ProcNameVectorfProcNameVector
 
G4ProcTableVectortmpTblVector
 
G4int verboseLevel
 

Static Private Attributes

static G4ThreadLocal
G4ProcessTable
fProcessTable =0
 

Detailed Description

Definition at line 59 of file G4ProcessTable.hh.

Member Typedef Documentation

Definition at line 133 of file G4ProcessTable.hh.

Definition at line 132 of file G4ProcessTable.hh.

Constructor & Destructor Documentation

G4ProcessTable::G4ProcessTable ( )

Definition at line 44 of file G4ProcessTable.cc.

References fProcNameVector, fProcTblMessenger, fProcTblVector, G4cout, G4endl, tmpTblVector, and verboseLevel.

Referenced by GetProcessTable().

+ Here is the caller graph for this function:

G4ProcessTable::~G4ProcessTable ( )
G4ProcessTable::G4ProcessTable ( const G4ProcessTable right)
private

Member Function Documentation

G4UImessenger * G4ProcessTable::CreateMessenger ( )

Definition at line 107 of file G4ProcessTable.cc.

References fProcTblMessenger.

Referenced by G4RunManager::G4RunManager().

+ Here is the caller graph for this function:

void G4ProcessTable::DeleteMessenger ( )

Definition at line 116 of file G4ProcessTable.cc.

References fProcTblMessenger.

Referenced by G4RunManager::~G4RunManager().

+ Here is the caller graph for this function:

void G4ProcessTable::DumpInfo ( G4VProcess process,
G4ParticleDefinition particle = 0 
)

Definition at line 570 of file G4ProcessTable.cc.

References G4ProcessManager::DumpInfo(), G4VProcess::DumpInfo(), fProcTblVector, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcTblElement::GetProcess(), G4ProcTblElement::GetProcessManager(), G4ProcessManager::GetVerboseLevel(), G4VProcess::GetVerboseLevel(), G4ProcTblElement::Length(), G4ProcessManager::SetVerboseLevel(), G4VProcess::SetVerboseLevel(), and verboseLevel.

Referenced by export_G4ProcessTable(), and G4ProcessTableMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessVector * G4ProcessTable::ExtractProcesses ( G4ProcTableVector procTableVector)
private

Definition at line 406 of file G4ProcessTable.cc.

References G4ProcTblElement::GetProcess(), and G4ProcessVector::insert().

Referenced by FindProcesses().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessTable::G4ProcTableVector * G4ProcessTable::Find ( G4ProcTableVector procTableVector,
const G4String processName 
)
private

Definition at line 347 of file G4ProcessTable.cc.

References fProcTblVector, G4cout, G4endl, G4ProcTblElement::GetProcessName(), tmpTblVector, and verboseLevel.

Referenced by FindProcesses(), and SetProcessActivation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessTable::G4ProcTableVector * G4ProcessTable::Find ( G4ProcTableVector procTableVector,
G4ProcessType  processType 
)
private

Definition at line 376 of file G4ProcessTable.cc.

References fProcTblVector, G4cout, G4endl, G4ProcTblElement::GetProcess(), G4VProcess::GetProcessType(), tmpTblVector, and verboseLevel.

+ Here is the call graph for this function:

G4VProcess* G4ProcessTable::FindProcess ( const G4String processName,
const G4String particleName 
) const
G4VProcess* G4ProcessTable::FindProcess ( const G4String processName,
const G4ParticleDefinition particle 
) const
G4VProcess * G4ProcessTable::FindProcess ( const G4String processName,
const G4ProcessManager processManager 
) const

Definition at line 315 of file G4ProcessTable.cc.

References G4ProcTblElement::Contains(), fProcTblVector, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcTblElement::GetProcess(), G4ProcTblElement::GetProcessName(), and verboseLevel.

+ Here is the call graph for this function:

G4ProcessVector * G4ProcessTable::FindProcesses ( )

Definition at line 419 of file G4ProcessTable.cc.

References ExtractProcesses(), and fProcTblVector.

Referenced by G4ProcessTableMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessVector * G4ProcessTable::FindProcesses ( const G4ProcessManager processManager)

Definition at line 425 of file G4ProcessTable.cc.

References G4ProcessManager::GetProcessList().

+ Here is the call graph for this function:

G4ProcessVector * G4ProcessTable::FindProcesses ( const G4String processName)

Definition at line 432 of file G4ProcessTable.cc.

References ExtractProcesses(), Find(), and fProcTblVector.

+ Here is the call graph for this function:

G4ProcessVector * G4ProcessTable::FindProcesses ( G4ProcessType  processType)

Definition at line 439 of file G4ProcessTable.cc.

References ExtractProcesses(), Find(), and fProcTblVector.

+ Here is the call graph for this function:

G4ProcNameVector* G4ProcessTable::GetNameList ( )

Referenced by export_G4ProcessTable(), and G4ProcessTableMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4ProcessTable * G4ProcessTable::GetProcessTable ( )
static
G4ProcTableVector* G4ProcessTable::GetProcTableVector ( )
G4int G4ProcessTable::GetVerboseLevel ( ) const

Referenced by export_G4ProcessTable(), and G4ProcessTableMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int G4ProcessTable::Insert ( G4VProcess aProcess,
G4ProcessManager aProcMgr 
)

Definition at line 162 of file G4ProcessTable.cc.

References G4ProcTblElement::Contains(), fProcNameVector, fProcTblVector, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcTblElement::GetProcess(), G4VProcess::GetProcessName(), G4ProcTblElement::Insert(), and verboseLevel.

Referenced by G4ProcessManager::AddProcess(), and G4ProcessManager::G4ProcessManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessTable::Length ( ) const

Referenced by export_G4ProcessTable().

+ Here is the caller graph for this function:

G4int G4ProcessTable::operator!= ( const G4ProcessTable right) const
private

Definition at line 142 of file G4ProcessTable.cc.

G4ProcessTable & G4ProcessTable::operator= ( const G4ProcessTable right)
private

Definition at line 125 of file G4ProcessTable.cc.

References G4cout, G4endl, and verboseLevel.

G4int G4ProcessTable::operator== ( const G4ProcessTable right) const
private

Definition at line 136 of file G4ProcessTable.cc.

G4int G4ProcessTable::Remove ( G4VProcess aProcess,
G4ProcessManager aProcMgr 
)

Definition at line 232 of file G4ProcessTable.cc.

References G4ProcTblElement::Contains(), fProcNameVector, fProcTblVector, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcTblElement::GetProcess(), G4ProcTblElement::GetProcessName(), G4VProcess::GetProcessName(), G4ProcTblElement::Length(), G4ProcTblElement::Remove(), and verboseLevel.

Referenced by G4ProcessManager::RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessTable::SetProcessActivation ( const G4String processName,
G4bool  fActive 
)

Definition at line 446 of file G4ProcessTable.cc.

References Find(), fProcTblVector, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcTblElement::GetProcess(), G4ProcessManager::GetProcessIndex(), G4ProcTblElement::GetProcessManager(), G4ProcTblElement::Length(), G4ProcessManager::SetProcessActivation(), and verboseLevel.

Referenced by G4ProcessTableMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessTable::SetProcessActivation ( const G4String processName,
const G4String particleName,
G4bool  fActive 
)
void G4ProcessTable::SetProcessActivation ( const G4String processName,
G4ParticleDefinition particle,
G4bool  fActive 
)
void G4ProcessTable::SetProcessActivation ( const G4String processName,
G4ProcessManager processManager,
G4bool  fActive 
)

Definition at line 478 of file G4ProcessTable.cc.

References FindProcess(), G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcessManager::GetProcessIndex(), G4ProcessManager::SetProcessActivation(), and verboseLevel.

+ Here is the call graph for this function:

void G4ProcessTable::SetProcessActivation ( G4ProcessType  processType,
G4bool  fActive 
)
void G4ProcessTable::SetProcessActivation ( G4ProcessType  processType,
const G4String particleName,
G4bool  fActive 
)
void G4ProcessTable::SetProcessActivation ( G4ProcessType  processType,
G4ParticleDefinition particle,
G4bool  fActive 
)
void G4ProcessTable::SetProcessActivation ( G4ProcessType  processType,
G4ProcessManager processManager,
G4bool  fActive 
)

Definition at line 540 of file G4ProcessTable.cc.

References G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetParticleType(), G4ProcessManager::GetProcessList(), G4VProcess::GetProcessName(), G4VProcess::GetProcessType(), G4ProcessVector::length(), G4ProcessManager::SetProcessActivation(), and verboseLevel.

+ Here is the call graph for this function:

void G4ProcessTable::SetVerboseLevel ( G4int  value)

Referenced by export_G4ProcessTable(), and G4ProcessTableMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4ProcessTable * G4ProcessTable::fProcessTable =0
staticprivate

Definition at line 174 of file G4ProcessTable.hh.

Referenced by GetProcessTable(), and ~G4ProcessTable().

G4ProcNameVector* G4ProcessTable::fProcNameVector
private

Definition at line 179 of file G4ProcessTable.hh.

Referenced by G4ProcessTable(), Insert(), Remove(), and ~G4ProcessTable().

G4ProcessTableMessenger* G4ProcessTable::fProcTblMessenger
private

Definition at line 175 of file G4ProcessTable.hh.

Referenced by CreateMessenger(), DeleteMessenger(), and G4ProcessTable().

G4ProcTableVector* G4ProcessTable::fProcTblVector
private
G4ProcTableVector* G4ProcessTable::tmpTblVector
private

Definition at line 182 of file G4ProcessTable.hh.

Referenced by Find(), G4ProcessTable(), and ~G4ProcessTable().

G4int G4ProcessTable::verboseLevel
private

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