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;
158 theParticleIterator->
reset();
159 while( (*theParticleIterator)() ) {
165 (particleName ==
"all") ||
166 (particleName ==
"charged" && part->
GetPDGCharge() != 0.0)) {
176 for(
G4int i=0; i<np; ++i) {
177 if(processName == (*plist)[i]->GetProcessName()) {
183 G4cout <<
"### G4EmConfigurator WARNING: fails to find a process <"
184 << processName <<
"> for " << particleName <<
G4endl;
193 if(10 == ii && mod) {
197 G4cout <<
"### Added msc model order= " <<
index <<
" for "
198 << particleName <<
" and " << processName <<
G4endl;
201 }
else if(2 <= ii && 4 >= ii) {
208 G4cout <<
"### Added eloss model order= " <<
index <<
" for "
209 << particleName <<
" and " << processName <<
G4endl;
217 G4cout <<
"### Added em model order= " <<
index <<
" for "
218 << particleName <<
" and " << processName <<
G4endl;
236 G4cout <<
" G4EmConfigurator::PrepareModels for EnergyLoss n= "
243 for(
size_t i=0; i<
n; ++i) {
259 G4cout <<
"### Added eloss model order= " <<
index <<
" for "
260 << particleName <<
" and " << processName <<
G4endl;
281 G4cout <<
" G4EmConfigurator::PrepareModels for EM process n= "
288 for(
size_t i=0; i<
n; ++i) {
302 G4cout <<
"### Added em model order= " <<
index <<
" for "
303 << particleName <<
" and " << processName <<
G4endl;
322 G4cout <<
" G4EmConfigurator::PrepareModels for MSC process n= "
329 for(
size_t i=0; i<
n; ++i) {
341 G4cout <<
"### Added msc model order= " <<
index <<
" for "
342 << particleName <<
" and " << processName <<
G4endl;
373 if(r ==
"" || r ==
"world" || r ==
"World") {
374 r =
"DefaultRegionForTheWorld";
378 G4cout <<
"### G4EmConfigurator WARNING: fails to find a region <"
381 G4cout <<
"### G4EmConfigurator finds out G4Region <" << r <<
">"
396 G4cout <<
"### G4EmConfigurator WARNING: empty energy interval"
407 <<
" 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
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