ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/utils/include/G4EmConfigurator.hh>
Public Member Functions | |
G4EmConfigurator (G4int verboseLevel=1) | |
~G4EmConfigurator () | |
void | SetExtraEmModel (const G4String &particleName, const G4String &processName, G4VEmModel *, const G4String ®ionName="", G4double emin=0.0, G4double emax=DBL_MAX, G4VEmFluctuationModel *fm=nullptr) |
void | AddModels () |
void | PrepareModels (const G4ParticleDefinition *aParticle, G4VEnergyLossProcess *p) |
void | PrepareModels (const G4ParticleDefinition *aParticle, G4VEmProcess *p) |
void | PrepareModels (const G4ParticleDefinition *aParticle, G4VMultipleScattering *p) |
void | Clear () |
void | SetVerbose (G4int value) |
Private Member Functions | |
G4Region * | FindRegion (const G4String &) |
void | SetModelForRegion (G4VEmModel *model, G4VEmFluctuationModel *fm, G4Region *reg, const G4String &particleName, const G4String &processName, G4double emin, G4double emax) |
G4bool | UpdateModelEnergyRange (G4VEmModel *mod, G4double emin, G4double emax) |
G4EmConfigurator & | operator= (const G4EmConfigurator &right)=delete |
G4EmConfigurator (const G4EmConfigurator &)=delete | |
Private Attributes | |
std::vector< G4VEmModel * > | models |
std::vector < G4VEmFluctuationModel * > | flucModels |
std::vector< G4String > | particles |
std::vector< G4String > | processes |
std::vector< G4String > | regions |
std::vector< G4double > | lowEnergy |
std::vector< G4double > | highEnergy |
G4int | index |
G4int | verbose |
Definition at line 62 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 62 of file G4EmConfigurator.hh
|
explicit |
Definition at line 64 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 64 of file G4EmConfigurator.cc
References index.
G4EmConfigurator::~G4EmConfigurator | ( | ) |
Definition at line 71 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 71 of file G4EmConfigurator.cc
|
privatedelete |
void G4EmConfigurator::AddModels | ( | ) |
Definition at line 110 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 110 of file G4EmConfigurator.cc
References Clear(), FindRegion(), flucModels, G4cout, G4endl, highEnergy, index, lowEnergy, models, n, particles, processes, reg, regions, SetModelForRegion(), and verbose.
Referenced by G4EmDNAPhysicsActivator::ConstructProcess(), GammaRayTelPhysicsList::ConstructProcess(), and IORTPhysicsList::ConstructProcess().
void G4EmConfigurator::Clear | ( | ) |
Definition at line 343 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 343 of file G4EmConfigurator.cc
References flucModels, highEnergy, lowEnergy, models, particles, processes, and regions.
Referenced by AddModels(), G4LossTableManager::BuildPhysicsTable(), and G4LossTableManager::LocalPhysicsTables().
Definition at line 356 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 356 of file G4EmConfigurator.cc
References G4cout, G4endl, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), r, reg, and verbose.
Referenced by AddModels(), and PrepareModels().
|
privatedelete |
void G4EmConfigurator::PrepareModels | ( | const G4ParticleDefinition * | aParticle, |
G4VEnergyLossProcess * | p | ||
) |
Definition at line 220 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 220 of file G4EmConfigurator.cc
References G4VEnergyLossProcess::AddEmModel(), FindRegion(), flucModels, Acts::UnitConstants::fm, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), G4VProcess::GetProcessName(), highEnergy, index, lowEnergy, models, n, particles, processes, reg, regions, G4VEnergyLossProcess::SetFluctModel(), UpdateModelEnergyRange(), and verbose.
Referenced by G4LossTableManager::PreparePhysicsTable().
void G4EmConfigurator::PrepareModels | ( | const G4ParticleDefinition * | aParticle, |
G4VEmProcess * | p | ||
) |
Definition at line 265 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 265 of file G4EmConfigurator.cc
References G4VEmProcess::AddEmModel(), FindRegion(), G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), G4VProcess::GetProcessName(), highEnergy, index, lowEnergy, models, n, particles, processes, reg, regions, UpdateModelEnergyRange(), and verbose.
void G4EmConfigurator::PrepareModels | ( | const G4ParticleDefinition * | aParticle, |
G4VMultipleScattering * | p | ||
) |
Definition at line 306 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 306 of file G4EmConfigurator.cc
References G4VMultipleScattering::AddEmModel(), FindRegion(), G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), G4VProcess::GetProcessName(), highEnergy, index, lowEnergy, models, n, particles, processes, reg, regions, UpdateModelEnergyRange(), and verbose.
void G4EmConfigurator::SetExtraEmModel | ( | const G4String & | particleName, |
const G4String & | processName, | ||
G4VEmModel * | mod, | ||
const G4String & | regionName = "" , |
||
G4double | emin = 0.0 , |
||
G4double | emax = DBL_MAX , |
||
G4VEmFluctuationModel * | fm = nullptr |
||
) |
Definition at line 76 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 76 of file G4EmConfigurator.cc
References flucModels, G4cout, G4endl, G4VEmModel::GetName(), highEnergy, G4VEmModel::HighEnergyLimit(), lowEnergy, G4VEmModel::LowEnergyLimit(), max, MeV, min, models, particles, processes, regions, G4VEmModel::SetActivationHighEnergyLimit(), and verbose.
Referenced by G4EmModelActivator::ActivateEmOptions(), G4EmModelActivator::ActivateMicroElec(), G4EmDNAPhysicsActivator::AddElectronModels0(), G4EmDNAPhysicsActivator::AddGenericIonModels0(), G4EmDNAPhysicsActivator::AddHeliumModels0(), PhysicsList::AddIonGasModels(), G4EmDNAPhysicsActivator::AddProtonModels0(), G4EmModelActivator::AddStandardScattering(), and PhysicsList::ConstructEM().
|
private |
Definition at line 134 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 134 of file G4EmConfigurator.cc
References G4VMultipleScattering::AddEmModel(), G4VEmProcess::AddEmModel(), G4VEnergyLossProcess::AddEmModel(), G4cout, G4endl, G4ParticleTable::GetIterator(), G4VEmFluctuationModel::GetName(), G4Region::GetName(), G4VEmModel::GetName(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ProcessManager::GetProcessList(), G4ProcessManager::GetProcessListLength(), G4ParticleDefinition::GetProcessManager(), G4VProcess::GetProcessSubType(), index, MeV, part, G4ParticleTableIterator< K, V >::reset(), UpdateModelEnergyRange(), and verbose.
Referenced by AddModels().
Definition at line 135 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 135 of file G4EmConfigurator.hh
References verbose.
Referenced by G4LossTableManager::ResetParameters().
|
private |
Definition at line 378 of file G4EmConfigurator.cc.
View newest version in sPHENIX GitHub at line 378 of file G4EmConfigurator.cc
References e1, e2, G4cout, G4endl, G4VEmModel::GetName(), G4VEmModel::HighEnergyLimit(), G4VEmModel::LowEnergyLimit(), max, CLHEP::MeV, MeV, min, G4VEmModel::SetHighEnergyLimit(), G4VEmModel::SetLowEnergyLimit(), and verbose.
Referenced by PrepareModels(), and SetModelForRegion().
|
private |
Definition at line 122 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 122 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 127 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 127 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 129 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 129 of file G4EmConfigurator.hh
Referenced by AddModels(), G4EmConfigurator(), PrepareModels(), and SetModelForRegion().
|
private |
Definition at line 126 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 126 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 121 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 121 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 123 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 123 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 124 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 124 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 125 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 125 of file G4EmConfigurator.hh
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 130 of file G4EmConfigurator.hh.
View newest version in sPHENIX GitHub at line 130 of file G4EmConfigurator.hh
Referenced by AddModels(), FindRegion(), PrepareModels(), SetExtraEmModel(), SetModelForRegion(), SetVerbose(), and UpdateModelEnergyRange().