Geant4  10.00.p02
G4EmConfigurator Class Reference

#include <G4EmConfigurator.hh>

Public Member Functions

 G4EmConfigurator (G4int verboseLevel=1)
 
 ~G4EmConfigurator ()
 
void SetExtraEmModel (const G4String &particleName, const G4String &processName, G4VEmModel *, const G4String &regionName="", 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

G4RegionFindRegion (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)
 
G4EmConfiguratoroperator= (const G4EmConfigurator &right)
 
 G4EmConfigurator (const G4EmConfigurator &)
 

Private Attributes

std::vector< G4VEmModel * > models
 
std::vector
< G4VEmFluctuationModel * > 
flucModels
 
std::vector< G4Stringparticles
 
std::vector< G4Stringprocesses
 
std::vector< G4Stringregions
 
std::vector< G4doublelowEnergy
 
std::vector< G4doublehighEnergy
 
G4int index
 
G4int verbose
 

Detailed Description

Definition at line 63 of file G4EmConfigurator.hh.

Constructor & Destructor Documentation

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.

G4EmConfigurator::G4EmConfigurator ( const G4EmConfigurator )
private

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

G4Region * G4EmConfigurator::FindRegion ( const G4String regionName)
private

Definition at line 365 of file G4EmConfigurator.cc.

References G4cout, G4endl, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), reg, and verbose.

Referenced by AddModels(), and PrepareModels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4EmConfigurator& G4EmConfigurator::operator= ( const G4EmConfigurator right)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

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.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4EmConfigurator::SetModelForRegion ( G4VEmModel model,
G4VEmFluctuationModel fm,
G4Region reg,
const G4String particleName,
const G4String processName,
G4double  emin,
G4double  emax 
)
private
void G4EmConfigurator::SetVerbose ( G4int  value)
inline

Definition at line 136 of file G4EmConfigurator.hh.

References verbose.

Referenced by G4EmManager::SetVerbose(), and G4LossTableManager::SetVerbose().

+ Here is the caller graph for this function:

G4bool G4EmConfigurator::UpdateModelEnergyRange ( G4VEmModel mod,
G4double  emin,
G4double  emax 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4VEmFluctuationModel*> G4EmConfigurator::flucModels
private

Definition at line 123 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

std::vector<G4double> G4EmConfigurator::highEnergy
private

Definition at line 128 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

G4int G4EmConfigurator::index
private

Definition at line 130 of file G4EmConfigurator.hh.

Referenced by AddModels(), G4EmConfigurator(), PrepareModels(), and SetModelForRegion().

std::vector<G4double> G4EmConfigurator::lowEnergy
private

Definition at line 127 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

std::vector<G4VEmModel*> G4EmConfigurator::models
private

Definition at line 122 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

std::vector<G4String> G4EmConfigurator::particles
private

Definition at line 124 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

std::vector<G4String> G4EmConfigurator::processes
private

Definition at line 125 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

std::vector<G4String> G4EmConfigurator::regions
private

Definition at line 126 of file G4EmConfigurator.hh.

Referenced by AddModels(), Clear(), PrepareModels(), and SetExtraEmModel().

G4int G4EmConfigurator::verbose
private

The documentation for this class was generated from the following files: