Geant4
10.00.p03
|
#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=0) |
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) |
G4EmConfigurator (const G4EmConfigurator &) | |
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 63 of file G4EmConfigurator.hh.
G4EmConfigurator::G4EmConfigurator | ( | G4int | verboseLevel = 1 | ) |
Definition at line 65 of file G4EmConfigurator.cc.
References index.
G4EmConfigurator::~G4EmConfigurator | ( | ) |
Definition at line 72 of file G4EmConfigurator.cc.
|
private |
void G4EmConfigurator::AddModels | ( | ) |
Definition at line 111 of file G4EmConfigurator.cc.
References Clear(), FindRegion(), flucModels, G4cout, G4endl, highEnergy, index, lowEnergy, models, n, particles, processes, reg, regions, SetModelForRegion(), and verbose.
Referenced by HadrontherapyPhysicsList::ConstructProcess(), IORTPhysicsList::ConstructProcess(), and ML2PhysicsList::ConstructProcess().
void G4EmConfigurator::Clear | ( | ) |
Definition at line 352 of file G4EmConfigurator.cc.
References flucModels, highEnergy, lowEnergy, models, particles, processes, and regions.
Referenced by AddModels(), G4EmManager::BuildPhysicsTable(), G4LossTableManager::BuildPhysicsTable(), and G4LossTableManager::LocalPhysicsTables().
Definition at line 365 of file G4EmConfigurator.cc.
References G4cout, G4endl, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), reg, and verbose.
Referenced by AddModels(), and PrepareModels().
|
private |
void G4EmConfigurator::PrepareModels | ( | const G4ParticleDefinition * | aParticle, |
G4VEnergyLossProcess * | p | ||
) |
Definition at line 229 of file G4EmConfigurator.cc.
References G4VEnergyLossProcess::AddEmModel(), FindRegion(), flucModels, 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 G4EmManager::PreparePhysicsTable(), and G4LossTableManager::PreparePhysicsTable().
void G4EmConfigurator::PrepareModels | ( | const G4ParticleDefinition * | aParticle, |
G4VEmProcess * | p | ||
) |
Definition at line 274 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 315 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 = 0 |
||
) |
Definition at line 77 of file G4EmConfigurator.cc.
References flucModels, G4cout, G4endl, G4VEmModel::GetName(), highEnergy, lowEnergy, MeV, models, particles, processes, regions, and verbose.
Referenced by PhysicsList::AddIonGasModels(), and PhysicsList::NewPAIModel().
|
private |
Definition at line 135 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, G4ParticleTableIterator< K, V >::reset(), G4VEnergyLossProcess::SetFluctModel(), theParticleIterator, UpdateModelEnergyRange(), G4ParticleTableIterator< K, V >::value(), and verbose.
Referenced by AddModels().
|
inline |
Definition at line 136 of file G4EmConfigurator.hh.
References verbose.
Referenced by G4EmManager::SetVerbose(), and G4LossTableManager::SetVerbose().
|
private |
Definition at line 387 of file G4EmConfigurator.cc.
References e1, e2, G4cout, G4endl, G4VEmModel::GetName(), G4VEmModel::HighEnergyLimit(), G4VEmModel::LowEnergyLimit(), G4INCL::Math::max(), MeV, G4INCL::Math::min(), G4VEmModel::SetHighEnergyLimit(), G4VEmModel::SetLowEnergyLimit(), and verbose.
Referenced by PrepareModels(), and SetModelForRegion().
|
private |
Definition at line 123 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 128 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 130 of file G4EmConfigurator.hh.
Referenced by AddModels(), G4EmConfigurator(), PrepareModels(), and SetModelForRegion().
|
private |
Definition at line 127 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 122 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 124 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 125 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 126 of file G4EmConfigurator.hh.
Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().
|
private |
Definition at line 131 of file G4EmConfigurator.hh.
Referenced by AddModels(), FindRegion(), PrepareModels(), SetExtraEmModel(), SetModelForRegion(), SetVerbose(), and UpdateModelEnergyRange().