Geant4  10.00.p03
G4ProcessManager Class Reference

#include <G4ProcessManager.hh>

+ Collaboration diagram for G4ProcessManager:

Public Types

enum  { SizeOfProcVectorArray = 6 }
 

Public Member Functions

 G4ProcessManager (G4ProcessManager &right)
 
 G4ProcessManager (const G4ParticleDefinition *aParticleType)
 
 ~G4ProcessManager ()
 
G4int operator== (const G4ProcessManager &right) const
 
G4int operator!= (const G4ProcessManager &right) const
 
G4ProcessVectorGetProcessList () const
 
G4int GetProcessListLength () const
 
G4int GetProcessIndex (G4VProcess *) const
 
G4ProcessVectorGetProcessVector (G4ProcessVectorDoItIndex idx, G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4ProcessVectorGetAtRestProcessVector (G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4ProcessVectorGetAlongStepProcessVector (G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4ProcessVectorGetPostStepProcessVector (G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4int GetProcessVectorIndex (G4VProcess *aProcess, G4ProcessVectorDoItIndex idx, G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4int GetAtRestIndex (G4VProcess *aProcess, G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4int GetAlongStepIndex (G4VProcess *aProcess, G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4int GetPostStepIndex (G4VProcess *aProcess, G4ProcessVectorTypeIndex typ=typeGPIL) const
 
G4int AddProcess (G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
 
G4int AddRestProcess (G4VProcess *aProcess, G4int ord=ordDefault)
 
G4int AddDiscreteProcess (G4VProcess *aProcess, G4int ord=ordDefault)
 
G4int AddContinuousProcess (G4VProcess *aProcess, G4int ord=ordDefault)
 
G4int GetProcessOrdering (G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt)
 
void SetProcessOrdering (G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt, G4int ordDoIt=ordDefault)
 
void SetProcessOrderingToFirst (G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt)
 
void SetProcessOrderingToSecond (G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt)
 
void SetProcessOrderingToLast (G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt)
 
G4VProcessRemoveProcess (G4VProcess *aProcess)
 
G4VProcessRemoveProcess (G4int index)
 
G4VProcessSetProcessActivation (G4VProcess *aProcess, G4bool fActive)
 
G4VProcessSetProcessActivation (G4int index, G4bool fActive)
 
G4bool GetProcessActivation (G4VProcess *aProcess) const
 
G4bool GetProcessActivation (G4int index) const
 
G4ParticleDefinitionGetParticleType () const
 
void SetParticleType (const G4ParticleDefinition *)
 
void StartTracking (G4Track *aTrack=0)
 
void EndTracking ()
 
void DumpInfo ()
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Protected Member Functions

G4int InsertAt (G4int position, G4VProcess *process, G4int ivec)
 
G4int RemoveAt (G4int position, G4VProcess *process, G4int ivec)
 
G4int FindInsertPosition (G4int ord, G4int ivec)
 
G4int GetProcessVectorId (G4ProcessVectorDoItIndex idx, G4ProcessVectorTypeIndex typ=typeGPIL) const
 
void CheckOrderingParameters (G4VProcess *) const
 

Protected Attributes

G4int verboseLevel
 

Private Types

typedef std::vector
< G4ProcessAttribute * > 
G4ProcessAttrVector
 

Private Member Functions

G4ProcessManageroperator= (const G4ProcessManager &right)
 
 G4ProcessManager ()
 
G4ProcessAttributeGetAttribute (G4int index) const
 
G4ProcessAttributeGetAttribute (G4VProcess *aProcess) const
 
G4VProcessActivateProcess (G4int index)
 
G4VProcessInActivateProcess (G4int index)
 
void CreateGPILvectors ()
 
void SetIndexToProcessVector (G4int ivec)
 

Private Attributes

G4ProcessVectortheProcVector [SizeOfProcVectorArray]
 
G4ProcessAttrVectortheAttrVector
 
const G4ParticleDefinitiontheParticleType
 
G4int numberOfProcesses
 
G4ProcessVectortheProcessList
 
G4bool duringTracking
 
G4bool isSetOrderingFirstInvoked [NDoit]
 
G4bool isSetOrderingLastInvoked [NDoit]
 

Static Private Attributes

static G4ThreadLocal
G4ProcessManagerMessenger
fProcessManagerMessenger = 0
 
static G4ThreadLocal G4int counterOfObjects = 0
 

Detailed Description

Definition at line 106 of file G4ProcessManager.hh.

Member Typedef Documentation

Definition at line 302 of file G4ProcessManager.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
SizeOfProcVectorArray 

Definition at line 297 of file G4ProcessManager.hh.

Constructor & Destructor Documentation

G4ProcessManager::G4ProcessManager ( G4ProcessManager right)

Definition at line 100 of file G4ProcessManager.cc.

References counterOfObjects, G4ProcessVector::entries(), FatalException, G4cout, G4endl, G4Exception(), G4ProcessTable::GetProcessTable(), GetVerboseLevel(), G4ProcessVector::insert(), G4ProcessTable::Insert(), isSetOrderingFirstInvoked, isSetOrderingLastInvoked, NDoit, numberOfProcesses, SizeOfProcVectorArray, theAttrVector, theProcessList, and theProcVector.

+ Here is the call graph for this function:

G4ProcessManager::G4ProcessManager ( )
private

Definition at line 163 of file G4ProcessManager.cc.

References G4Exception(), isSetOrderingFirstInvoked, isSetOrderingLastInvoked, JustWarning, NDoit, SizeOfProcVectorArray, theAttrVector, theProcessList, and theProcVector.

+ Here is the call graph for this function:

G4ProcessManager::G4ProcessManager ( const G4ParticleDefinition aParticleType)

Definition at line 60 of file G4ProcessManager.cc.

References counterOfObjects, FatalException, fProcessManagerMessenger, G4Exception(), isSetOrderingFirstInvoked, isSetOrderingLastInvoked, NDoit, SizeOfProcVectorArray, theAttrVector, theProcessList, and theProcVector.

+ Here is the call graph for this function:

G4ProcessManager::~G4ProcessManager ( )

Definition at line 201 of file G4ProcessManager.cc.

References G4ProcessVector::clear(), counterOfObjects, fProcessManagerMessenger, G4cout, G4endl, GetVerboseLevel(), SizeOfProcVectorArray, theAttrVector, theProcessList, and theProcVector.

+ Here is the call graph for this function:

Member Function Documentation

G4VProcess * G4ProcessManager::ActivateProcess ( G4int  index)
private

Definition at line 933 of file G4ProcessManager.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4State_Init, G4State_PreInit, GetAttribute(), G4StateManager::GetCurrentState(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), G4StateManager::GetStateManager(), GetVerboseLevel(), G4ProcessAttribute::idxProcVector, G4ProcessAttribute::isActive, SizeOfProcVectorArray, theParticleType, and theProcVector.

Referenced by RemoveProcess(), and SetProcessActivation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessManager::AddContinuousProcess ( G4VProcess aProcess,
G4int  ord = ordDefault 
)

Referenced by G4ErrorPhysicsList::ConstructEM(), and export_G4ProcessManager().

+ Here is the caller graph for this function:

G4int G4ProcessManager::AddDiscreteProcess ( G4VProcess aProcess,
G4int  ord = ordDefault 
)

Referenced by ExGflashPhysicsList::AddParameterisation(), G4IonPhysics::AddProcess(), G4IonBinaryCascadePhysics::AddProcess(), G4IonINCLXXPhysics::AddProcess(), G4IonQMDPhysics::AddProcess(), IonDPMJETPhysics::AddProcess(), XrayFluoPhysicsList::AddStepMax(), F04PhysicsList::AddStepMax(), WLSPhysicsList::AddStepMax(), HadrontherapyPhysicsList::AddStepMax(), PhysicsList::AddStepMax(), IORTPhysicsList::AddStepMax(), ExN02PhysicsList::AddStepMax(), ML2PhysicsList::AddStepMax(), DMXPhysicsList::AddTransportation(), G4AntiBarionBuilder::Build(), G4PionBuilder::Build(), G4ProtonBuilder::Build(), G4BertiniElectroNuclearBuilder::Build(), G4PiKBuilder::Build(), G4NeutronBuilder::Build(), G4KaonBuilder::Build(), G4HyperonFTFPBuilder::Build(), G4EmExtraPhysics::BuildMuonNuclear(), G4EmExtraPhysics::BuildSynch(), P6DPhysicsList::ConstructEM(), OpNovicePhysicsList::ConstructEM(), RE06PhysicsList::ConstructEM(), DicomPhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExP02PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), ExP01PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), F01PhysicsList::ConstructEM(), F02PhysicsList::ConstructEM(), F03PhysicsList::ConstructEM(), Em10PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), UltraPhysicsList::ConstructGeneral(), B03PhysicsList::ConstructHad(), DMXPhysicsList::ConstructHad(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), XPhysicsList::ConstructProcess(), F04ExtraPhysics::ConstructProcess(), F04OpticalPhysics::ConstructProcess(), F05ExtraPhysics::ConstructProcess(), F06ExtraPhysics::ConstructProcess(), GammaPhysics::ConstructProcess(), WLSExtraPhysics::ConstructProcess(), NeutronHPphysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), MuNuclearBuilder::ConstructProcess(), StepLimiterBuilder::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), exrdmPhysListHadron::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), CexmcStudiedPhysics< Process >::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), export_G4ProcessManager(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4VHadronPhysics::FindInelasticProcess(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), and G4RunManagerKernel::SetScoreSplitter().

G4int G4ProcessManager::AddProcess ( G4VProcess aProcess,
G4int  ordAtRestDoIt = ordInActive,
G4int  ordAlongSteptDoIt = ordInActive,
G4int  ordPostStepDoIt = ordInActive 
)

Definition at line 410 of file G4ProcessManager.cc.

References CheckOrderingParameters(), CreateGPILvectors(), G4ProcessVector::entries(), FatalException, FindInsertPosition(), G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), G4ProcessTable::GetProcessTable(), GetVerboseLevel(), G4ProcessAttribute::idxProcessList, G4ProcessAttribute::idxProcVector, G4ProcessVector::insert(), G4ProcessTable::Insert(), InsertAt(), G4VProcess::IsApplicable(), numberOfProcesses, G4ProcessAttribute::ordProcVector, G4ProcessVector::removeLast(), G4VProcess::SetProcessManager(), SizeOfProcVectorArray, theAttrVector, theParticleType, theProcessList, and verboseLevel.

Referenced by G4BiasingHelper::ActivateNonPhysicsBiasing(), G4BiasingHelper::ActivatePhysicsBiasing(), F06ExtraPhysics::AddBetaDecay(), XrayFluoPhysicsList::AddDecay(), Par01PhysicsList::AddParameterisation(), G4ProcessPlacer::AddProcessAs(), B03PhysicsList::AddScoringProcess(), G4PhysicsListHelper::AddTransportation(), DMXPhysicsList::AddTransportation(), P6DPhysicsList::ConstructDecay(), OpNovicePhysicsList::ConstructDecay(), P6DPhysicsList::ConstructEM(), OpNovicePhysicsList::ConstructEM(), eRositaPhysicsList::ConstructEM(), RE06PhysicsList::ConstructEM(), DicomPhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExP02PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), ExP01PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), F01PhysicsList::ConstructEM(), F02PhysicsList::ConstructEM(), F03PhysicsList::ConstructEM(), Em10PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), RE06PhysicsList::ConstructGeneral(), Par01PhysicsList::ConstructGeneral(), ExGflashPhysicsList::ConstructGeneral(), ExP02PhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExN02PhysicsList::ConstructGeneral(), ExP01PhysicsList::ConstructGeneral(), F01PhysicsList::ConstructGeneral(), F02PhysicsList::ConstructGeneral(), F03PhysicsList::ConstructGeneral(), Em10PhysicsList::ConstructGeneral(), DMXPhysicsList::ConstructGeneral(), XrayTelPhysicsList::ConstructGeneral(), G4AdjointPhysicsList::ConstructGeneral(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), F05PhysicsList::ConstructProcess(), RE01UnknownDecayPhysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), LXeGeneralPhysics::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), LXeMuonPhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), F04PhysicsList::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), WLSPhysicsList::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), export_G4ProcessManager(), and G4PhysicsListHelper::RegisterProcess().

