ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/processes/cuts/include/G4VRangeToEnergyConverter.hh>
Public Member Functions | |
G4VRangeToEnergyConverter () | |
G4VRangeToEnergyConverter (const G4VRangeToEnergyConverter &right) | |
G4VRangeToEnergyConverter & | operator= (const G4VRangeToEnergyConverter &right) |
virtual | ~G4VRangeToEnergyConverter () |
G4bool | operator== (const G4VRangeToEnergyConverter &right) const |
G4bool | operator!= (const G4VRangeToEnergyConverter &right) 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 | |
typedef G4PhysicsTable | G4LossTable |
typedef G4PhysicsLogVector | G4LossVector |
typedef G4PhysicsLogVector | G4RangeVector |
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, size_t materialIndex) const |
Protected Attributes | |
G4double | fMaxEnergyCut |
const G4ParticleDefinition * | theParticle |
G4LossTable * | theLossTable |
G4int | NumberOfElements |
const G4int | TotBin |
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 |
Private Attributes | |
G4int | verboseLevel |
Definition at line 57 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 57 of file G4VRangeToEnergyConverter.hh
|
protected |
Definition at line 114 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 114 of file G4VRangeToEnergyConverter.hh
|
protected |
Definition at line 118 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 118 of file G4VRangeToEnergyConverter.hh
|
protected |
Definition at line 130 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 130 of file G4VRangeToEnergyConverter.hh
G4VRangeToEnergyConverter::G4VRangeToEnergyConverter | ( | ) |
Definition at line 47 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 47 of file G4VRangeToEnergyConverter.cc
References fMaxEnergyCut.
G4VRangeToEnergyConverter::G4VRangeToEnergyConverter | ( | const G4VRangeToEnergyConverter & | right | ) |
Definition at line 54 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 54 of file G4VRangeToEnergyConverter.cc
References G4PhysicsTable::clearAndDestroy(), fMaxEnergyCut, right, and theLossTable.
|
virtual |
Definition at line 116 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 116 of file G4VRangeToEnergyConverter.cc
References Reset().
|
protectedvirtual |
Definition at line 292 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 292 of file G4VRangeToEnergyConverter.cc
References ComputeLoss(), G4PhysicsVector::Energy(), G4cout, G4endl, G4Element::GetElementTable(), G4Element::GetNumberOfElements(), GetVerboseLevel(), G4PhysicsTable::insert(), LowestEnergy, MaxEnergyCut, NumberOfElements, G4PhysicsVector::PutValue(), Reset(), theLossTable, and TotBin.
Referenced by Convert().
|
protectedvirtual |
Reimplemented in G4RToEConvForGamma.
Definition at line 330 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 330 of file G4VRangeToEnergyConverter.cc
References G4Material::GetAtomicNumDensityVector(), G4Material::GetElementVector(), G4PhysicsVector::GetLowEdgeEnergy(), G4Material::GetNumberOfElements(), LowestEnergy, MaxEnergyCut, G4PhysicsVector::PutValue(), G4InuclParticleNames::s0, t, and TotBin.
Referenced by Convert().
|
protectedpure virtual |
Implemented in G4RToEConvForProton, G4RToEConvForGamma, G4RToEConvForElectron, and G4RToEConvForPositron.
Referenced by BuildLossTable().
|
virtual |
Reimplemented in G4RToEConvForProton.
Definition at line 147 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 147 of file G4VRangeToEnergyConverter.cc
References BuildLossTable(), BuildRangeVector(), cm3, ConvertCutToKineticEnergy(), fMaxEnergyCut, fRangeVectorStore, Acts::UnitConstants::g, G4cout, G4endl, G4Material::GetDensity(), G4Material::GetIndex(), G4Material::GetMaterialTable(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), GetVerboseLevel(), incremental_prev_tag::idx, keV, LowestEnergy, MaxEnergyCut, mm, Reset(), theParticle, and TotBin.
Referenced by G4ProductionCutsTable::ConvertRangeToEnergy(), and G4ProductionCutsTable::UpdateCoupleTable().
|
protected |
Definition at line 378 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 378 of file G4VRangeToEnergyConverter.cc
References epsilon(), G4cout, G4endl, G4PhysicsVector::GetLowEdgeEnergy(), G4ParticleDefinition::GetParticleName(), GetVerboseLevel(), LowestEnergy, MaxEnergyCut, mm, r, r1, rmax(), T, T1, T2, T3, theParticle, TotBin, and G4PhysicsVector::Value().
Referenced by Convert().
|
static |
Definition at line 248 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 248 of file G4VRangeToEnergyConverter.cc
References HighestEnergy.
Referenced by G4ProductionCutsTable::GetHighEdgeEnergy().
const G4PhysicsTable* G4VRangeToEnergyConverter::GetLossTable | ( | ) | const |
|
static |
Definition at line 242 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 242 of file G4VRangeToEnergyConverter.cc
References LowestEnergy.
Referenced by G4ProductionCutsTable::GetLowEdgeEnergy().
|
static |
Definition at line 256 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 256 of file G4VRangeToEnergyConverter.cc
References MaxEnergyCut.
Referenced by G4ProductionCutsTable::GetMaxEnergyCut().
|
inline |
Definition at line 171 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 171 of file G4VRangeToEnergyConverter.hh
References theParticle.
|
inline |
Definition at line 164 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 164 of file G4VRangeToEnergyConverter.hh
References verboseLevel.
Referenced by BuildLossTable(), Convert(), ConvertCutToKineticEnergy(), G4RToEConvForElectron::G4RToEConvForElectron(), G4RToEConvForGamma::G4RToEConvForGamma(), G4RToEConvForPositron::G4RToEConvForPositron(), and G4RToEConvForProton::G4RToEConvForProton().
G4bool G4VRangeToEnergyConverter::operator!= | ( | const G4VRangeToEnergyConverter & | right | ) | const |
Definition at line 138 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 138 of file G4VRangeToEnergyConverter.cc
References right.
G4VRangeToEnergyConverter & G4VRangeToEnergyConverter::operator= | ( | const G4VRangeToEnergyConverter & | right | ) |
Definition at line 65 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 65 of file G4VRangeToEnergyConverter.cc
References Acts::Test::at, G4PhysicsTable::clearAndDestroy(), fMaxEnergyCut, fRangeVectorStore, G4Element::GetNumberOfElements(), incremental_prev_tag::idx, G4PhysicsTable::insert(), LowestEnergy, MaxEnergyCut, NumberOfElements, G4PhysicsVector::PutValue(), theLossTable, theParticle, TotBin, and verboseLevel.
G4bool G4VRangeToEnergyConverter::operator== | ( | const G4VRangeToEnergyConverter & | right | ) | const |
Definition at line 133 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 133 of file G4VRangeToEnergyConverter.cc
References right.
|
virtual |
Reimplemented in G4RToEConvForProton.
Definition at line 269 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 269 of file G4VRangeToEnergyConverter.cc
References G4PhysicsTable::clearAndDestroy(), fRangeVectorStore, incremental_prev_tag::idx, NumberOfElements, and theLossTable.
Referenced by BuildLossTable(), Convert(), G4ProductionCutsTable::ResetConverters(), and ~G4VRangeToEnergyConverter().
Definition at line 222 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 222 of file G4VRangeToEnergyConverter.cc
References G4cerr, G4endl, G4Exception(), GeV, HighestEnergy, JustWarning, and LowestEnergy.
Referenced by G4ProductionCutsTable::SetEnergyRange().
Definition at line 261 of file G4VRangeToEnergyConverter.cc.
View newest version in sPHENIX GitHub at line 261 of file G4VRangeToEnergyConverter.cc
References MaxEnergyCut.
Referenced by G4ProductionCutsTable::SetMaxEnergyCut().
Definition at line 158 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 158 of file G4VRangeToEnergyConverter.hh
References verboseLevel.
Referenced by G4ProductionCutsTable::SetVerboseLevel(), and G4ProductionCutsTable::UpdateCoupleTable().
|
protected |
Definition at line 111 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 111 of file G4VRangeToEnergyConverter.hh
Referenced by Convert(), G4VRangeToEnergyConverter(), and operator=().
|
protected |
Definition at line 135 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 135 of file G4VRangeToEnergyConverter.hh
Referenced by Convert(), operator=(), and Reset().
|
staticprotected |
Definition at line 109 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 109 of file G4VRangeToEnergyConverter.hh
Referenced by GetHighEdgeEnergy(), and SetEnergyRange().
|
staticprotected |
Definition at line 109 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 109 of file G4VRangeToEnergyConverter.hh
Referenced by BuildLossTable(), BuildRangeVector(), Convert(), ConvertCutToKineticEnergy(), GetLowEdgeEnergy(), operator=(), and SetEnergyRange().
Definition at line 110 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 110 of file G4VRangeToEnergyConverter.hh
Referenced by BuildLossTable(), BuildRangeVector(), Convert(), ConvertCutToKineticEnergy(), GetMaxEnergyCut(), operator=(), and SetMaxEnergyCut().
|
protected |
Definition at line 116 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 116 of file G4VRangeToEnergyConverter.hh
Referenced by BuildLossTable(), operator=(), and Reset().
|
protected |
Definition at line 115 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 115 of file G4VRangeToEnergyConverter.hh
Referenced by G4RToEConvForGamma::BuildAbsorptionLengthVector(), BuildLossTable(), G4VRangeToEnergyConverter(), operator=(), and Reset().
|
protected |
Definition at line 113 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 113 of file G4VRangeToEnergyConverter.hh
Referenced by Convert(), ConvertCutToKineticEnergy(), G4RToEConvForElectron::G4RToEConvForElectron(), G4RToEConvForGamma::G4RToEConvForGamma(), G4RToEConvForPositron::G4RToEConvForPositron(), G4RToEConvForProton::G4RToEConvForProton(), GetParticleType(), and operator=().
|
protected |
Definition at line 119 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 119 of file G4VRangeToEnergyConverter.hh
Referenced by G4RToEConvForGamma::BuildAbsorptionLengthVector(), BuildLossTable(), BuildRangeVector(), Convert(), ConvertCutToKineticEnergy(), and operator=().
|
private |
Definition at line 153 of file G4VRangeToEnergyConverter.hh.
View newest version in sPHENIX GitHub at line 153 of file G4VRangeToEnergyConverter.hh
Referenced by GetVerboseLevel(), operator=(), and SetVerboseLevel().