Geant4-11
|
#include <G4EmModelManager.hh>
Private Attributes | |
G4VEmModel * | currModel = nullptr |
G4RegionModels * | currRegionModel = nullptr |
std::vector< G4VEmFluctuationModel * > | flucModels |
G4bool | fluoFlag = false |
std::vector< G4int > | idxOfRegionModels |
std::vector< G4int > | isUsed |
std::vector< G4VEmModel * > | models |
G4int | nEmModels = 0 |
G4int | nRegions = 0 |
std::vector< G4int > | orderOfModels |
const G4ParticleDefinition * | particle = nullptr |
std::vector< const G4Region * > | regions |
std::vector< G4RegionModels * > | setOfRegionModels |
G4bool | severalModels = true |
const G4DataVector * | theCuts = nullptr |
G4DataVector * | theCutsNew = nullptr |
G4int | verboseLevel = 0 |
Definition at line 142 of file G4EmModelManager.hh.
G4EmModelManager::G4EmModelManager | ( | ) |
Definition at line 97 of file G4EmModelManager.cc.
References flucModels, isUsed, models, orderOfModels, and regions.
G4EmModelManager::~G4EmModelManager | ( | ) |
Definition at line 108 of file G4EmModelManager.cc.
References Clear(), theCutsNew, and verboseLevel.
|
delete |
void G4EmModelManager::AddEmModel | ( | G4int | num, |
G4VEmModel * | p, | ||
G4VEmFluctuationModel * | fm, | ||
const G4Region * | r | ||
) |
Definition at line 131 of file G4EmModelManager.cc.
References G4VEmModel::DefineForRegion(), flucModels, G4cout, G4endl, isUsed, models, nEmModels, orderOfModels, and regions.
Referenced by G4VMultipleScattering::AddEmModel(), G4VEmProcess::AddEmModel(), G4VEnergyLossProcess::AddEmModel(), and G4AdjointBremsstrahlungModel::Initialize().
void G4EmModelManager::Clear | ( | ) |
Definition at line 117 of file G4EmModelManager.cc.
References G4cout, G4endl, CLHEP::detail::n, setOfRegionModels, and verboseLevel.
Referenced by Initialise(), and ~G4EmModelManager().
|
inline |
void G4EmModelManager::DumpModelList | ( | std::ostream & | out, |
G4int | verb | ||
) |
Definition at line 718 of file G4EmModelManager.cc.
References G4InuclParticleNames::an, G4VEmModel::DeexcitationFlag(), G4VMscModel::DumpParameters(), emax, G4PhysicsVector::Energy(), fluoFlag, G4BestUnit, G4endl, G4VEmModel::GetAngularDistribution(), G4VEmModel::GetCrossSectionTable(), G4VEmModel::GetName(), G4PhysicsVector::GetVectorLength(), G4VEmModel::HighEnergyActivationLimit(), G4RegionModels::LowEdgeEnergy(), G4VEmModel::LowEnergyActivationLimit(), G4INCL::Math::max(), G4INCL::Math::min(), G4RegionModels::ModelIndex(), models, CLHEP::detail::n, nEmModels, G4InuclParticleNames::nn, nRegions, G4RegionModels::NumberOfModels(), reg, G4RegionModels::Region(), setOfRegionModels, and theCutsNew.
Referenced by G4VEnergyLossProcess::StreamInfo(), G4VEmProcess::StreamInfo(), and G4VMultipleScattering::StreamInfo().
void G4EmModelManager::FillDEDXVector | ( | G4PhysicsVector * | aVector, |
const G4MaterialCutsCouple * | couple, | ||
G4EmTableType | t = fRestricted |
||
) |
Definition at line 581 of file G4EmModelManager.cc.
References DBL_MAX, G4PhysicsVector::Energy(), fTotal, G4cout, G4endl, G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4PhysicsVector::GetVectorLength(), idxOfRegionModels, G4InuclParticleNames::k0, G4RegionModels::LowEdgeEnergy(), G4INCL::Math::max(), MeV, mm, G4RegionModels::ModelIndex(), models, nEmModels, nRegions, G4RegionModels::NumberOfModels(), particle, G4PhysicsVector::PutValue(), reg, setOfRegionModels, theCuts, and verboseLevel.
Referenced by G4VEnergyLossProcess::BuildDEDXTable().
void G4EmModelManager::FillLambdaVector | ( | G4PhysicsVector * | aVector, |
const G4MaterialCutsCouple * | couple, | ||
G4bool | startFromNull = true , |
||
G4EmTableType | t = fRestricted |
||
) |
Definition at line 647 of file G4EmModelManager.cc.
References G4VEmModel::CrossSection(), DBL_MAX, G4PhysicsVector::Energy(), fIsCrossSectionPrim, G4cout, G4endl, G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4PhysicsVector::GetMaxEnergy(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4PhysicsVector::GetVectorLength(), idxOfRegionModels, G4InuclParticleNames::k0, G4RegionModels::LowEdgeEnergy(), G4INCL::Math::max(), MeV, mm, G4RegionModels::ModelIndex(), models, nEmModels, nRegions, G4RegionModels::NumberOfModels(), particle, G4PhysicsVector::PutValue(), reg, setOfRegionModels, and verboseLevel.
Referenced by G4VEmProcess::BuildLambdaTable(), and G4VEnergyLossProcess::BuildLambdaTable().
G4VEmModel * G4EmModelManager::GetModel | ( | G4int | idx, |
G4bool | ver = false |
||
) |
Definition at line 169 of file G4EmModelManager.cc.
References G4cout, G4endl, G4ParticleDefinition::GetParticleName(), models, nEmModels, particle, and verboseLevel.
Referenced by G4VEmProcess::GetModelByIndex(), G4VMultipleScattering::GetModelByIndex(), G4VEnergyLossProcess::GetModelByIndex(), G4VEmProcess::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), and G4VMultipleScattering::StorePhysicsTable().
G4VEmModel * G4EmModelManager::GetRegionModel | ( | G4int | idx, |
size_t | index_couple | ||
) |
Definition at line 187 of file G4EmModelManager.cc.
References idxOfRegionModels, G4RegionModels::ModelIndex(), models, NumberOfModels(), and setOfRegionModels.
const G4DataVector * G4EmModelManager::Initialise | ( | const G4ParticleDefinition * | part, |
const G4ParticleDefinition * | secPart, | ||
G4double | , | ||
G4int | verb | ||
) |
Definition at line 204 of file G4EmModelManager.cc.
References Clear(), currModel, currRegionModel, G4Electron::Electron(), eV, FatalException, flucModels, G4cout, G4endl, G4Exception(), G4Gamma::Gamma(), G4ProductionCutsTable::GetEnergyCutsVector(), G4RegionStore::GetInstance(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4Region::GetName(), G4VEmModel::GetName(), G4ParticleDefinition::GetParticleName(), G4MaterialCutsCouple::GetProductionCuts(), G4ProductionCutsTable::GetProductionCutsTable(), G4RegionStore::GetRegion(), G4ProductionCutsTable::GetTableSize(), G4VEmModel::HighEnergyActivationLimit(), G4VEmModel::HighEnergyLimit(), idxOfRegionModels, G4VEmModel::Initialise(), isUsed, G4VEmModel::LowEnergyActivationLimit(), G4VEmModel::LowEnergyLimit(), eplot::material, G4INCL::Math::max(), MeV, G4INCL::Math::min(), G4VEmModel::MinEnergyCut(), G4RegionModels::ModelIndex(), models, CLHEP::detail::n, nEmModels, G4InuclParticleNames::nn, nRegions, G4RegionModels::NumberOfModels(), orderOfModels, particle, G4Positron::Positron(), reg, regions, setOfRegionModels, severalModels, theCuts, theCutsNew, and verboseLevel.
Referenced by G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4AdjointBremsstrahlungModel::DiffCrossSectionPerVolumePrimToSecond(), G4VEmProcess::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), and G4VMultipleScattering::PreparePhysicsTable().
|
inline |
Definition at line 256 of file G4EmModelManager.hh.
References nEmModels.
Referenced by GetRegionModel(), G4VEmProcess::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VMultipleScattering::PreparePhysicsTable(), and G4VMultipleScattering::StorePhysicsTable().
G4int G4EmModelManager::NumberOfRegionModels | ( | size_t | index_couple | ) | const |
Definition at line 195 of file G4EmModelManager.cc.
References idxOfRegionModels, G4RegionModels::NumberOfModels(), and setOfRegionModels.
|
delete |
|
inline |
Definition at line 229 of file G4EmModelManager.hh.
References currModel, currRegionModel, idxOfRegionModels, models, nRegions, G4RegionModels::SelectIndex(), setOfRegionModels, and severalModels.
Referenced by G4VEnergyLossProcess::SelectModel(), G4VMultipleScattering::SelectModel(), G4VEmProcess::SelectModel(), G4VEnergyLossProcess::SelectModelForMaterial(), and G4VEmProcess::SelectModelForMaterial().
|
inline |
Definition at line 249 of file G4EmModelManager.hh.
References fluoFlag.
Referenced by G4VEmProcess::PreparePhysicsTable().
Definition at line 150 of file G4EmModelManager.cc.
|
private |
Definition at line 206 of file G4EmModelManager.hh.
Referenced by Initialise(), and SelectModel().
|
private |
Definition at line 205 of file G4EmModelManager.hh.
Referenced by Initialise(), and SelectModel().
|
private |
Definition at line 216 of file G4EmModelManager.hh.
Referenced by AddEmModel(), G4EmModelManager(), and Initialise().
|
private |
Definition at line 213 of file G4EmModelManager.hh.
Referenced by DumpModelList(), and SetFluoFlag().
|
private |
Definition at line 221 of file G4EmModelManager.hh.
Referenced by FillDEDXVector(), FillLambdaVector(), GetRegionModel(), Initialise(), NumberOfRegionModels(), and SelectModel().
|
private |
Definition at line 219 of file G4EmModelManager.hh.
Referenced by AddEmModel(), G4EmModelManager(), and Initialise().
|
private |
Definition at line 215 of file G4EmModelManager.hh.
Referenced by AddEmModel(), DumpModelList(), FillDEDXVector(), FillLambdaVector(), G4EmModelManager(), GetModel(), GetRegionModel(), Initialise(), SelectModel(), and UpdateEmModel().
|
private |
Definition at line 208 of file G4EmModelManager.hh.
Referenced by AddEmModel(), DumpModelList(), FillDEDXVector(), FillLambdaVector(), GetModel(), Initialise(), NumberOfModels(), and UpdateEmModel().
|
private |
Definition at line 209 of file G4EmModelManager.hh.
Referenced by DumpModelList(), FillDEDXVector(), FillLambdaVector(), Initialise(), and SelectModel().
|
private |
Definition at line 218 of file G4EmModelManager.hh.
Referenced by AddEmModel(), G4EmModelManager(), and Initialise().
|
private |
Definition at line 200 of file G4EmModelManager.hh.
Referenced by emcalc_gui.MainWindow::cb_select_particle(), emcalc_gui.MainWindow::cb_show_plot(), FillDEDXVector(), FillLambdaVector(), GetModel(), and Initialise().
|
private |
Definition at line 217 of file G4EmModelManager.hh.
Referenced by AddEmModel(), G4EmModelManager(), and Initialise().
|
private |
Definition at line 222 of file G4EmModelManager.hh.
Referenced by Clear(), DumpModelList(), FillDEDXVector(), FillLambdaVector(), GetRegionModel(), Initialise(), NumberOfRegionModels(), and SelectModel().
|
private |
Definition at line 212 of file G4EmModelManager.hh.
Referenced by Initialise(), and SelectModel().
|
private |
Definition at line 201 of file G4EmModelManager.hh.
Referenced by Cuts(), FillDEDXVector(), and Initialise().
|
private |
Definition at line 202 of file G4EmModelManager.hh.
Referenced by DumpModelList(), Initialise(), and ~G4EmModelManager().
|
private |
Definition at line 211 of file G4EmModelManager.hh.
Referenced by Clear(), FillDEDXVector(), FillLambdaVector(), GetModel(), Initialise(), and ~G4EmModelManager().