Geant4.10
|
#include <G4EmCalculator.hh>
Definition at line 80 of file G4EmCalculator.hh.
G4EmCalculator::G4EmCalculator | ( | ) |
Definition at line 89 of file G4EmCalculator.cc.
References G4LossTableManager::EmCorrections(), G4GenericIon::GenericIon(), G4ParticleTable::GetIonTable(), G4ParticleTable::GetParticleTable(), and G4LossTableManager::Instance().
G4EmCalculator::~G4EmCalculator | ( | ) |
Definition at line 122 of file G4EmCalculator.cc.
G4double G4EmCalculator::ComputeCrossSectionPerAtom | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4String & | processName, | ||
G4double | Z, | ||
G4double | A, | ||
G4double | cut = 0.0 |
||
) |
Definition at line 705 of file G4EmCalculator.cc.
References python.hepunit::barn, G4VEmModel::ComputeCrossSectionPerAtom(), g(), G4cout, G4endl, G4lrint(), G4ParticleDefinition::GetParticleName(), G4VEmModel::InitialiseForElement(), python.hepunit::MeV, and python.hepunit::mole.
Referenced by RunAction::BeginOfRunAction(), and ComputeCrossSectionPerAtom().
G4double G4EmCalculator::ComputeCrossSectionPerAtom | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | processName, | ||
const G4Element * | elm, | ||
G4double | cut = 0.0 |
||
) |
Definition at line 739 of file G4EmCalculator.cc.
References ComputeCrossSectionPerAtom(), FindParticle(), G4Element::GetN(), and G4Element::GetZ().
G4double G4EmCalculator::ComputeCrossSectionPerVolume | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4String & | processName, | ||
const G4Material * | mat, | ||
G4double | cut = 0.0 |
||
) |
Definition at line 656 of file G4EmCalculator.cc.
References python.hepunit::cm, G4VEmModel::CrossSectionPerVolume(), G4cout, G4endl, G4Material::GetName(), G4ParticleDefinition::GetParticleName(), python.hepunit::keV, and python.hepunit::MeV.
Referenced by RunAction::BeginOfRunAction(), ComputeCrossSectionPerVolume(), ComputeGammaAttenuationLength(), ComputeMeanFreePath(), and GetCrossSectionPerVolume().
G4double G4EmCalculator::ComputeCrossSectionPerVolume | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | proc, | ||
const G4String & | mat, | ||
G4double | cut = 0.0 |
||
) |
Definition at line 691 of file G4EmCalculator.cc.
References ComputeCrossSectionPerVolume(), FindMaterial(), and FindParticle().
G4double G4EmCalculator::ComputeDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4String & | processName, | ||
const G4Material * | mat, | ||
G4double | cut = DBL_MAX |
||
) |
Definition at line 448 of file G4EmCalculator.cc.
References python.hepunit::cm2, G4VEmModel::ComputeDEDXPerVolume(), G4VEmModel::CorrectionsAlongStep(), FindCouple(), G4cout, G4endl, G4VEmModel::GetChargeSquareRatio(), G4Material::GetDensity(), G4Material::GetName(), G4VEmModel::GetName(), G4ParticleDefinition::GetParticleName(), python.hepunit::gram, G4VEmModel::LowEnergyLimit(), python.hepunit::MeV, python.hepunit::mm, and G4DynamicParticle::SetKineticEnergy().
Referenced by RunAction::BeginOfRunAction(), ComputeDEDX(), ComputeElectronicDEDX(), and RunAction::CriticalEnergy().
G4double G4EmCalculator::ComputeDEDX | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | proc, | ||
const G4String & | mat, | ||
G4double | cut = DBL_MAX |
||
) |
Definition at line 615 of file G4EmCalculator.cc.
References ComputeDEDX(), FindMaterial(), and FindParticle().
G4double G4EmCalculator::ComputeElectronicDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | part, | ||
const G4Material * | mat, | ||
G4double | cut = DBL_MAX |
||
) |
Definition at line 551 of file G4EmCalculator.cc.
References ComputeDEDX(), G4LossTableManager::GetEnergyLossProcessVector(), G4Material::GetName(), G4LossTableManager::Instance(), and n.
Referenced by ComputeElectronicDEDX(), and ComputeTotalDEDX().
G4double G4EmCalculator::ComputeElectronicDEDX | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat, | ||
G4double | cut = DBL_MAX |
||
) |
Definition at line 585 of file G4EmCalculator.cc.
References ComputeElectronicDEDX(), FindMaterial(), and FindParticle().
G4double G4EmCalculator::ComputeEnergyCutFromRangeCut | ( | G4double | range, |
const G4ParticleDefinition * | part, | ||
const G4Material * | mat | ||
) |
Definition at line 820 of file G4EmCalculator.cc.
References G4ProductionCutsTable::GetProductionCutsTable().
Referenced by ComputeEnergyCutFromRangeCut().
G4double G4EmCalculator::ComputeEnergyCutFromRangeCut | ( | G4double | range, |
const G4String & | particle, | ||
const G4String & | material | ||
) |
Definition at line 831 of file G4EmCalculator.cc.
References ComputeEnergyCutFromRangeCut(), FindMaterial(), and FindParticle().
G4double G4EmCalculator::ComputeGammaAttenuationLength | ( | G4double | kinEnergy, |
const G4Material * | mat | ||
) |
Definition at line 753 of file G4EmCalculator.cc.
References ComputeCrossSectionPerVolume(), and G4Gamma::Gamma().
G4double G4EmCalculator::ComputeMeanFreePath | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4String & | processName, | ||
const G4Material * | mat, | ||
G4double | cut = 0.0 |
||
) |
Definition at line 787 of file G4EmCalculator.cc.
References ComputeCrossSectionPerVolume(), DBL_MAX, G4cout, G4endl, G4Material::GetName(), G4ParticleDefinition::GetParticleName(), python.hepunit::MeV, python.hepunit::mm, and test::x.
Referenced by ComputeMeanFreePath().
G4double G4EmCalculator::ComputeMeanFreePath | ( | G4double | kinEnergy, |
const G4String & | particle, | ||
const G4String & | processName, | ||
const G4String & | processName, | ||
G4double | cut = 0.0 |
||
) |
Definition at line 808 of file G4EmCalculator.cc.
References ComputeMeanFreePath(), FindMaterial(), and FindParticle().
G4double G4EmCalculator::ComputeNuclearDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4Material * | mat | ||
) |
Definition at line 627 of file G4EmCalculator.cc.
References python.hepunit::cm2, G4cout, G4endl, G4Material::GetDensity(), G4ParticleDefinition::GetParticleName(), python.hepunit::gram, python.hepunit::MeV, python.hepunit::mm, and G4EmCorrections::NuclearDEDX().
Referenced by ComputeNuclearDEDX(), and ComputeTotalDEDX().
G4double G4EmCalculator::ComputeNuclearDEDX | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat | ||
) |
Definition at line 646 of file G4EmCalculator.cc.
References ComputeNuclearDEDX(), FindMaterial(), and FindParticle().
G4double G4EmCalculator::ComputeShellIonisationCrossSectionPerAtom | ( | const G4String & | part, |
G4int | Z, | ||
G4AtomicShellEnumerator | shell, | ||
G4double | kinEnergy, | ||
const G4Material * | mat = 0 |
||
) |
Definition at line 768 of file G4EmCalculator.cc.
References G4LossTableManager::AtomDeexcitation(), G4VAtomDeexcitation::ComputeShellIonisationCrossSectionPerAtom(), and FindParticle().
G4double G4EmCalculator::ComputeTotalDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | part, | ||
const G4Material * | mat, | ||
G4double | cut = DBL_MAX |
||
) |
Definition at line 593 of file G4EmCalculator.cc.
References ComputeElectronicDEDX(), ComputeNuclearDEDX(), and python.hepunit::MeV.
Referenced by ComputeTotalDEDX(), RunAction::GetEnergyFromCSDARange(), HadrontherapyInteractionParameters::GetStopping(), IORTInteractionParameters::GetStopping(), HadrontherapyInteractionParameters::GetStoppingTable(), IORTInteractionParameters::GetStoppingTable(), and Run::PrintSummary().
G4double G4EmCalculator::ComputeTotalDEDX | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat, | ||
G4double | cut = DBL_MAX |
||
) |
Definition at line 605 of file G4EmCalculator.cc.
References ComputeTotalDEDX(), FindMaterial(), and FindParticle().
const G4MaterialCutsCouple * G4EmCalculator::FindCouple | ( | const G4Material * | material, |
const G4Region * | r = 0 |
||
) |
Definition at line 958 of file G4EmCalculator.cc.
References FatalException, G4Exception(), G4RegionStore::GetInstance(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4Material::GetName(), G4Region::GetProductionCuts(), G4ProductionCutsTable::GetProductionCutsTable(), and eplot::material.
Referenced by ComputeDEDX(), export_G4EmCalculator(), GetCrossSectionPerVolume(), GetCSDARange(), GetDEDX(), GetKinEnergy(), GetRange(), and GetRangeFromRestricteDEDX().
const G4ParticleDefinition * G4EmCalculator::FindIon | ( | G4int | Z, |
G4int | A | ||
) |
Definition at line 922 of file G4EmCalculator.cc.
References G4IonTable::GetIon().
const G4Material * G4EmCalculator::FindMaterial | ( | const G4String & | name | ) |
Definition at line 930 of file G4EmCalculator.cc.
References G4cout, G4endl, and G4Material::GetMaterial().
Referenced by ComputeCrossSectionPerVolume(), ComputeDEDX(), ComputeElectronicDEDX(), ComputeEnergyCutFromRangeCut(), ComputeMeanFreePath(), ComputeNuclearDEDX(), ComputeTotalDEDX(), export_G4EmCalculator(), GetCrossSectionPerVolume(), GetCSDARange(), GetDEDX(), GetKinEnergy(), GetMeanFreePath(), GetRange(), and GetRangeFromRestricteDEDX().
const G4ParticleDefinition * G4EmCalculator::FindParticle | ( | const G4String & | name | ) |
Definition at line 905 of file G4EmCalculator.cc.
References G4ParticleTable::FindParticle(), G4cout, G4endl, and G4ParticleTable::GetParticleTable().
Referenced by ComputeCrossSectionPerAtom(), ComputeCrossSectionPerVolume(), ComputeDEDX(), ComputeElectronicDEDX(), ComputeEnergyCutFromRangeCut(), ComputeMeanFreePath(), ComputeNuclearDEDX(), ComputeShellIonisationCrossSectionPerAtom(), ComputeTotalDEDX(), export_G4EmCalculator(), GetCrossSectionPerVolume(), GetCSDARange(), GetDEDX(), GetKinEnergy(), GetMeanFreePath(), GetRange(), GetRangeFromRestricteDEDX(), GetShellIonisationCrossSectionPerAtom(), HadrontherapyInteractionParameters::ParseArg(), and IORTInteractionParameters::ParseArg().
Definition at line 945 of file G4EmCalculator.cc.
References G4RegionStore::GetInstance(), and G4RegionStore::GetRegion().
Referenced by export_G4EmCalculator(), GetCrossSectionPerVolume(), GetCSDARange(), GetDEDX(), GetKinEnergy(), GetMeanFreePath(), GetRange(), and GetRangeFromRestricteDEDX().
G4double G4EmCalculator::GetCrossSectionPerVolume | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4String & | processName, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 321 of file G4EmCalculator.cc.
References python.hepunit::cm, ComputeCrossSectionPerVolume(), FindCouple(), G4cout, G4endl, G4MaterialCutsCouple::GetIndex(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), and python.hepunit::MeV.
Referenced by RunAction::BeginOfRunAction(), GetCrossSectionPerVolume(), and GetMeanFreePath().
G4double G4EmCalculator::GetCrossSectionPerVolume | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | proc, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 358 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetCrossSectionPerVolume().
G4double G4EmCalculator::GetCSDARange | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 204 of file G4EmCalculator.cc.
References FindCouple(), G4cout, G4endl, G4Exception(), G4LossTableManager::GetCSDARange(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4LossTableManager::Instance(), JustWarning, python.hepunit::MeV, and python.hepunit::mm.
Referenced by RunAction::BeginOfRunAction(), Run::ComputeStatistics(), GetCSDARange(), and RunAction::GetEnergyFromCSDARange().
G4double G4EmCalculator::GetCSDARange | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 268 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetCSDARange().
G4double G4EmCalculator::GetDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 132 of file G4EmCalculator.cc.
References python.hepunit::cm2, G4VEmModel::CorrectionsAlongStep(), FindCouple(), G4cout, G4endl, G4VEmModel::GetChargeSquareRatio(), G4LossTableManager::GetDEDX(), G4Material::GetDensity(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), python.hepunit::gram, python.hepunit::MeV, python.hepunit::mm, and G4DynamicParticle::SetKineticEnergy().
Referenced by RunAction::BeginOfRunAction(), GetDEDX(), RunAction::GetEnergyFromRestrictedRange(), Run::PrintSummary(), and G4EnergySplitter::SplitEnergyInVolumes().
G4double G4EmCalculator::GetDEDX | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 173 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetDEDX().
G4double G4EmCalculator::GetKinEnergy | ( | G4double | range, |
const G4ParticleDefinition * | p, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 290 of file G4EmCalculator.cc.
References FindCouple(), G4cout, G4endl, G4LossTableManager::GetEnergy(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), python.hepunit::GeV, python.hepunit::MeV, and python.hepunit::mm.
Referenced by GetKinEnergy().
G4double G4EmCalculator::GetKinEnergy | ( | G4double | range, |
const G4String & | part, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 312 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetKinEnergy().
G4double G4EmCalculator::GetMeanFreePath | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4String & | processName, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 387 of file G4EmCalculator.cc.
References DBL_MAX, G4cout, G4endl, GetCrossSectionPerVolume(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), python.hepunit::MeV, python.hepunit::mm, and test::x.
Referenced by RunAction::BeginOfRunAction(), and GetMeanFreePath().
G4double G4EmCalculator::GetMeanFreePath | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | proc, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 408 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetMeanFreePath().
G4double G4EmCalculator::GetRange | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 235 of file G4EmCalculator.cc.
References FindCouple(), G4cout, G4endl, G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4LossTableManager::GetRange(), python.hepunit::MeV, and python.hepunit::mm.
Referenced by GetRange().
G4double G4EmCalculator::GetRange | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 279 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetRange().
G4double G4EmCalculator::GetRangeFromRestricteDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | p, | ||
const G4Material * | mat, | ||
const G4Region * | r = 0 |
||
) |
Definition at line 182 of file G4EmCalculator.cc.
References FindCouple(), G4cout, G4endl, G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4LossTableManager::GetRangeFromRestricteDEDX(), python.hepunit::MeV, and python.hepunit::mm.
Referenced by RunAction::BeginOfRunAction(), RunAction::GetEnergyFromRestrictedRange(), and GetRangeFromRestricteDEDX().
G4double G4EmCalculator::GetRangeFromRestricteDEDX | ( | G4double | kinEnergy, |
const G4String & | part, | ||
const G4String & | mat, | ||
const G4String & | s = "world" |
||
) |
Definition at line 257 of file G4EmCalculator.cc.
References FindMaterial(), FindParticle(), FindRegion(), and GetRangeFromRestricteDEDX().
G4double G4EmCalculator::GetShellIonisationCrossSectionPerAtom | ( | const G4String & | part, |
G4int | Z, | ||
G4AtomicShellEnumerator | shell, | ||
G4double | kinEnergy | ||
) |
Definition at line 370 of file G4EmCalculator.cc.
References G4LossTableManager::AtomDeexcitation(), FindParticle(), and G4VAtomDeexcitation::GetShellIonisationCrossSectionPerAtom().
void G4EmCalculator::PrintDEDXTable | ( | const G4ParticleDefinition * | p | ) |
Definition at line 420 of file G4EmCalculator.cc.
References G4VEnergyLossProcess::DEDXTable(), G4cout, G4endl, and G4ParticleDefinition::GetParticleName().
Referenced by export_G4EmCalculator().
void G4EmCalculator::PrintInverseRangeTable | ( | const G4ParticleDefinition * | p | ) |
Definition at line 438 of file G4EmCalculator.cc.
References G4cout, G4endl, G4ParticleDefinition::GetParticleName(), and G4VEnergyLossProcess::InverseRangeTable().
Referenced by export_G4EmCalculator().
void G4EmCalculator::PrintRangeTable | ( | const G4ParticleDefinition * | p | ) |
Definition at line 429 of file G4EmCalculator.cc.
References G4cout, G4endl, G4ParticleDefinition::GetParticleName(), and G4VEnergyLossProcess::RangeTableForLoss().
Referenced by export_G4EmCalculator().
Definition at line 1280 of file G4EmCalculator.cc.
Referenced by export_G4EmCalculator().