Geant4  10.03
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 G4EmModelActivator::ActivateMicroElec(), ExExChPhysicsList::AddChanneling(), ExExChIonPhysics::AddProcess(), G4IonPhysics::AddProcess(), G4IonBinaryCascadePhysics::AddProcess(), G4IonINCLXXPhysics::AddProcess(), G4IonPhysicsPHP::AddProcess(), G4IonQMDPhysics::AddProcess(), HadrontherapyPhysicsList::AddStepMax(), XrayFluoPhysicsList::AddStepMax(), F04PhysicsList::AddStepMax(), WLSPhysicsList::AddStepMax(), PhysicsList::AddStepMax(), IORTPhysicsList::AddStepMax(), ExN02PhysicsList::AddStepMax(), ML2PhysicsList::AddStepMax(), DMXPhysicsList::AddTransportation(), ExExChPiKBuilder::Build(), ExExChProtonBuilder::Build(), ExExChAntiBarionBuilder::Build(), G4AlphaBuilder::Build(), G4DeuteronBuilder::Build(), G4He3Builder::Build(), G4TritonBuilder::Build(), G4AntiBarionBuilder::Build(), G4PionBuilder::Build(), G4ProtonBuilder::Build(), G4BertiniElectroNuclearBuilder::Build(), G4PiKBuilder::Build(), G4KaonBuilder::Build(), G4NeutronBuilder::Build(), ExExChHyperonFTFPBuilder::Build(), G4HyperonFTFPBuilder::Build(), PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), OpNovicePhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), B03PhysicsList::ConstructHad(), DMXPhysicsList::ConstructHad(), PhysicsList::ConstructHighEnergy(), OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), XPhysicsList::ConstructProcess(), ExUCNExtraPhysics::ConstructProcess(), GammaPhysics::ConstructProcess(), GammaNuclearPhysics::ConstructProcess(), StepMaxBuilder::ConstructProcess(), G4EmDNAPhysicsActivator::ConstructProcess(), WLSExtraPhysics::ConstructProcess(), ExGflashPhysics::ConstructProcess(), NeutronHPphysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), G4EmLEPTSPhysics::ConstructProcess(), ExExChHadronElasticPhysics::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), StepLimiterBuilder::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), MuNuclearBuilder::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), TransitionRadiationPhysics::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), CexmcStudiedPhysics< Process >::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), ExExChHadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_AllHP::ConstructProcess(), G4HadronPhysicsFTFP_BERT_ATL::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), ExUCNExtraPhysics::ConstructUCN(), export_G4ProcessManager(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4VHadronPhysics::FindInelasticProcess(), G4EmModelActivator::FindOrAddProcess(), 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 G4FastSimulationHelper::ActivateFastSimulation(), G4BiasingHelper::ActivateNonPhysicsBiasing(), G4BiasingHelper::ActivatePhysicsBiasing(), XrayFluoPhysicsList::AddDecay(), G4BiasingHelper::AddLimiterProcess(), Par02PhysicsList::AddParameterisation(), G4ProcessPlacer::AddProcessAs(), B03PhysicsList::AddScoringProcess(), G4PhysicsListHelper::AddTransportation(), DMXPhysicsList::AddTransportation(), OpNovicePhysicsList::ConstructDecay(), eRositaPhysicsList::ConstructEM(), PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), OpNovicePhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExN02PhysicsList::ConstructGeneral(), DMXPhysicsList::ConstructGeneral(), Par02PhysicsList::ConstructGeneral(), XrayTelPhysicsList::ConstructGeneral(), G4AdjointPhysicsList::ConstructGeneral(), OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), PhysListEmStandard::ConstructProcess(), LXeGeneralPhysics::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), LXeMuonPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), G4SpinDecayPhysics::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 
)
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 G4BiasingHelper::AddLimiterProcess(), G4ProcessTable::DumpInfo(), export_G4ProcessManager(), G4ProcessTable::FindProcess(), G4ProcessTable::Insert(), G4ProcessTable::Remove(), G4ProcessTable::SetProcessActivation(), and G4ParallelGeometriesLimiterProcess::SetProcessManager().

+ 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().

+ 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(), G4BiasingHelper::AddLimiterProcess(), G4ProcessPlacer::AddProcessAs(), RunAction::BeginOfRunAction(), G4hImpactIonisation::BuildPhysicsTable(), G4VUserChemistryList::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4LossTableManager::BuildTables(), G4PhysicsListHelper::CheckParticleList(), G4NeutronCrossSectionXS::ConstructProcess(), P6DExtDecayerPhysics::ConstructProcess(), G4FastSimulationPhysics::ConstructProcess(), ExExChHadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_AllHP::ConstructProcess(), G4HadronPhysicsFTFP_BERT_ATL::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4TheRayTracer::CreateBitMap(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4PhysListUtil::FindInelasticProcess(), G4VHadronPhysics::FindInelasticProcess(), G4EmModelActivator::FindOrAddProcess(), G4EmCalculator::FindProcess(), G4ProcessTable::FindProcesses(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4EmDNAPhysicsActivator::HasMsc(), G4EmModelActivator::HasMsc(), G4VUserPhysicsList::PreparePhysicsTable(), G4StackManager::PushOneTrack(), G4PhysicsListHelper::RegisterProcess(), G4ProcessManagerMessenger::SetCurrentParticle(), G4EmConfigurator::SetModelForRegion(), G4ProcessTable::SetProcessActivation(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4RunManagerKernel::SetupShadowProcess(), G4GlobalFastSimulationManager::ShowSetup(), and LXeSteppingAction::UserSteppingAction().

G4int G4ProcessManager::GetProcessListLength ( ) const

Referenced by export_G4ProcessManager(), G4EmModelActivator::FindOrAddProcess(), G4EmDNAPhysicsActivator::HasMsc(), G4EmModelActivator::HasMsc(), 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(), NeutronHPphysics::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), G4SpinDecayPhysics::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 G4FastSimulationHelper::ActivateFastSimulation(), XrayFluoPhysicsList::AddDecay(), B03PhysicsList::AddScoringProcess(), OpNovicePhysicsList::ConstructDecay(), G4AdjointPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExN02PhysicsList::ConstructGeneral(), DMXPhysicsList::ConstructGeneral(), Par02PhysicsList::ConstructGeneral(), XrayTelPhysicsList::ConstructGeneral(), G4AdjointPhysicsList::ConstructGeneral(), OpNovicePhysicsList::ConstructOp(), LXeGeneralPhysics::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), G4SpinDecayPhysics::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 
)

Definition at line 688 of file G4ProcessManager.cc.

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

Referenced by G4PhysicsListHelper::AddTransportation(), G4AdjointPhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructProcess(), export_G4ProcessManager(), and G4PhysicsListHelper::RegisterProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 G4BiasingHelper::AddLimiterProcess(), OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), 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 
)
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: