#include <G4EmConfigurator.hh>
Definition at line 63 of file G4EmConfigurator.hh.
G4EmConfigurator::G4EmConfigurator |
( |
G4int |
verboseLevel = 1 | ) |
|
|
explicit |
G4EmConfigurator::~G4EmConfigurator |
( |
| ) |
|
void G4EmConfigurator::AddModels |
( |
| ) |
|
Definition at line 111 of file G4EmConfigurator.cc.
113 size_t n = models.size();
115 G4cout <<
"### G4EmConfigurator::AddModels n= " << n <<
G4endl;
118 for(
size_t i=0; i<
n; ++i) {
123 SetModelForRegion(models[i],flucModels[i],reg,
124 particles[i],processes[i],
125 lowEnergy[i],highEnergy[i]);
static const G4double reg
G4GLOB_DLL std::ostream G4cout
void G4EmConfigurator::Clear |
( |
| ) |
|
Definition at line 226 of file G4EmConfigurator.cc.
229 size_t n = particles.size();
231 G4cout <<
" G4EmConfigurator::PrepareModels for EnergyLoss n= "
238 for(
size_t i=0; i<
n; ++i) {
240 if(processName == processes[i]) {
241 if((particleName == particles[i]) ||
242 (particles[i] ==
"all") ||
243 (particles[i] ==
"charged" && aParticle->
GetPDGCharge() != 0.0)) {
251 if(UpdateModelEnergyRange(mod, lowEnergy[i], highEnergy[i])) {
254 G4cout <<
"### Added eloss model order= " << index <<
" for "
255 << particleName <<
" and " << processName <<
G4endl;
void SetFluctModel(G4VEmFluctuationModel *)
const G4String & GetParticleName() const
static const G4double reg
void AddEmModel(G4int, G4VEmModel *, G4VEmFluctuationModel *fluc=0, const G4Region *region=nullptr)
G4GLOB_DLL std::ostream G4cout
const G4String & GetProcessName() const
G4double GetPDGCharge() const
Definition at line 271 of file G4EmConfigurator.cc.
274 size_t n = particles.size();
276 G4cout <<
" G4EmConfigurator::PrepareModels for EM process n= "
283 for(
size_t i=0; i<
n; ++i) {
284 if(processName == processes[i]) {
285 if((particleName == particles[i]) ||
286 (particles[i] ==
"all") ||
287 (particles[i] ==
"charged" && aParticle->
GetPDGCharge() != 0.0)) {
294 if(UpdateModelEnergyRange(mod, lowEnergy[i], highEnergy[i])) {
297 G4cout <<
"### Added em model order= " << index <<
" for "
298 << particleName <<
" and " << processName <<
G4endl;
const G4String & GetParticleName() const
static const G4double reg
G4GLOB_DLL std::ostream G4cout
const G4String & GetProcessName() const
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=nullptr)
G4double GetPDGCharge() const
Definition at line 312 of file G4EmConfigurator.cc.
315 size_t n = particles.size();
317 G4cout <<
" G4EmConfigurator::PrepareModels for MSC process n= "
324 for(
size_t i=0; i<
n; ++i) {
325 if(processName == processes[i]) {
326 if((particleName == particles[i]) ||
327 (particles[i] ==
"all") ||
328 (particles[i] ==
"charged" && aParticle->
GetPDGCharge() != 0.0)) {
334 if(UpdateModelEnergyRange(mod, lowEnergy[i], highEnergy[i])) {
const G4String & GetParticleName() const
static const G4double reg
G4GLOB_DLL std::ostream G4cout
const G4String & GetProcessName() const
void AddEmModel(G4int order, G4VEmModel *, const G4Region *region=nullptr)
G4double GetPDGCharge() const
Definition at line 77 of file G4EmConfigurator.cc.
87 G4cout <<
" G4EmConfigurator::SetExtraEmModel " << mod->
GetName()
88 <<
" for " << particleName
89 <<
" and " << processName
90 <<
" in the region <" << regionName
91 <<
"> Emin(MeV)= " << emin/
MeV
96 models.push_back(mod);
97 flucModels.push_back(fm);
102 particles.push_back(particleName);
103 processes.push_back(processName);
104 regions.push_back(regionName);
105 lowEnergy.push_back(emin);
106 highEnergy.push_back(emax);
void SetActivationHighEnergyLimit(G4double)
G4double LowEnergyLimit() const
G4double HighEnergyLimit() const
G4GLOB_DLL std::ostream G4cout
static const G4double emax
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
static constexpr double MeV
const G4String & GetName() const
void G4EmConfigurator::SetVerbose |
( |
G4int |
value | ) |
|
|
inline |
The documentation for this class was generated from the following files: