Geant4-11
|
#include <G4EnergyLossForExtrapolator.hh>
Private Member Functions | |
G4double | ComputeValue (G4double x, const G4PhysicsTable *table, size_t idxMat) |
const G4ParticleDefinition * | FindParticle (const G4String &name) |
const G4PhysicsTable * | GetPhysicsTable (ExtTableType type) const |
G4bool | SetupKinematics (const G4ParticleDefinition *, const G4Material *, G4double kinEnergy) |
Private Attributes | |
G4double | beta2 = 0.0 |
G4double | bg2 = 0.0 |
G4double | charge2 = 0.0 |
const G4Material * | currentMaterial = nullptr |
const G4ParticleDefinition * | currentParticle = nullptr |
const G4ParticleDefinition * | electron = nullptr |
G4double | electronDensity = 0.0 |
G4double | emax = 0.0 |
G4double | emin = 0.0 |
G4double | gam = 1.0 |
size_t | index = 0 |
G4bool | isMaster = false |
G4double | kineticEnergy = 0.0 |
G4double | linLossLimit = 0.01 |
G4double | maxEnergyTransfer = 0.0 |
const G4ParticleDefinition * | muonMinus = nullptr |
const G4ParticleDefinition * | muonPlus = nullptr |
G4int | nbins = 80 |
size_t | nmat = 0 |
const G4ParticleDefinition * | positron = nullptr |
const G4ParticleDefinition * | proton = nullptr |
G4double | radLength = 0.0 |
G4double | tmax = 0.0 |
G4int | verbose = 0 |
Static Private Attributes | |
static G4TablesForExtrapolator * | tables = nullptr |
Definition at line 67 of file G4EnergyLossForExtrapolator.hh.
|
explicit |
Definition at line 70 of file G4EnergyLossForExtrapolator.cc.
References emax, emin, CLHEP::MeV, and CLHEP::TeV.
G4EnergyLossForExtrapolator::~G4EnergyLossForExtrapolator | ( | ) |
Definition at line 79 of file G4EnergyLossForExtrapolator.cc.
|
delete |
G4double G4EnergyLossForExtrapolator::AverageScatteringAngle | ( | G4double | kinEnergy, |
G4double | step, | ||
const G4Material * | mat, | ||
const G4ParticleDefinition * | part | ||
) |
Definition at line 312 of file G4EnergyLossForExtrapolator.cc.
References beta2, charge2, G4Log(), gam, G4ParticleDefinition::GetPDGMass(), G4INCL::Math::max(), CLHEP::MeV, radLength, and SetupKinematics().
Referenced by AverageScatteringAngle(), and ComputeTrueStep().
|
inline |
Definition at line 216 of file G4EnergyLossForExtrapolator.hh.
References AverageScatteringAngle(), FindParticle(), and G4InuclParticleNames::name().
G4double G4EnergyLossForExtrapolator::ComputeDEDX | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | part, | ||
const G4Material * | mat | ||
) |
Definition at line 224 of file G4EnergyLossForExtrapolator.cc.
References ComputeValue(), electron, CLHEP::eplus, fDedxElectron, fDedxMuon, fDedxPositron, fDedxProton, G4Material::GetIndex(), G4Material::GetNumberOfMaterials(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), GetPhysicsTable(), Initialisation(), muonMinus, muonPlus, nmat, positron, and CLHEP::proton_mass_c2.
Referenced by EnergyAfterStep(), and EnergyBeforeStep().
G4double G4EnergyLossForExtrapolator::ComputeEnergy | ( | G4double | range, |
const G4ParticleDefinition * | part, | ||
const G4Material * | mat | ||
) |
Definition at line 272 of file G4EnergyLossForExtrapolator.cc.
References ComputeValue(), electron, CLHEP::eplus, fInvRangeElectron, fInvRangeMuon, fInvRangePositron, fInvRangeProton, G4Material::GetIndex(), G4Material::GetNumberOfMaterials(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), GetPhysicsTable(), Initialisation(), muonMinus, muonPlus, nmat, positron, and CLHEP::proton_mass_c2.
Referenced by EnergyAfterStep(), and EnergyBeforeStep().
G4double G4EnergyLossForExtrapolator::ComputeRange | ( | G4double | kinEnergy, |
const G4ParticleDefinition * | part, | ||
const G4Material * | mat | ||
) |
Definition at line 247 of file G4EnergyLossForExtrapolator.cc.
References ComputeValue(), electron, CLHEP::eplus, fRangeElectron, fRangeMuon, fRangePositron, fRangeProton, G4Material::GetIndex(), G4Material::GetNumberOfMaterials(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), GetPhysicsTable(), Initialisation(), muonMinus, muonPlus, nmat, positron, and CLHEP::proton_mass_c2.
Referenced by EnergyAfterStep(), EnergyBeforeStep(), G4ErrorEnergyLoss::GetContinuousStepLimit(), and TrueStepLength().
|
inline |
Definition at line 238 of file G4EnergyLossForExtrapolator.hh.
References AverageScatteringAngle().
Referenced by EnergyDispersion(), and TrueStepLength().
|
inlineprivate |
Definition at line 250 of file G4EnergyLossForExtrapolator.hh.
References index.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), and TrueStepLength().
G4double G4EnergyLossForExtrapolator::EnergyAfterStep | ( | G4double | kinEnergy, |
G4double | step, | ||
const G4Material * | mat, | ||
const G4ParticleDefinition * | part | ||
) |
Definition at line 90 of file G4EnergyLossForExtrapolator.cc.
References ComputeDEDX(), ComputeEnergy(), ComputeRange(), linLossLimit, SetupKinematics(), and TrueStepLength().
Referenced by G4ErrorEnergyLoss::AlongStepDoIt(), and EnergyAfterStep().
|
inline |
Definition at line 194 of file G4EnergyLossForExtrapolator.hh.
References EnergyAfterStep(), FindParticle(), and G4InuclParticleNames::name().
G4double G4EnergyLossForExtrapolator::EnergyBeforeStep | ( | G4double | kinEnergy, |
G4double | step, | ||
const G4Material * | mat, | ||
const G4ParticleDefinition * | part | ||
) |
Definition at line 114 of file G4EnergyLossForExtrapolator.cc.
References ComputeDEDX(), ComputeEnergy(), ComputeRange(), linLossLimit, SetupKinematics(), and TrueStepLength().
Referenced by G4ErrorEnergyLoss::AlongStepDoIt(), and EnergyBeforeStep().
|
inline |
Definition at line 205 of file G4EnergyLossForExtrapolator.hh.
References EnergyBeforeStep(), FindParticle(), and G4InuclParticleNames::name().
G4double G4EnergyLossForExtrapolator::EnergyDispersion | ( | G4double | kinEnergy, |
G4double | step, | ||
const G4Material * | mat, | ||
const G4ParticleDefinition * | part | ||
) |
Definition at line 296 of file G4EnergyLossForExtrapolator.cc.
References beta2, charge2, ComputeTrueStep(), electronDensity, SetupKinematics(), tmax, and CLHEP::twopi_mc2_rcl2.
Referenced by EnergyDispersion().
|
inline |
Definition at line 227 of file G4EnergyLossForExtrapolator.hh.
References EnergyDispersion(), FindParticle(), and G4InuclParticleNames::name().
|
private |
Definition at line 211 of file G4EnergyLossForExtrapolator.cc.
References currentParticle, G4ParticleTable::FindParticle(), G4cout, G4endl, G4ParticleTable::GetParticleTable(), and G4InuclParticleNames::name().
Referenced by AverageScatteringAngle(), EnergyAfterStep(), EnergyBeforeStep(), and EnergyDispersion().
|
inlineprivate |
Definition at line 186 of file G4EnergyLossForExtrapolator.hh.
References G4TablesForExtrapolator::GetPhysicsTable(), and tables.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), and TrueStepLength().
void G4EnergyLossForExtrapolator::Initialisation | ( | ) |
Definition at line 330 of file G4EnergyLossForExtrapolator.cc.
References G4Electron::Electron(), electron, emax, emin, G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, G4Material::GetNumberOfMaterials(), G4TablesForExtrapolator::Initialisation(), isMaster, G4MuonMinus::MuonMinus(), muonMinus, G4MuonPlus::MuonPlus(), muonPlus, nbins, nmat, G4Positron::Positron(), positron, G4Proton::Proton(), proton, tables, and verbose.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), and SetupKinematics().
|
delete |
|
inline |
Definition at line 280 of file G4EnergyLossForExtrapolator.hh.
References maxEnergyTransfer.
|
inline |
Definition at line 273 of file G4EnergyLossForExtrapolator.hh.
References emax.
|
inline |
Definition at line 266 of file G4EnergyLossForExtrapolator.hh.
References emin.
|
private |
Definition at line 165 of file G4EnergyLossForExtrapolator.cc.
References beta2, bg2, charge2, currentMaterial, currentParticle, electron, CLHEP::electron_mass_c2, electronDensity, eplus, G4cout, G4endl, gam, G4Material::GetElectronDensity(), G4Material::GetIndex(), G4Material::GetNumberOfMaterials(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), G4Material::GetRadlen(), Initialisation(), CLHEP::keV, kineticEnergy, maxEnergyTransfer, G4INCL::Math::min(), nmat, positron, radLength, and tmax.
Referenced by AverageScatteringAngle(), EnergyAfterStep(), EnergyBeforeStep(), EnergyDispersion(), and TrueStepLength().
|
inline |
Definition at line 259 of file G4EnergyLossForExtrapolator.hh.
References verbose.
G4double G4EnergyLossForExtrapolator::TrueStepLength | ( | G4double | kinEnergy, |
G4double | step, | ||
const G4Material * | mat, | ||
const G4ParticleDefinition * | part | ||
) |
Definition at line 139 of file G4EnergyLossForExtrapolator.cc.
References ComputeRange(), ComputeTrueStep(), ComputeValue(), electron, fMscElectron, G4Log(), G4Material::GetIndex(), GetPhysicsTable(), positron, and SetupKinematics().
Referenced by EnergyAfterStep(), EnergyBeforeStep(), and G4EnergySplitter::SplitEnergyInVolumes().
|
private |
Definition at line 167 of file G4EnergyLossForExtrapolator.hh.
Referenced by AverageScatteringAngle(), EnergyDispersion(), and SetupKinematics().
|
private |
Definition at line 166 of file G4EnergyLossForExtrapolator.hh.
Referenced by SetupKinematics().
|
private |
Definition at line 163 of file G4EnergyLossForExtrapolator.hh.
Referenced by AverageScatteringAngle(), EnergyDispersion(), and SetupKinematics().
|
private |
Definition at line 159 of file G4EnergyLossForExtrapolator.hh.
Referenced by SetupKinematics().
|
private |
Definition at line 153 of file G4EnergyLossForExtrapolator.hh.
Referenced by FindParticle(), and SetupKinematics().
|
private |
Definition at line 154 of file G4EnergyLossForExtrapolator.hh.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), Initialisation(), SetupKinematics(), and TrueStepLength().
|
private |
Definition at line 161 of file G4EnergyLossForExtrapolator.hh.
Referenced by EnergyDispersion(), and SetupKinematics().
|
private |
Definition at line 172 of file G4EnergyLossForExtrapolator.hh.
Referenced by G4EnergyLossForExtrapolator(), Initialisation(), and SetMaxKinEnergy().
|
private |
Definition at line 171 of file G4EnergyLossForExtrapolator.hh.
Referenced by G4EnergyLossForExtrapolator(), Initialisation(), and SetMinKinEnergy().
|
private |
Definition at line 165 of file G4EnergyLossForExtrapolator.hh.
Referenced by AverageScatteringAngle(), and SetupKinematics().
|
private |
Definition at line 175 of file G4EnergyLossForExtrapolator.hh.
Referenced by ComputeValue().
|
private |
Definition at line 180 of file G4EnergyLossForExtrapolator.hh.
Referenced by Initialisation(), and ~G4EnergyLossForExtrapolator().
|
private |
Definition at line 164 of file G4EnergyLossForExtrapolator.hh.
Referenced by SetupKinematics().
|
private |
Definition at line 170 of file G4EnergyLossForExtrapolator.hh.
Referenced by EnergyAfterStep(), and EnergyBeforeStep().
|
private |
Definition at line 173 of file G4EnergyLossForExtrapolator.hh.
Referenced by SetMaxEnergyTransfer(), and SetupKinematics().
|
private |
Definition at line 157 of file G4EnergyLossForExtrapolator.hh.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), and Initialisation().
|
private |
Definition at line 156 of file G4EnergyLossForExtrapolator.hh.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), and Initialisation().
|
private |
Definition at line 177 of file G4EnergyLossForExtrapolator.hh.
Referenced by Initialisation().
|
private |
Definition at line 176 of file G4EnergyLossForExtrapolator.hh.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), Initialisation(), and SetupKinematics().
|
private |
Definition at line 155 of file G4EnergyLossForExtrapolator.hh.
Referenced by ComputeDEDX(), ComputeEnergy(), ComputeRange(), Initialisation(), SetupKinematics(), and TrueStepLength().
|
private |
Definition at line 158 of file G4EnergyLossForExtrapolator.hh.
Referenced by Initialisation().
|
private |
Definition at line 162 of file G4EnergyLossForExtrapolator.hh.
Referenced by AverageScatteringAngle(), and SetupKinematics().
|
staticprivate |
Definition at line 151 of file G4EnergyLossForExtrapolator.hh.
Referenced by GetPhysicsTable(), Initialisation(), and ~G4EnergyLossForExtrapolator().
|
private |
Definition at line 168 of file G4EnergyLossForExtrapolator.hh.
Referenced by EnergyDispersion(), and SetupKinematics().
|
private |
Definition at line 178 of file G4EnergyLossForExtrapolator.hh.
Referenced by Initialisation(), and SetVerbose().