Geant4-11
|
#include <G4PhysicsListHelper.hh>
Public Member Functions | |
void | AddTransportation () |
void | CheckParticleList () const |
void | DumpOrdingParameterTable (G4int subType=-1) const |
G4PhysicsListOrderingParameter | GetOrdingParameter (G4int subType) const |
G4int | GetVerboseLevel () const |
G4bool | RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle) |
void | SetVerboseLevel (G4int value) |
void | UseCoupledTransportation (G4bool vl=true) |
void | UseHighLooperThresholds () |
void | UseLowLooperThresholds () |
Static Public Member Functions | |
static G4PhysicsListHelper * | GetPhysicsListHelper () |
Private Types | |
using | G4OrdParamTable = std::vector< G4PhysicsListOrderingParameter > |
Private Member Functions | |
G4PhysicsListHelper () | |
void | ReadInDefaultOrderingParameter () |
void | ReadOrdingParameterTable () |
~G4PhysicsListHelper () | |
Private Attributes | |
G4ParticleTable::G4PTblDicIterator * | aParticleIterator = nullptr |
G4String | ordParamFileName = "" |
G4int | sizeOfTable = 0 |
G4int | theLooperThresholds = 1 |
G4ParticleTable * | theParticleTable = nullptr |
G4OrdParamTable * | theTable = nullptr |
G4VProcess * | theTransportationProcess = nullptr |
G4bool | useCoupledTransportation = false |
G4int | verboseLevel = 1 |
Static Private Attributes | |
static G4ThreadLocal G4PhysicsListHelper * | pPLHelper = nullptr |
Friends | |
class | G4ThreadLocalSingleton< G4PhysicsListHelper > |
Definition at line 50 of file G4PhysicsListHelper.hh.
|
private |
Definition at line 100 of file G4PhysicsListHelper.hh.
|
private |
Definition at line 60 of file G4PhysicsListHelper.cc.
References aParticleIterator, DumpOrdingParameterTable(), G4ParticleTable::GetIterator(), G4ParticleTable::GetParticleTable(), ReadOrdingParameterTable(), theParticleTable, and verboseLevel.
|
private |
Definition at line 77 of file G4PhysicsListHelper.cc.
References sizeOfTable, and theTable.
void G4PhysicsListHelper::AddTransportation | ( | ) |
Definition at line 221 of file G4PhysicsListHelper.cc.
References G4ProcessManager::AddProcess(), aParticleIterator, FatalException, G4cout, G4endl, G4Exception(), G4RunManagerKernel::GetNumberOfParallelWorld(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetProcessManager(), G4RunManagerKernel::GetRunManagerKernel(), G4ScoringManager::GetScoringManagerIfExist(), idxAlongStep, idxPostStep, G4ParticleTableIterator< K, V >::reset(), G4ProcessManager::SetProcessOrderingToFirst(), theLooperThresholds, theTransportationProcess, useCoupledTransportation, G4ParticleTableIterator< K, V >::value(), and verboseLevel.
void G4PhysicsListHelper::CheckParticleList | ( | ) | const |
Definition at line 100 of file G4PhysicsListHelper.cc.
References aParticleIterator, FatalException, fElectromagnetic, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGCharge(), G4ProcessManager::GetProcessList(), G4ParticleDefinition::GetProcessManager(), G4InuclParticleNames::isElectron(), G4InuclParticleNames::name(), G4ParticleTableIterator< K, V >::reset(), G4ProcessVector::size(), G4ParticleTableIterator< K, V >::value(), and verboseLevel.
void G4PhysicsListHelper::DumpOrdingParameterTable | ( | G4int | subType = -1 | ) | const |
Definition at line 380 of file G4PhysicsListHelper.cc.
References G4cout, G4endl, G4PhysicsListOrderingParameter::isDuplicable, G4PhysicsListOrderingParameter::ordering, ordParamFileName, G4PhysicsListOrderingParameter::processSubType, G4PhysicsListOrderingParameter::processType, G4PhysicsListOrderingParameter::processTypeName, sizeOfTable, theTable, and verboseLevel.
Referenced by G4PhysicsListHelper(), and G4UserPhysicsListMessenger::SetNewValue().
G4PhysicsListOrderingParameter G4PhysicsListHelper::GetOrdingParameter | ( | G4int | subType | ) | const |
Definition at line 426 of file G4PhysicsListHelper.cc.
References G4cout, G4endl, G4PhysicsListOrderingParameter::isDuplicable, G4PhysicsListOrderingParameter::ordering, ordParamFileName, G4PhysicsListOrderingParameter::processSubType, G4PhysicsListOrderingParameter::processType, G4PhysicsListOrderingParameter::processTypeName, sizeOfTable, theTable, and verboseLevel.
|
static |
Definition at line 89 of file G4PhysicsListHelper.cc.
References G4ThreadLocalSingleton< T >::Instance(), and pPLHelper.
Referenced by G4HadronicBuilder::BuildElastic(), G4HadronicBuilder::BuildFTFP_BERT(), G4HadronicBuilder::BuildFTFQGSP_BERT(), G4HadronicBuilder::BuildQGSP_FTFP_BERT(), G4EmBuilder::ConstructBasicEmPhysics(), G4EmBuilder::ConstructCharged(), G4EmBuilder::ConstructChargedSS(), G4EmExtraPhysics::ConstructGammaElectroNuclear(), G4EmDNAPhysics::ConstructGammaPositronProcesses(), G4EmBuilder::ConstructIonEmPhysics(), G4EmBuilder::ConstructIonEmPhysicsSS(), G4EmBuilder::ConstructLightHadrons(), G4EmBuilder::ConstructLightHadronsSS(), G4EmDNAChemistry::ConstructProcess(), G4EmDNAChemistry_option1::ConstructProcess(), G4EmDNAChemistry_option3::ConstructProcess(), G4EmDNAPhysics_option1::ConstructProcess(), G4EmDNAPhysics_option2::ConstructProcess(), G4EmDNAPhysics_option3::ConstructProcess(), G4EmDNAPhysics_option4::ConstructProcess(), G4EmDNAPhysics_option5::ConstructProcess(), G4EmDNAPhysics_option6::ConstructProcess(), G4EmDNAPhysics_option7::ConstructProcess(), G4EmDNAPhysics_option8::ConstructProcess(), G4EmDNAPhysics_stationary_option2::ConstructProcess(), G4EmDNAPhysics_stationary_option4::ConstructProcess(), G4EmDNAPhysics_stationary_option6::ConstructProcess(), G4EmExtraPhysics::ConstructProcess(), G4DecayPhysics::ConstructProcess(), G4MuonicAtomDecayPhysics::ConstructProcess(), G4RadioactiveDecayPhysics::ConstructProcess(), G4UnknownDecayPhysics::ConstructProcess(), G4EmDNAChemistry_option2::ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), G4EmDNAPhysics_stationary::ConstructProcess(), G4EmDNAPhysicsActivator::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4EmStandardPhysicsGS::ConstructProcess(), G4EmStandardPhysicsSS::ConstructProcess(), G4EmStandardPhysicsWVI::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4VUserPhysicsList::G4VUserPhysicsList(), G4VUPLData::initialize(), G4VPhysicsConstructor::RegisterProcess(), and G4UserPhysicsListMessenger::SetNewValue().
|
inline |
Definition at line 131 of file G4PhysicsListHelper.hh.
Referenced by G4MuonicAtomDecayPhysics::ConstructProcess().
|
private |
Definition at line 630 of file G4PhysicsListHelper.cc.
References COUPLED_TRANSPORTATION, DECAY, DECAY_External, DECAY_MuAtom, DECAY_PionMakeSpin, DECAY_Radioactive, DECAY_Unknown, DECAY_WithSpin, fAnnihilation, fAnnihilationToHadrons, fAnnihilationToMuMu, fAnnihilationToTauTau, fBremsstrahlung, fCapture, fCerenkov, fChargeExchange, fComptonScattering, fCoulombScattering, fDecay, fElectromagnetic, fElectronGeneralProcess, fFission, fGammaConversion, fGammaConversionToMuMu, fGammaGeneralProcess, fGeneral, fHadronAtRest, fHadronElastic, fHadronic, fHadronInelastic, fIonisation, fLowEnergyAttachment, fLowEnergyBrownianTransportation, fLowEnergyChargeDecrease, fLowEnergyChargeIncrease, fLowEnergyDoubleCap, fLowEnergyDoubleIonisation, fLowEnergyElastic, fLowEnergyElectronSolvation, fLowEnergyExcitation, fLowEnergyIonisation, fLowEnergyIoniTransfer, fLowEnergyMolecularDecay, fLowEnergyStaticMol, fLowEnergyTransportation, fLowEnergyVibrationalExcitation, fMuAtomicCapture, fMultipleScattering, fNuclearStopping, fOpAbsorption, fOpBoundary, fOpMieHG, fOpRayleigh, fOptical, fOpWLS, fOpWLS2, fPairProdByCharged, fParallel, fPhotoElectricEffect, fPositronGeneralProcess, fRayleigh, fScintillation, fSurfaceReflection, fSynchrotronRadiation, fTransitionRadiation, fTransportation, fUserDefined, G4PhysicsListOrderingParameter::isDuplicable, NEUTRON_KILLER, G4PhysicsListOrderingParameter::ordering, PARALLEL_WORLD_PROCESS, G4PhysicsListOrderingParameter::processSubType, G4PhysicsListOrderingParameter::processType, G4PhysicsListOrderingParameter::processTypeName, sizeOfTable, STEP_LIMITER, theTable, TRANSPORTATION, and USER_SPECIAL_CUTS.
Referenced by ReadOrdingParameterTable().
|
private |
Definition at line 294 of file G4PhysicsListHelper.cc.
References G4cout, G4endl, G4Exception(), G4PhysicsListOrderingParameter::isDuplicable, JustWarning, G4PhysicsListOrderingParameter::ordering, ordParamFileName, G4PhysicsListOrderingParameter::processSubType, G4PhysicsListOrderingParameter::processType, G4PhysicsListOrderingParameter::processTypeName, ReadInDefaultOrderingParameter(), sizeOfTable, theTable, and verboseLevel.
Referenced by G4PhysicsListHelper().
G4bool G4PhysicsListHelper::RegisterProcess | ( | G4VProcess * | process, |
G4ParticleDefinition * | particle | ||
) |
Definition at line 461 of file G4PhysicsListHelper.cc.
References G4ProcessManager::AddProcess(), FatalException, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetParticleName(), G4ProcessManager::GetProcessList(), G4ParticleDefinition::GetProcessManager(), G4VProcess::GetProcessName(), G4VProcess::GetProcessSubType(), G4VProcess::GetProcessType(), G4PhysicsListOrderingParameter::isDuplicable, JustWarning, G4PhysicsListOrderingParameter::ordering, ordParamFileName, G4PhysicsListOrderingParameter::processSubType, G4PhysicsListOrderingParameter::processType, G4ProcessManager::SetProcessOrdering(), G4ProcessManager::SetProcessOrderingToFirst(), G4ProcessManager::SetProcessOrderingToLast(), G4ProcessVector::size(), sizeOfTable, theTable, and verboseLevel.
Referenced by G4HadronicBuilder::BuildElastic(), G4HadronicBuilder::BuildFTFP_BERT(), G4HadronicBuilder::BuildFTFQGSP_BERT(), G4HadronicBuilder::BuildQGSP_FTFP_BERT(), G4EmBuilder::ConstructBasicEmPhysics(), G4EmBuilder::ConstructCharged(), G4EmBuilder::ConstructChargedSS(), G4EmExtraPhysics::ConstructGammaElectroNuclear(), G4EmDNAPhysics::ConstructGammaPositronProcesses(), G4EmBuilder::ConstructIonEmPhysics(), G4EmBuilder::ConstructIonEmPhysicsSS(), G4EmBuilder::ConstructLightHadrons(), G4EmBuilder::ConstructLightHadronsSS(), G4EmDNAChemistry_option1::ConstructProcess(), G4EmDNAChemistry_option3::ConstructProcess(), G4EmDNAPhysics_option1::ConstructProcess(), G4EmDNAPhysics_option2::ConstructProcess(), G4EmDNAPhysics_option3::ConstructProcess(), G4EmDNAPhysics_option4::ConstructProcess(), G4EmDNAPhysics_option5::ConstructProcess(), G4EmDNAPhysics_option6::ConstructProcess(), G4EmDNAPhysics_option7::ConstructProcess(), G4EmDNAPhysics_option8::ConstructProcess(), G4EmDNAPhysics_stationary_option2::ConstructProcess(), G4EmDNAPhysics_stationary_option4::ConstructProcess(), G4EmDNAPhysics_stationary_option6::ConstructProcess(), G4EmExtraPhysics::ConstructProcess(), G4DecayPhysics::ConstructProcess(), G4UnknownDecayPhysics::ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), G4EmDNAPhysics_stationary::ConstructProcess(), G4EmDNAPhysicsActivator::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4EmStandardPhysicsGS::ConstructProcess(), G4EmStandardPhysicsSS::ConstructProcess(), G4EmStandardPhysicsWVI::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), and G4VPhysicsConstructor::RegisterProcess().
|
inline |
Definition at line 126 of file G4PhysicsListHelper.hh.
References verboseLevel.
Referenced by G4MuonicAtomDecayPhysics::ConstructProcess().
|
inline |
Definition at line 121 of file G4PhysicsListHelper.hh.
References useCoupledTransportation.
|
inline |
Definition at line 70 of file G4PhysicsListHelper.hh.
References theLooperThresholds.
|
inline |
Definition at line 71 of file G4PhysicsListHelper.hh.
References theLooperThresholds.
|
friend |
Definition at line 131 of file G4PhysicsListHelper.hh.
|
private |
Definition at line 105 of file G4PhysicsListHelper.hh.
Referenced by AddTransportation(), CheckParticleList(), and G4PhysicsListHelper().
|
private |
Definition at line 116 of file G4PhysicsListHelper.hh.
Referenced by DumpOrdingParameterTable(), GetOrdingParameter(), ReadOrdingParameterTable(), and RegisterProcess().
|
staticprivate |
Definition at line 102 of file G4PhysicsListHelper.hh.
Referenced by GetPhysicsListHelper().
|
private |
Definition at line 115 of file G4PhysicsListHelper.hh.
Referenced by DumpOrdingParameterTable(), GetOrdingParameter(), ReadInDefaultOrderingParameter(), ReadOrdingParameterTable(), RegisterProcess(), and ~G4PhysicsListHelper().
|
private |
Definition at line 109 of file G4PhysicsListHelper.hh.
Referenced by AddTransportation(), UseHighLooperThresholds(), and UseLowLooperThresholds().
|
private |
Definition at line 104 of file G4PhysicsListHelper.hh.
Referenced by G4PhysicsListHelper().
|
private |
Definition at line 114 of file G4PhysicsListHelper.hh.
Referenced by DumpOrdingParameterTable(), GetOrdingParameter(), ReadInDefaultOrderingParameter(), ReadOrdingParameterTable(), RegisterProcess(), and ~G4PhysicsListHelper().
|
private |
Definition at line 110 of file G4PhysicsListHelper.hh.
Referenced by AddTransportation().
|
private |
Definition at line 108 of file G4PhysicsListHelper.hh.
Referenced by AddTransportation(), and UseCoupledTransportation().
|
private |
Definition at line 112 of file G4PhysicsListHelper.hh.
Referenced by AddTransportation(), CheckParticleList(), DumpOrdingParameterTable(), G4PhysicsListHelper(), GetOrdingParameter(), ReadOrdingParameterTable(), RegisterProcess(), and SetVerboseLevel().