86 G4cout <<
" G4EmConfigurator::SetExtraEmModel " << mod->
GetName()
87 <<
" for " << particleName
88 <<
" and " << processName
89 <<
" in the region <" << regionName
90 <<
"> Emin(MeV)= " << emin/
MeV
91 <<
" Emax(MeV)= " << emax/
MeV
117 G4cout <<
"### G4EmConfigurator::AddModels n= " << n <<
G4endl;
120 for(
size_t i=0; i<
n; ++i) {
145 G4cout <<
" G4EmConfigurator::SetModelForRegion: " << mod->
GetName()
147 G4cout <<
" For " << particleName
148 <<
" and " << processName
149 <<
" in the region <" << reg->
GetName()
150 <<
" Emin(MeV)= " << emin/
MeV
151 <<
" Emax(MeV)= " << emax/
MeV;
159 theParticleIterator->
reset();
160 while( (*theParticleIterator)() ) {
166 (particleName ==
"all") ||
167 (particleName ==
"charged" && part->
GetPDGCharge() != 0.0)) {
177 for(
G4int i=0; i<np; ++i) {
178 if(processName == (*plist)[i]->GetProcessName()) {
184 G4cout <<
"### G4EmConfigurator WARNING: fails to find a process <"
185 << processName <<
"> for " << particleName <<
G4endl;
194 if(10 == ii && mod) {
198 G4cout <<
"### Added msc model order= " <<
index <<
" for "
199 << particleName <<
" and " << processName <<
G4endl;
202 }
else if(2 <= ii && 4 >= ii) {
209 G4cout <<
"### Added eloss model order= " <<
index <<
" for "
210 << particleName <<
" and " << processName <<
G4endl;
218 G4cout <<
"### Added em model order= " <<
index <<
" for "
219 << particleName <<
" and " << processName <<
G4endl;
237 G4cout <<
" G4EmConfigurator::PrepareModels for EnergyLoss n= "
244 for(
size_t i=0; i<
n; ++i) {
260 G4cout <<
"### Added eloss model order= " <<
index <<
" for "
261 << particleName <<
" and " << processName <<
G4endl;
282 G4cout <<
" G4EmConfigurator::PrepareModels for EM process n= "
289 for(
size_t i=0; i<
n; ++i) {
303 G4cout <<
"### Added em model order= " <<
index <<
" for "
304 << particleName <<
" and " << processName <<
G4endl;
323 G4cout <<
" G4EmConfigurator::PrepareModels for MSC process n= "
330 for(
size_t i=0; i<
n; ++i) {
374 if(r ==
"" || r ==
"world" || r ==
"World") {
375 r =
"DefaultRegionForTheWorld";
379 G4cout <<
"### G4EmConfigurator WARNING: fails to find a region <"
382 G4cout <<
"### G4EmConfigurator finds out G4Region <" << r <<
">"
397 G4cout <<
"### G4EmConfigurator WARNING: empty energy interval"
408 <<
" Emin(MeV)= " << e1/
MeV <<
" Emax(MeV)= " << e2/
MeV
void SetModelForRegion(G4VEmModel *model, G4VEmFluctuationModel *fm, G4Region *reg, const G4String &particleName, const G4String &processName, G4double emin, G4double emax)
void SetActivationHighEnergyLimit(G4double)
G4double LowEnergyLimit() const
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
const G4String & GetName() const
std::vector< G4double > lowEnergy
std::vector< G4VEmModel * > models
G4double HighEnergyLimit() const
const G4String & GetName() const
void SetFluctModel(G4VEmFluctuationModel *)
G4ProcessManager * GetProcessManager() const
G4bool UpdateModelEnergyRange(G4VEmModel *mod, G4double emin, G4double emax)
std::vector< G4String > processes
const G4String & GetParticleName() const
static const G4double reg
G4Region * FindRegion(const G4String &)
void SetHighEnergyLimit(G4double)
static G4RegionStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
void reset(G4bool ifSkipIon=true)
G4EmConfigurator(G4int verboseLevel=1)
void AddEmModel(G4int, G4VEmModel *, G4VEmFluctuationModel *fluc=0, const G4Region *region=0)
const G4String & GetProcessName() const
static const G4double emax
std::vector< G4String > regions
static G4ParticleTable * GetParticleTable()
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=0)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void PrepareModels(const G4ParticleDefinition *aParticle, G4VEnergyLossProcess *p)
void AddEmModel(G4int order, G4VEmModel *, const G4Region *region=0)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
std::vector< G4VEmFluctuationModel * > flucModels
const G4String & GetName() const
std::vector< G4String > particles
void SetLowEnergyLimit(G4double)
G4double GetPDGCharge() const
G4int GetProcessListLength() const
G4int GetProcessSubType() const
G4PTblDicIterator * GetIterator() const
void SetExtraEmModel(const G4String &particleName, const G4String &processName, G4VEmModel *, const G4String ®ionName="", G4double emin=0.0, G4double emax=DBL_MAX, G4VEmFluctuationModel *fm=0)
#define theParticleIterator
G4ProcessVector * GetProcessList() const
std::vector< G4double > highEnergy