Geant4
10.03
|
#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 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().
G4int G4ProcessManager::AddRestProcess | ( | G4VProcess * | aProcess, |
G4int | ord = ordDefault |
||
) |
Referenced by DMXPhysicsList::ConstructHad(), G4EmDNAChemistry::ConstructProcess(), LXeMuonPhysics::ConstructProcess(), F04PhysicsList::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 G4BiasingHelper::AddLimiterProcess(), G4ProcessTable::DumpInfo(), export_G4ProcessManager(), G4ProcessTable::FindProcess(), G4ProcessTable::Insert(), G4ProcessTable::Remove(), G4ProcessTable::SetProcessActivation(), and G4ParallelGeometriesLimiterProcess::SetProcessManager().
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(), 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().
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(), NeutronHPphysics::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), G4SpinDecayPhysics::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 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().
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().
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().
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 G4BiasingHelper::AddLimiterProcess(), 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().