Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VRangeToEnergyConverter.hh>
Public Member Functions | |
G4VRangeToEnergyConverter () | |
G4VRangeToEnergyConverter (const G4VRangeToEnergyConverter &r) | |
G4VRangeToEnergyConverter & | operator= (const G4VRangeToEnergyConverter &r) |
virtual | ~G4VRangeToEnergyConverter () |
G4bool | operator== (const G4VRangeToEnergyConverter &r) const |
G4bool | operator!= (const G4VRangeToEnergyConverter &r) const |
virtual G4double | Convert (G4double rangeCut, const G4Material *material) |
const G4ParticleDefinition * | GetParticleType () const |
const G4PhysicsTable * | GetLossTable () const |
virtual void | Reset () |
void | SetVerboseLevel (G4int value) |
G4int | GetVerboseLevel () const |
Static Public Member Functions | |
static void | SetEnergyRange (G4double lowedge, G4double highedge) |
static G4double | GetLowEdgeEnergy () |
static G4double | GetHighEdgeEnergy () |
static G4double | GetMaxEnergyCut () |
static void | SetMaxEnergyCut (G4double value) |
Protected Types | |
using | G4LossVector = G4PhysicsLogVector |
using | G4RangeVector = G4PhysicsLogVector |
using | G4LossTable = G4PhysicsTable |
Protected Member Functions | |
virtual void | BuildLossTable () |
virtual G4double | ComputeLoss (G4double AtomicNumber, G4double KineticEnergy)=0 |
virtual void | BuildRangeVector (const G4Material *aMaterial, G4RangeVector *rangeVector) |
G4double | ConvertCutToKineticEnergy (G4RangeVector *theRangeVector, G4double theCutInLength, std::size_t materialIndex) const |
Protected Attributes | |
G4double | fMaxEnergyCut = 0.0 |
const G4ParticleDefinition * | theParticle = nullptr |
G4LossTable * | theLossTable = nullptr |
G4int | NumberOfElements = 0 |
const G4int | TotBin = 300 |
std::vector< G4RangeVector * > | fRangeVectorStore |
Static Protected Attributes | |
static G4double | LowestEnergy = 0.99e-3*MeV |
static G4double | HighestEnergy = 100.0e6*MeV |
static G4double | MaxEnergyCut = 10.0*GeV |
Definition at line 51 of file G4VRangeToEnergyConverter.hh.
|
protected |
Definition at line 117 of file G4VRangeToEnergyConverter.hh.
|
protected |
Definition at line 115 of file G4VRangeToEnergyConverter.hh.
|
protected |
Definition at line 116 of file G4VRangeToEnergyConverter.hh.
G4VRangeToEnergyConverter::G4VRangeToEnergyConverter | ( | ) |
Definition at line 45 of file G4VRangeToEnergyConverter.cc.
G4VRangeToEnergyConverter::G4VRangeToEnergyConverter | ( | const G4VRangeToEnergyConverter & | r | ) |
Definition at line 50 of file G4VRangeToEnergyConverter.cc.
|
virtual |
Definition at line 116 of file G4VRangeToEnergyConverter.cc.
|
protectedvirtual |
Definition at line 295 of file G4VRangeToEnergyConverter.cc.
Referenced by Convert().
|
protectedvirtual |
Reimplemented in G4RToEConvForGamma.
Definition at line 337 of file G4VRangeToEnergyConverter.cc.
Referenced by Convert().
|
protectedpure virtual |
Implemented in G4RToEConvForElectron, G4RToEConvForGamma, G4RToEConvForPositron, and G4RToEConvForProton.
Referenced by BuildLossTable().
|
virtual |
Reimplemented in G4RToEConvForProton.
Definition at line 138 of file G4VRangeToEnergyConverter.cc.
Referenced by G4ProductionCutsTable::ConvertRangeToEnergy(), and G4ProductionCutsTable::UpdateCoupleTable().
|
protected |
Definition at line 395 of file G4VRangeToEnergyConverter.cc.
Referenced by Convert().
|
static |
Definition at line 251 of file G4VRangeToEnergyConverter.cc.
Referenced by G4ProductionCutsTable::GetHighEdgeEnergy().
const G4PhysicsTable * G4VRangeToEnergyConverter::GetLossTable | ( | ) | const |
|
static |
Definition at line 245 of file G4VRangeToEnergyConverter.cc.
Referenced by G4ProductionCutsTable::GetLowEdgeEnergy().
|
static |
Definition at line 259 of file G4VRangeToEnergyConverter.cc.
Referenced by G4ProductionCutsTable::GetMaxEnergyCut().
|
inline |
Definition at line 161 of file G4VRangeToEnergyConverter.hh.
|
inline |
Definition at line 155 of file G4VRangeToEnergyConverter.hh.
Referenced by BuildLossTable(), Convert(), ConvertCutToKineticEnergy(), G4RToEConvForElectron::G4RToEConvForElectron(), G4RToEConvForGamma::G4RToEConvForGamma(), G4RToEConvForPositron::G4RToEConvForPositron(), and G4RToEConvForProton::G4RToEConvForProton().
G4bool G4VRangeToEnergyConverter::operator!= | ( | const G4VRangeToEnergyConverter & | r | ) | const |
Definition at line 130 of file G4VRangeToEnergyConverter.cc.
G4VRangeToEnergyConverter & G4VRangeToEnergyConverter::operator= | ( | const G4VRangeToEnergyConverter & | r | ) |
Definition at line 58 of file G4VRangeToEnergyConverter.cc.
G4bool G4VRangeToEnergyConverter::operator== | ( | const G4VRangeToEnergyConverter & | r | ) | const |
Definition at line 123 of file G4VRangeToEnergyConverter.cc.
|
virtual |
Reimplemented in G4RToEConvForProton.
Definition at line 273 of file G4VRangeToEnergyConverter.cc.
Referenced by BuildLossTable(), Convert(), G4ProductionCutsTable::ResetConverters(), and ~G4VRangeToEnergyConverter().
Definition at line 223 of file G4VRangeToEnergyConverter.cc.
Referenced by G4ProductionCutsTable::SetEnergyRange().
|
static |
Definition at line 265 of file G4VRangeToEnergyConverter.cc.
Referenced by G4ProductionCutsTable::SetMaxEnergyCut().
|
inline |
Definition at line 149 of file G4VRangeToEnergyConverter.hh.
Referenced by G4ProductionCutsTable::SetVerboseLevel(), and G4ProductionCutsTable::UpdateCoupleTable().
|
protected |
Definition at line 129 of file G4VRangeToEnergyConverter.hh.
Referenced by Convert(), and operator=().
|
protected |
Definition at line 137 of file G4VRangeToEnergyConverter.hh.
Referenced by Convert(), operator=(), and Reset().
|
staticprotected |
Definition at line 127 of file G4VRangeToEnergyConverter.hh.
Referenced by GetHighEdgeEnergy(), and SetEnergyRange().
|
staticprotected |
Definition at line 127 of file G4VRangeToEnergyConverter.hh.
Referenced by BuildLossTable(), BuildRangeVector(), Convert(), ConvertCutToKineticEnergy(), GetLowEdgeEnergy(), operator=(), and SetEnergyRange().
|
staticprotected |
Definition at line 128 of file G4VRangeToEnergyConverter.hh.
Referenced by BuildLossTable(), BuildRangeVector(), Convert(), ConvertCutToKineticEnergy(), GetMaxEnergyCut(), operator=(), and SetMaxEnergyCut().
|
protected |
Definition at line 133 of file G4VRangeToEnergyConverter.hh.
Referenced by BuildLossTable(), operator=(), and Reset().
|
protected |
Definition at line 132 of file G4VRangeToEnergyConverter.hh.
Referenced by G4RToEConvForGamma::BuildAbsorptionLengthVector(), BuildLossTable(), operator=(), and Reset().
|
protected |
Definition at line 131 of file G4VRangeToEnergyConverter.hh.
Referenced by Convert(), ConvertCutToKineticEnergy(), G4RToEConvForElectron::G4RToEConvForElectron(), G4RToEConvForGamma::G4RToEConvForGamma(), G4RToEConvForPositron::G4RToEConvForPositron(), G4RToEConvForProton::G4RToEConvForProton(), GetParticleType(), and operator=().
|
protected |
Definition at line 135 of file G4VRangeToEnergyConverter.hh.
Referenced by G4RToEConvForGamma::BuildAbsorptionLengthVector(), BuildLossTable(), BuildRangeVector(), Convert(), ConvertCutToKineticEnergy(), and operator=().