+ Here is the call graph for this function:

G4int G4ProcessManager::AddRestProcess ( G4VProcess aProcess,
G4int  ord = ordDefault 
)

Referenced by DMXPhysicsList::ConstructHad(), LXeMuonPhysics::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), and export_G4ProcessManager().

+ Here is the caller graph for this function:

void G4ProcessManager::CheckOrderingParameters ( G4VProcess aProcess) const
protected

Definition at line 1149 of file G4ProcessManager.cc.

References FatalException, G4cerr, G4cout, G4endl, G4Exception(), GetAttribute(), G4VProcess::GetProcessName(), GetVerboseLevel(), G4VProcess::isAlongStepDoItIsEnabled(), G4VProcess::isAtRestDoItIsEnabled(), G4VProcess::isPostStepDoItIsEnabled(), and G4ProcessAttribute::ordProcVector.

Referenced by AddProcess(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::CreateGPILvectors ( )
private

Definition at line 1058 of file G4ProcessManager.cc.

References G4ProcessVector::clear(), G4ProcessVector::entries(), GetAttribute(), G4ProcessAttribute::idxProcVector, G4ProcessVector::insert(), SizeOfProcVectorArray, theProcessList, and theProcVector.

Referenced by AddProcess(), RemoveProcess(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::DumpInfo ( )

Definition at line 1007 of file G4ProcessManager.cc.

References G4ProcessVector::entries(), G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessTypeName(), G4ProcessAttribute::idxProcVector, G4ProcessAttribute::ordProcVector, theParticleType, theProcessList, and verboseLevel.

Referenced by G4ProcessTable::DumpInfo(), export_G4ProcessManager(), and G4ProcessManagerMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::EndTracking ( )

Definition at line 1098 of file G4ProcessManager.cc.

References duringTracking, G4ProcessVector::entries(), GetAttribute(), G4ProcessAttribute::isActive, and theProcessList.

Referenced by G4TrackingManager::ProcessOneTrack(), and G4ErrorPropagator::Propagate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessManager::FindInsertPosition ( G4int  ord,
G4int  ivec 
)
protected

Definition at line 391 of file G4ProcessManager.cc.

References G4ProcessVector::entries(), G4ProcessAttribute::idxProcVector, INT_MAX, numberOfProcesses, ordLast, G4ProcessAttribute::ordProcVector, and theProcVector.

Referenced by AddProcess(), and SetProcessOrdering().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessManager::GetAlongStepIndex ( G4VProcess aProcess,
G4ProcessVectorTypeIndex  typ = typeGPIL 
) const

Referenced by export_G4ProcessManager(), and G4StackManager::PushOneTrack().

+ Here is the caller graph for this function:

G4ProcessVector* G4ProcessManager::GetAlongStepProcessVector ( G4ProcessVectorTypeIndex  typ = typeGPIL) const
G4int G4ProcessManager::GetAtRestIndex ( G4VProcess aProcess,
G4ProcessVectorTypeIndex  typ = typeGPIL 
) const

Referenced by export_G4ProcessManager(), and G4StackManager::PushOneTrack().

+ Here is the caller graph for this function:

G4ProcessAttribute * G4ProcessManager::GetAttribute ( G4int  index) const
private

Definition at line 270 of file G4ProcessManager.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetParticleName(), GetVerboseLevel(), numberOfProcesses, theAttrVector, and theParticleType.

Referenced by ActivateProcess(), CheckOrderingParameters(), CreateGPILvectors(), EndTracking(), GetAttribute(), GetProcessOrdering(), GetProcessVectorIndex(), InActivateProcess(), RemoveProcess(), SetProcessOrdering(), SetProcessOrderingToFirst(), SetProcessOrderingToSecond(), and StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessAttribute * G4ProcessManager::GetAttribute ( G4VProcess aProcess) const
private

Definition at line 326 of file G4ProcessManager.cc.

References GetAttribute(), and GetProcessIndex().

+ Here is the call graph for this function:

G4ParticleDefinition* G4ProcessManager::GetParticleType ( ) const

Referenced by G4ProcessTable::DumpInfo(), export_G4ProcessManager(), G4ProcessTable::FindProcess(), G4ProcessTable::Insert(), G4ProcessTable::Remove(), and G4ProcessTable::SetProcessActivation().

+ Here is the caller graph for this function:

G4int G4ProcessManager::GetPostStepIndex ( G4VProcess aProcess,
G4ProcessVectorTypeIndex  typ = typeGPIL 
) const

Referenced by export_G4ProcessManager(), and G4StackManager::PushOneTrack().

+ Here is the caller graph for this function:

G4bool G4ProcessManager::GetProcessActivation ( G4VProcess aProcess) const

Definition at line 1124 of file G4ProcessManager.cc.

References GetProcessIndex().

Referenced by G4EmCalculator::ActiveForParticle(), and G4EmManager::BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4ProcessManager::GetProcessActivation ( G4int  index) const

Definition at line 1131 of file G4ProcessManager.cc.

References G4cout, and GetVerboseLevel().

+ Here is the call graph for this function:

G4int G4ProcessManager::GetProcessIndex ( G4VProcess ) const

Referenced by export_G4ProcessManager(), GetAttribute(), GetProcessActivation(), GetProcessVectorIndex(), RemoveProcess(), G4ProcessTable::SetProcessActivation(), and SetProcessActivation().

+ Here is the caller graph for this function:

G4ProcessVector* G4ProcessManager::GetProcessList ( ) const

Referenced by G4BiasingHelper::ActivatePhysicsBiasing(), G4EmCalculator::ActiveForParticle(), G4ITStepProcessor::ActiveOnlyITProcess(), G4ProcessPlacer::AddProcessAs(), RunAction::BeginOfRunAction(), G4hImpactIonisation::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4LossTableManager::BuildTables(), G4PhysicsListHelper::CheckParticleList(), G4NeutronCrossSectionXS::ConstructProcess(), P6DExtDecayerPhysics::ConstructProcess(), G4EmUserPhysics::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), G4TheRayTracer::CreateBitMap(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4PhysListUtil::FindInelasticProcess(), G4VHadronPhysics::FindInelasticProcess(), G4ProcessTable::FindProcesses(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4VUserPhysicsList::PreparePhysicsTable(), G4StackManager::PushOneTrack(), G4PhysicsListHelper::RegisterProcess(), G4ProcessManagerMessenger::SetCurrentParticle(), G4EmConfigurator::SetModelForRegion(), G4ProcessTable::SetProcessActivation(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4RunManagerKernel::SetupShadowProcess(), G4GlobalFastSimulationManager::ShowSetup(), and LXeSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4int G4ProcessManager::GetProcessListLength ( ) const

Referenced by export_G4ProcessManager(), G4EmConfigurator::SetModelForRegion(), and LXeSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4int G4ProcessManager::GetProcessOrdering ( G4VProcess aProcess,
G4ProcessVectorDoItIndex  idDoIt 
)

Definition at line 588 of file G4ProcessManager.cc.

References GetAttribute(), GetProcessVectorId(), G4ProcessAttribute::ordProcVector, and typeDoIt.

Referenced by G4BiasingHelper::ActivatePhysicsBiasing(), and export_G4ProcessManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ProcessVector* G4ProcessManager::GetProcessVector ( G4ProcessVectorDoItIndex  idx,
G4ProcessVectorTypeIndex  typ = typeGPIL 
) const
G4int G4ProcessManager::GetProcessVectorId ( G4ProcessVectorDoItIndex  idx,
G4ProcessVectorTypeIndex  typ = typeGPIL 
) const
protected

Referenced by GetProcessOrdering(), GetProcessVectorIndex(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().

+ Here is the caller graph for this function:

G4int G4ProcessManager::GetProcessVectorIndex ( G4VProcess aProcess,
G4ProcessVectorDoItIndex  idx,
G4ProcessVectorTypeIndex  typ = typeGPIL 
) const

Definition at line 236 of file G4ProcessManager.cc.

References G4cout, G4endl, GetAttribute(), G4ParticleDefinition::GetParticleName(), GetProcessIndex(), G4VProcess::GetProcessName(), GetProcessVectorId(), G4ProcessAttribute::idxProcVector, theParticleType, and verboseLevel.

Referenced by export_G4ProcessManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessManager::GetVerboseLevel ( ) const
G4VProcess * G4ProcessManager::InActivateProcess ( G4int  index)
private

Definition at line 868 of file G4ProcessManager.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4State_Init, G4State_PreInit, GetAttribute(), G4StateManager::GetCurrentState(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), G4StateManager::GetStateManager(), GetVerboseLevel(), G4ProcessAttribute::idxProcVector, G4ProcessAttribute::isActive, SizeOfProcVectorArray, theParticleType, and theProcVector.

Referenced by SetProcessActivation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessManager::InsertAt ( G4int  position,
G4VProcess process,
G4int  ivec 
)
protected

Definition at line 332 of file G4ProcessManager.cc.

References G4ProcessVector::entries(), G4cout, G4endl, GetVerboseLevel(), G4ProcessAttribute::idxProcVector, G4ProcessVector::insertAt(), numberOfProcesses, and theProcVector.

Referenced by AddProcess(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ProcessManager::operator!= ( const G4ProcessManager right) const

Definition at line 1001 of file G4ProcessManager.cc.

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

Definition at line 188 of file G4ProcessManager.cc.

References G4Exception(), JustWarning, theAttrVector, and theProcessList.

+ Here is the call graph for this function:

G4int G4ProcessManager::operator== ( const G4ProcessManager right) const

Definition at line 995 of file G4ProcessManager.cc.

G4int G4ProcessManager::RemoveAt ( G4int  position,
G4VProcess process,
G4int  ivec 
)
protected

Definition at line 360 of file G4ProcessManager.cc.

References G4ProcessVector::entries(), G4cout, G4endl, GetVerboseLevel(), G4ProcessAttribute::idxProcVector, numberOfProcesses, ordInActive, G4ProcessAttribute::ordProcVector, G4ProcessVector::removeAt(), and theProcVector.

Referenced by RemoveProcess(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VProcess * G4ProcessManager::RemoveProcess ( G4VProcess aProcess)

Definition at line 582 of file G4ProcessManager.cc.

References GetProcessIndex().

Referenced by G4BiasingHelper::ActivatePhysicsBiasing(), F05PhysicsList::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), F04PhysicsList::ConstructProcess(), WLSPhysicsList::ConstructProcess(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), and G4ProcessPlacer::RemoveProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::SetIndexToProcessVector ( G4int  ivec)
private
void G4ProcessManager::SetParticleType ( const G4ParticleDefinition )

Referenced by export_G4ProcessManager().

+ Here is the caller graph for this function:

G4VProcess * G4ProcessManager::SetProcessActivation ( G4VProcess aProcess,
G4bool  fActive 
)

Definition at line 1109 of file G4ProcessManager.cc.

References GetProcessIndex().

Referenced by G4ITStepProcessor::ActiveOnlyITProcess(), G4ProcessManagerMessenger::SetNewValue(), and G4ProcessTable::SetProcessActivation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VProcess * G4ProcessManager::SetProcessActivation ( G4int  index,
G4bool  fActive 
)

Definition at line 1117 of file G4ProcessManager.cc.

References ActivateProcess(), and InActivateProcess().

+ Here is the call graph for this function:

void G4ProcessManager::SetProcessOrdering ( G4VProcess aProcess,
G4ProcessVectorDoItIndex  idDoIt,
G4int  ordDoIt = ordDefault 
)

Definition at line 607 of file G4ProcessManager.cc.

References CheckOrderingParameters(), CreateGPILvectors(), FindInsertPosition(), G4cout, G4endl, GetAttribute(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), GetProcessVectorId(), GetVerboseLevel(), G4ProcessAttribute::idxProcVector, InsertAt(), ordLast, G4ProcessAttribute::ordProcVector, RemoveAt(), theParticleType, typeDoIt, and verboseLevel.

Referenced by F06ExtraPhysics::AddBetaDecay(), XrayFluoPhysicsList::AddDecay(), Par01PhysicsList::AddParameterisation(), B03PhysicsList::AddScoringProcess(), P6DPhysicsList::ConstructDecay(), OpNovicePhysicsList::ConstructDecay(), RE06PhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), RE06PhysicsList::ConstructGeneral(), Par01PhysicsList::ConstructGeneral(), ExP02PhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExGflashPhysicsList::ConstructGeneral(), ExN02PhysicsList::ConstructGeneral(), ExP01PhysicsList::ConstructGeneral(), F01PhysicsList::ConstructGeneral(), F02PhysicsList::ConstructGeneral(), F03PhysicsList::ConstructGeneral(), Em10PhysicsList::ConstructGeneral(), DMXPhysicsList::ConstructGeneral(), XrayTelPhysicsList::ConstructGeneral(), G4AdjointPhysicsList::ConstructGeneral(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), F05PhysicsList::ConstructProcess(), RE01UnknownDecayPhysics::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), LXeGeneralPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), F04PhysicsList::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), WLSPhysicsList::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), export_G4ProcessManager(), G4PhysicsListHelper::RegisterProcess(), and SetProcessOrderingToLast().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::SetProcessOrderingToFirst ( G4VProcess aProcess,
G4ProcessVectorDoItIndex  idDoIt 
)
void G4ProcessManager::SetProcessOrderingToLast ( G4VProcess aProcess,
G4ProcessVectorDoItIndex  idDoIt 
)

Definition at line 849 of file G4ProcessManager.cc.

References G4Exception(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), isSetOrderingLastInvoked, JustWarning, ordLast, SetProcessOrdering(), and theParticleType.

Referenced by B03PhysicsList::AddScoringProcess(), RE06PhysicsList::ConstructGeneral(), OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), export_G4ProcessManager(), and G4PhysicsListHelper::RegisterProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::SetProcessOrderingToSecond ( G4VProcess aProcess,
G4ProcessVectorDoItIndex  idDoIt 
)

Definition at line 758 of file G4ProcessManager.cc.

References CheckOrderingParameters(), CreateGPILvectors(), G4ProcessVector::entries(), G4cout, G4endl, GetAttribute(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), GetProcessVectorId(), GetVerboseLevel(), G4ProcessAttribute::idxProcVector, InsertAt(), INT_MAX, numberOfProcesses, G4ProcessAttribute::ordProcVector, RemoveAt(), theParticleType, theProcVector, typeDoIt, and verboseLevel.

Referenced by G4ProcessPlacer::AddProcessAs(), G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ProcessManager::SetVerboseLevel ( G4int  value)

Referenced by DMXPhysicsList::ConstructGeneral(), G4ProcessTable::DumpInfo(), export_G4ProcessManager(), and G4ProcessManagerMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4ProcessManager::StartTracking ( G4Track aTrack = 0)

Definition at line 1088 of file G4ProcessManager.cc.

References duringTracking, G4ProcessVector::entries(), GetAttribute(), G4ProcessAttribute::isActive, and theProcessList.

Referenced by G4ErrorPropagator::InitG4Track(), G4TrackingManager::ProcessOneTrack(), and G4ITTrackingManager::StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4int G4ProcessManager::counterOfObjects = 0
staticprivate

Definition at line 364 of file G4ProcessManager.hh.

Referenced by G4ProcessManager(), and ~G4ProcessManager().

G4bool G4ProcessManager::duringTracking
private

Definition at line 342 of file G4ProcessManager.hh.

Referenced by EndTracking(), and StartTracking().

G4ThreadLocal G4ProcessManagerMessenger * G4ProcessManager::fProcessManagerMessenger = 0
staticprivate

Definition at line 363 of file G4ProcessManager.hh.

Referenced by G4ProcessManager(), and ~G4ProcessManager().

G4bool G4ProcessManager::isSetOrderingFirstInvoked[NDoit]
private

Definition at line 346 of file G4ProcessManager.hh.

Referenced by G4ProcessManager(), and SetProcessOrderingToFirst().

G4bool G4ProcessManager::isSetOrderingLastInvoked[NDoit]
private

Definition at line 347 of file G4ProcessManager.hh.

Referenced by G4ProcessManager(), and SetProcessOrderingToLast().

G4int G4ProcessManager::numberOfProcesses
private
G4ProcessAttrVector* G4ProcessManager::theAttrVector
private
G4int G4ProcessManager::verboseLevel
protected

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