Geant4
10.01.p02
|
#include <G4ProcessManager.hh>
Public Types | |
enum | { SizeOfProcVectorArray = 6 } |
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 | |
G4ProcessManager & | operator= (const G4ProcessManager &right) |
G4ProcessManager () | |
G4ProcessAttribute * | GetAttribute (G4int index) const |
G4ProcessAttribute * | GetAttribute (G4VProcess *aProcess) const |
G4VProcess * | ActivateProcess (G4int index) |
G4VProcess * | InActivateProcess (G4int index) |
void | CreateGPILvectors () |
void | SetIndexToProcessVector (G4int ivec) |
Static Private Attributes | |
static G4ThreadLocal G4ProcessManagerMessenger * | fProcessManagerMessenger = 0 |
static G4ThreadLocal G4int | counterOfObjects = 0 |
Definition at line 106 of file G4ProcessManager.hh.
|
private |
Definition at line 302 of file G4ProcessManager.hh.
anonymous enum |
Enumerator | |
---|---|
SizeOfProcVectorArray |
Definition at line 297 of file G4ProcessManager.hh.
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.
|
private |
Definition at line 163 of file G4ProcessManager.cc.
References G4Exception(), isSetOrderingFirstInvoked, isSetOrderingLastInvoked, JustWarning, NDoit, SizeOfProcVectorArray, theAttrVector, theProcessList, and theProcVector.
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.
G4ProcessManager::~G4ProcessManager | ( | ) |
Definition at line 201 of file G4ProcessManager.cc.
References G4ProcessVector::clear(), counterOfObjects, fProcessManagerMessenger, G4cout, G4endl, GetVerboseLevel(), SizeOfProcVectorArray, theAttrVector, theProcessList, and theProcVector.
|
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().
G4int G4ProcessManager::AddContinuousProcess | ( | G4VProcess * | aProcess, |
G4int | ord = ordDefault |
||
) |
Referenced by G4ErrorPhysicsList::ConstructEM(), and export_G4ProcessManager().
G4int G4ProcessManager::AddDiscreteProcess | ( | G4VProcess * | aProcess, |
G4int | ord = ordDefault |
||
) |
Referenced by ExExChPhysicsList::AddChanneling(), ExGflashPhysicsList::AddParameterisation(), ExExChIonPhysics::AddProcess(), G4IonPhysics::AddProcess(), G4IonBinaryCascadePhysics::AddProcess(), G4IonINCLXXPhysics::AddProcess(), G4IonQMDPhysics::AddProcess(), IonDPMJETPhysics::AddProcess(), HadrontherapyPhysicsList::AddStepMax(), XrayFluoPhysicsList::AddStepMax(), F04PhysicsList::AddStepMax(), WLSPhysicsList::AddStepMax(), PhysicsList::AddStepMax(), ExN02PhysicsList::AddStepMax(), IORTPhysicsList::AddStepMax(), ML2PhysicsList::AddStepMax(), DMXPhysicsList::AddTransportation(), ExExChPiKBuilder::Build(), ExExChAntiBarionBuilder::Build(), ExExChProtonBuilder::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(), OpNovicePhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), F01PhysicsList::ConstructEM(), F02PhysicsList::ConstructEM(), F03PhysicsList::ConstructEM(), Em10PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), UltraPhysicsList::ConstructGeneral(), B03PhysicsList::ConstructHad(), DMXPhysicsList::ConstructHad(), PhysicsList::ConstructHighEnergy(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), XPhysicsList::ConstructProcess(), F04ExtraPhysics::ConstructProcess(), F04OpticalPhysics::ConstructProcess(), ExExChPhysListEmStandardSS::ConstructProcess(), ExUCNExtraPhysics::ConstructProcess(), WLSExtraPhysics::ConstructProcess(), F05ExtraPhysics::ConstructProcess(), F06ExtraPhysics::ConstructProcess(), GammaPhysics::ConstructProcess(), ExExChHadronElasticPhysics::ConstructProcess(), NeutronHPphysics::ConstructProcess(), G4EmLEPTSPhysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), StepLimiterBuilder::ConstructProcess(), MuNuclearBuilder::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), exrdmPhysListHadron::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), ExExChHadronPhysicsQGSP_BIC::ConstructProcess(), CexmcStudiedPhysics< Process >::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC_AllHP::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), ExUCNExtraPhysics::ConstructUCN(), 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(), ExUCNExtraPhysics::AddBetaDecay(), F06ExtraPhysics::AddBetaDecay(), XrayFluoPhysicsList::AddDecay(), Par01PhysicsList::AddParameterisation(), G4ProcessPlacer::AddProcessAs(), B03PhysicsList::AddScoringProcess(), G4PhysicsListHelper::AddTransportation(), DMXPhysicsList::AddTransportation(), OpNovicePhysicsList::ConstructDecay(), OpNovicePhysicsList::ConstructEM(), eRositaPhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), F01PhysicsList::ConstructEM(), F02PhysicsList::ConstructEM(), F03PhysicsList::ConstructEM(), Em10PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), Par01PhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExGflashPhysicsList::ConstructGeneral(), ExN02PhysicsList::ConstructGeneral(), F01PhysicsList::ConstructGeneral(), F02PhysicsList::ConstructGeneral(), F03PhysicsList::ConstructGeneral(), Em10PhysicsList::ConstructGeneral(), DMXPhysicsList::ConstructGeneral(), XrayTelPhysicsList::ConstructGeneral(), G4AdjointPhysicsList::ConstructGeneral(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), ExExChPhysListEmStandardSS::ConstructProcess(), F05PhysicsList::ConstructProcess(), RE01UnknownDecayPhysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), LXeGeneralPhysics::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), LXeMuonPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), F04PhysicsList::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), WLSPhysicsList::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), export_G4ProcessManager(), and G4PhysicsListHelper::RegisterProcess().
G4int G4ProcessManager::AddRestProcess | ( | G4VProcess * | aProcess, |
G4int | ord = ordDefault |
||
) |
Referenced by DMXPhysicsList::ConstructHad(), LXeMuonPhysics::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), and export_G4ProcessManager().
|
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().
|
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().
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().
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().
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().
G4int G4ProcessManager::GetAlongStepIndex | ( | G4VProcess * | aProcess, |
G4ProcessVectorTypeIndex | typ = typeGPIL |
||
) | const |
Referenced by export_G4ProcessManager(), and G4StackManager::PushOneTrack().
G4ProcessVector* G4ProcessManager::GetAlongStepProcessVector | ( | G4ProcessVectorTypeIndex | typ = typeGPIL | ) | const |
Referenced by G4RunManagerKernel::ConfirmCoupledTransportation(), G4SteppingManager::GetProcessNumber(), G4VMultipleScattering::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4ProcessPlacer::PrintAlongStepDoItVec(), G4ProcessPlacer::PrintAlongStepGPILVec(), and G4ITStepProcessor::SetupGeneralProcessInfo().
G4int G4ProcessManager::GetAtRestIndex | ( | G4VProcess * | aProcess, |
G4ProcessVectorTypeIndex | typ = typeGPIL |
||
) | const |
Referenced by export_G4ProcessManager(), and G4StackManager::PushOneTrack().
G4ProcessVector* G4ProcessManager::GetAtRestProcessVector | ( | G4ProcessVectorTypeIndex | typ = typeGPIL | ) | const |
Referenced by G4hImpactIonisation::AlongStepDoIt(), G4ITStepProcessor::DealWithSecondaries(), G4HadronicProcess::FillResult(), G4SteppingManager::GetProcessNumber(), G4SteppingManager::InvokeAlongStepDoItProcs(), G4SteppingManager::InvokeAtRestDoItProcs(), G4SteppingManager::InvokePSDIP(), G4HadronElasticProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), and G4ITStepProcessor::SetupGeneralProcessInfo().
|
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().
|
private |
Definition at line 326 of file G4ProcessManager.cc.
References GetAttribute(), and GetProcessIndex().
G4ParticleDefinition* G4ProcessManager::GetParticleType | ( | ) | const |
Referenced by G4ProcessTable::DumpInfo(), export_G4ProcessManager(), G4ProcessTable::FindProcess(), G4ProcessTable::Insert(), G4ProcessTable::Remove(), and G4ProcessTable::SetProcessActivation().
G4int G4ProcessManager::GetPostStepIndex | ( | G4VProcess * | aProcess, |
G4ProcessVectorTypeIndex | typ = typeGPIL |
||
) | const |
Referenced by export_G4ProcessManager(), and G4StackManager::PushOneTrack().
G4ProcessVector* G4ProcessManager::GetPostStepProcessVector | ( | G4ProcessVectorTypeIndex | typ = typeGPIL | ) | const |
Referenced by G4HadronElasticPhysicsXS::AddXSection(), G4SteppingManager::GetProcessNumber(), G4BiasingProcessInterface::IsFirstPostStepDoItInterface(), G4BiasingProcessInterface::IsFirstPostStepGPILInterface(), G4BiasingProcessInterface::IsLastPostStepDoItInterface(), G4BiasingProcessInterface::IsLastPostStepGPILInterface(), G4ProcessPlacer::PrintPostStepDoItVec(), G4ProcessPlacer::PrintPostStepGPILVec(), G4BiasingProcessInterface::ReorderBiasingVectorAsGPIL(), G4ITStepProcessor::SetupGeneralProcessInfo(), and WLSSteppingAction::UserSteppingAction().
G4bool G4ProcessManager::GetProcessActivation | ( | G4VProcess * | aProcess | ) | const |
Definition at line 1124 of file G4ProcessManager.cc.
References GetProcessIndex().
Referenced by G4EmCalculator::ActiveForParticle().
Definition at line 1131 of file G4ProcessManager.cc.
References G4cout, and GetVerboseLevel().
G4int G4ProcessManager::GetProcessIndex | ( | G4VProcess * | ) | const |
Referenced by export_G4ProcessManager(), GetAttribute(), GetProcessActivation(), GetProcessVectorIndex(), RemoveProcess(), G4ProcessTable::SetProcessActivation(), and SetProcessActivation().
G4ProcessVector* G4ProcessManager::GetProcessList | ( | ) | const |
Referenced by G4BiasingHelper::ActivatePhysicsBiasing(), G4EmCalculator::ActiveForParticle(), G4ITStepProcessor::ActiveOnlyITProcess(), G4ProcessPlacer::AddProcessAs(), RunAction::BeginOfRunAction(), G4hImpactIonisation::BuildPhysicsTable(), G4VUserChemistryList::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4LossTableManager::BuildTables(), G4PhysicsListHelper::CheckParticleList(), G4NeutronCrossSectionXS::ConstructProcess(), P6DExtDecayerPhysics::ConstructProcess(), G4EmUserPhysics::ConstructProcess(), ExExChHadronPhysicsQGSP_BIC::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_AllHP::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), G4TheRayTracer::CreateBitMap(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4PhysListUtil::FindInelasticProcess(), G4VHadronPhysics::FindInelasticProcess(), G4EmCalculator::FindProcess(), 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().
G4int G4ProcessManager::GetProcessListLength | ( | ) | const |
Referenced by export_G4ProcessManager(), G4EmConfigurator::SetModelForRegion(), and LXeSteppingAction::UserSteppingAction().
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().
G4ProcessVector* G4ProcessManager::GetProcessVector | ( | G4ProcessVectorDoItIndex | idx, |
G4ProcessVectorTypeIndex | typ = typeGPIL |
||
) | const |
|
protected |
Referenced by GetProcessOrdering(), GetProcessVectorIndex(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().
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().
G4int G4ProcessManager::GetVerboseLevel | ( | ) | const |
Referenced by ActivateProcess(), AddProcess(), CheckOrderingParameters(), G4ProcessTable::DumpInfo(), export_G4ProcessManager(), G4ProcessManager(), GetAttribute(), G4ProcessManagerMessenger::GetCurrentValue(), GetProcessActivation(), InActivateProcess(), InsertAt(), RemoveAt(), SetProcessOrdering(), SetProcessOrderingToSecond(), and ~G4ProcessManager().
|
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().
|
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().
G4int G4ProcessManager::operator!= | ( | const G4ProcessManager & | right | ) | const |
Definition at line 1001 of file G4ProcessManager.cc.
|
private |
Definition at line 188 of file G4ProcessManager.cc.
References G4Exception(), JustWarning, theAttrVector, and theProcessList.
G4int G4ProcessManager::operator== | ( | const G4ProcessManager & | right | ) | const |
Definition at line 995 of file G4ProcessManager.cc.
|
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().
G4VProcess * G4ProcessManager::RemoveProcess | ( | G4VProcess * | aProcess | ) |
Definition at line 582 of file G4ProcessManager.cc.
References GetProcessIndex().
Referenced by G4BiasingHelper::ActivatePhysicsBiasing(), F05PhysicsList::ConstructProcess(), NeutronHPphysics::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), F04PhysicsList::ConstructProcess(), WLSPhysicsList::ConstructProcess(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), and G4ProcessPlacer::RemoveProcess().
G4VProcess * G4ProcessManager::RemoveProcess | ( | G4int | index | ) |
Definition at line 517 of file G4ProcessManager.cc.
References ActivateProcess(), CreateGPILvectors(), FatalException, G4Exception(), GetAttribute(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), G4ProcessTable::GetProcessTable(), G4ProcessAttribute::idxProcessList, G4ProcessAttribute::idxProcVector, G4ProcessAttribute::isActive, numberOfProcesses, G4ProcessTable::Remove(), G4ProcessVector::removeAt(), RemoveAt(), SizeOfProcVectorArray, theAttrVector, theParticleType, theProcessList, and theProcVector.
|
private |
void G4ProcessManager::SetParticleType | ( | const G4ParticleDefinition * | ) |
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().
G4VProcess * G4ProcessManager::SetProcessActivation | ( | G4int | index, |
G4bool | fActive | ||
) |
Definition at line 1117 of file G4ProcessManager.cc.
References ActivateProcess(), and InActivateProcess().
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 ExUCNExtraPhysics::AddBetaDecay(), F06ExtraPhysics::AddBetaDecay(), XrayFluoPhysicsList::AddDecay(), Par01PhysicsList::AddParameterisation(), B03PhysicsList::AddScoringProcess(), OpNovicePhysicsList::ConstructDecay(), Par01PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), Par01PhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExGflashPhysicsList::ConstructGeneral(), ExN02PhysicsList::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().
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(), Par01PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructProcess(), export_G4ProcessManager(), and G4PhysicsListHelper::RegisterProcess().
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 OpNovicePhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), F04OpticalPhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), export_G4ProcessManager(), and G4PhysicsListHelper::RegisterProcess().
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(), B03PhysicsList::AddScoringProcess(), G4ParallelWorldPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().
void G4ProcessManager::SetVerboseLevel | ( | G4int | value | ) |
Referenced by DMXPhysicsList::ConstructGeneral(), G4ProcessTable::DumpInfo(), export_G4ProcessManager(), and G4ProcessManagerMessenger::SetNewValue().
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().
|
staticprivate |
Definition at line 364 of file G4ProcessManager.hh.
Referenced by G4ProcessManager(), and ~G4ProcessManager().
|
private |
Definition at line 342 of file G4ProcessManager.hh.
Referenced by EndTracking(), and StartTracking().
|
staticprivate |
Definition at line 363 of file G4ProcessManager.hh.
Referenced by G4ProcessManager(), and ~G4ProcessManager().
Definition at line 346 of file G4ProcessManager.hh.
Referenced by G4ProcessManager(), and SetProcessOrderingToFirst().
Definition at line 347 of file G4ProcessManager.hh.
Referenced by G4ProcessManager(), and SetProcessOrderingToLast().
|
private |
Definition at line 337 of file G4ProcessManager.hh.
Referenced by AddProcess(), FindInsertPosition(), G4ProcessManager(), GetAttribute(), InsertAt(), RemoveAt(), RemoveProcess(), and SetProcessOrderingToSecond().
|
private |
Definition at line 303 of file G4ProcessManager.hh.
Referenced by AddProcess(), G4ProcessManager(), GetAttribute(), operator=(), RemoveProcess(), and ~G4ProcessManager().
|
private |
Definition at line 334 of file G4ProcessManager.hh.
Referenced by ActivateProcess(), AddProcess(), DumpInfo(), GetAttribute(), GetProcessVectorIndex(), InActivateProcess(), RemoveProcess(), SetProcessOrdering(), SetProcessOrderingToFirst(), SetProcessOrderingToLast(), and SetProcessOrderingToSecond().
|
private |
Definition at line 338 of file G4ProcessManager.hh.
Referenced by AddProcess(), CreateGPILvectors(), DumpInfo(), EndTracking(), G4ProcessManager(), operator=(), RemoveProcess(), StartTracking(), and ~G4ProcessManager().
|
private |
Definition at line 299 of file G4ProcessManager.hh.
Referenced by ActivateProcess(), CreateGPILvectors(), FindInsertPosition(), G4ProcessManager(), InActivateProcess(), InsertAt(), RemoveAt(), RemoveProcess(), SetProcessOrderingToSecond(), and ~G4ProcessManager().
|
protected |
Definition at line 360 of file G4ProcessManager.hh.
Referenced by AddProcess(), DumpInfo(), GetProcessVectorIndex(), SetProcessOrdering(), SetProcessOrderingToFirst(), and SetProcessOrderingToSecond().