Geant4  10.00.p01
G4EnergyLossTables Class Reference

#include <G4EnergyLossTables.hh>

+ Collaboration diagram for G4EnergyLossTables:

Public Types

typedef const
G4ParticleDefinition
K
 

Static Public Member Functions

static const G4PhysicsTableGetDEDXTable (const G4ParticleDefinition *p)
 
static const G4PhysicsTableGetRangeTable (const G4ParticleDefinition *p)
 
static const G4PhysicsTableGetInverseRangeTable (const G4ParticleDefinition *p)
 
static const G4PhysicsTableGetLabTimeTable (const G4ParticleDefinition *p)
 
static const G4PhysicsTableGetProperTimeTable (const G4ParticleDefinition *p)
 
static G4double GetDEDX (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
 
static G4double GetRange (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
 
static G4double GetLabTime (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
 
static G4double GetDeltaLabTime (const G4ParticleDefinition *aParticle, G4double KineticEnergyStart, G4double KineticEnergyEnd, const G4Material *aMaterial)
 
static G4double GetProperTime (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
 
static G4double GetDeltaProperTime (const G4ParticleDefinition *aParticle, G4double KineticEnergyStart, G4double KineticEnergyEnd, const G4Material *aMaterial)
 
static G4double GetPreciseDEDX (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
 
static G4double GetPreciseRangeFromEnergy (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
 
static G4double GetPreciseEnergyFromRange (const G4ParticleDefinition *aParticle, G4double range, const G4Material *aMaterial)
 
static G4double GetDEDX (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4MaterialCutsCouple *couple, G4bool check=true)
 
static G4double GetRange (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4MaterialCutsCouple *couple, G4bool check=true)
 
static G4double GetPreciseDEDX (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4MaterialCutsCouple *couple)
 
static G4double GetPreciseRangeFromEnergy (const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4MaterialCutsCouple *couple)
 
static G4double GetPreciseEnergyFromRange (const G4ParticleDefinition *aParticle, G4double range, const G4MaterialCutsCouple *couple, G4bool check=true)
 
static void Register (const G4ParticleDefinition *p, const G4PhysicsTable *tDEDX, const G4PhysicsTable *tRange, const G4PhysicsTable *tInverseRange, const G4PhysicsTable *tLabTime, const G4PhysicsTable *tProperTime, G4double lowestKineticEnergy, G4double highestKineticEnergy, G4double massRatio, G4int NumberOfBins)
 

Private Types

typedef std::map< K,
G4EnergyLossTablesHelper,
std::less< K > > 
helper_map
 

Static Private Member Functions

static void CPRWarning ()
 
static void ParticleHaveNoLoss (const G4ParticleDefinition *aParticle, const G4String &)
 
static G4EnergyLossTablesHelper GetTables (const G4ParticleDefinition *p)
 

Static Private Attributes

static helper_mapdict = 0
 
static G4EnergyLossTablesHelpert = 0
 
static G4EnergyLossTablesHelpernull_loss = 0
 
static G4ParticleDefinitionlastParticle = 0
 
static G4double QQPositron = 1.0
 
static G4double Chargesquare
 
static G4int oldIndex = -1
 
static G4double rmin = 0.
 
static G4double rmax = 0.
 
static G4double Thigh = 0.
 
static G4int let_counter = 0
 
static G4int let_max_num_warnings = 100
 
static G4bool first_loss = true
 

Detailed Description

Definition at line 105 of file G4EnergyLossTables.hh.

Member Typedef Documentation

typedef std::map<K,G4EnergyLossTablesHelper,std::less<K> > G4EnergyLossTables::helper_map
private

Definition at line 228 of file G4EnergyLossTables.hh.

Definition at line 203 of file G4EnergyLossTables.hh.

Member Function Documentation

void G4EnergyLossTables::CPRWarning ( )
staticprivate

Definition at line 1058 of file G4EnergyLossTables.cc.

References G4cout, G4endl, let_counter, and let_max_num_warnings.

Referenced by GetDEDX(), GetDeltaLabTime(), GetDeltaProperTime(), GetLabTime(), GetPreciseDEDX(), GetPreciseEnergyFromRange(), GetPreciseRangeFromEnergy(), GetProperTime(), and GetRange().

+ Here is the caller graph for this function:

G4double G4EnergyLossTables::GetDEDX ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4Material aMaterial 
)
static

Definition at line 220 of file G4EnergyLossTables.cc.

References Chargesquare, CPRWarning(), G4Material::GetIndex(), G4ParticleDefinition::GetPDGCharge(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), QQPositron, t, G4EnergyLossTablesHelper::theDEDXTable, G4EnergyLossTablesHelper::theHighestKineticEnergy, G4EnergyLossTablesHelper::theLowestKineticEnergy, and G4EnergyLossTablesHelper::theMassRatio.

Referenced by G4hImpactIonisation::ComputeDEDX(), and G4hImpactIonisation::GetConstraints().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4EnergyLossTables::GetDEDX ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4MaterialCutsCouple couple,
G4bool  check = true 
)
static
const G4PhysicsTable * G4EnergyLossTables::GetDEDXTable ( const G4ParticleDefinition p)
static

Definition at line 150 of file G4EnergyLossTables.cc.

References dict.

G4double G4EnergyLossTables::GetDeltaLabTime ( const G4ParticleDefinition aParticle,
G4double  KineticEnergyStart,
G4double  KineticEnergyEnd,
const G4Material aMaterial 
)
static

Definition at line 321 of file G4EnergyLossTables.cc.

References CPRWarning(), G4Material::GetIndex(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), t, G4EnergyLossTablesHelper::theHighestKineticEnergy, G4EnergyLossTablesHelper::theLabTimeTable, G4EnergyLossTablesHelper::theLowestKineticEnergy, and G4EnergyLossTablesHelper::theMassRatio.

+ Here is the call graph for this function:

G4double G4EnergyLossTables::GetDeltaProperTime ( const G4ParticleDefinition aParticle,
G4double  KineticEnergyStart,
G4double  KineticEnergyEnd,
const G4Material aMaterial 
)
static

Definition at line 455 of file G4EnergyLossTables.cc.

References CPRWarning(), G4Material::GetIndex(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), t, G4EnergyLossTablesHelper::theHighestKineticEnergy, G4EnergyLossTablesHelper::theLowestKineticEnergy, G4EnergyLossTablesHelper::theMassRatio, and G4EnergyLossTablesHelper::theProperTimeTable.

+ Here is the call graph for this function:

const G4PhysicsTable * G4EnergyLossTables::GetInverseRangeTable ( const G4ParticleDefinition p)
static

Definition at line 172 of file G4EnergyLossTables.cc.

References dict.

G4double G4EnergyLossTables::GetLabTime ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4Material aMaterial 
)
static

Definition at line 271 of file G4EnergyLossTables.cc.

References CPRWarning(), G4Material::GetIndex(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), t, G4EnergyLossTablesHelper::theHighestKineticEnergy, G4EnergyLossTablesHelper::theLabTimeTable, G4EnergyLossTablesHelper::theLowestKineticEnergy, and G4EnergyLossTablesHelper::theMassRatio.

+ Here is the call graph for this function:

const G4PhysicsTable * G4EnergyLossTables::GetLabTimeTable ( const G4ParticleDefinition p)
static

Definition at line 183 of file G4EnergyLossTables.cc.

References dict.

G4double G4EnergyLossTables::GetPreciseDEDX ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4Material aMaterial 
)
static
G4double G4EnergyLossTables::GetPreciseDEDX ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4MaterialCutsCouple couple 
)
static
G4double G4EnergyLossTables::GetPreciseEnergyFromRange ( const G4ParticleDefinition aParticle,
G4double  range,
const G4Material aMaterial 
)
static

Definition at line 594 of file G4EnergyLossTables.cc.

References Chargesquare, CPRWarning(), G4Material::GetIndex(), G4ParticleDefinition::GetPDGCharge(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), QQPositron, rmax, rmin, t, G4EnergyLossTablesHelper::theDEDXTable, G4EnergyLossTablesHelper::theInverseRangeTable, G4EnergyLossTablesHelper::theLowestKineticEnergy, G4EnergyLossTablesHelper::theMassRatio, G4EnergyLossTablesHelper::theNumberOfBins, and Thigh.

Referenced by G4eLowEnergyLoss::AlongStepDoIt(), and G4hImpactIonisation::AlongStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4EnergyLossTables::GetPreciseEnergyFromRange ( const G4ParticleDefinition aParticle,
G4double  range,
const G4MaterialCutsCouple couple,
G4bool  check = true 
)
static
G4double G4EnergyLossTables::GetPreciseRangeFromEnergy ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4Material aMaterial 
)
static
G4double G4EnergyLossTables::GetPreciseRangeFromEnergy ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4MaterialCutsCouple couple 
)
static
G4double G4EnergyLossTables::GetProperTime ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4Material aMaterial 
)
static

Definition at line 405 of file G4EnergyLossTables.cc.

References CPRWarning(), G4Material::GetIndex(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), t, G4EnergyLossTablesHelper::theHighestKineticEnergy, G4EnergyLossTablesHelper::theLowestKineticEnergy, G4EnergyLossTablesHelper::theMassRatio, and G4EnergyLossTablesHelper::theProperTimeTable.

+ Here is the call graph for this function:

const G4PhysicsTable * G4EnergyLossTables::GetProperTimeTable ( const G4ParticleDefinition p)
static

Definition at line 194 of file G4EnergyLossTables.cc.

References dict.

G4double G4EnergyLossTables::GetRange ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4Material aMaterial 
)
static

Definition at line 539 of file G4EnergyLossTables.cc.

References Chargesquare, CPRWarning(), G4Material::GetIndex(), G4ParticleDefinition::GetPDGCharge(), GetTables(), lastParticle, oldIndex, ParticleHaveNoLoss(), QQPositron, t, G4EnergyLossTablesHelper::theDEDXTable, G4EnergyLossTablesHelper::theHighestKineticEnergy, G4EnergyLossTablesHelper::theLowestKineticEnergy, G4EnergyLossTablesHelper::theMassRatio, and G4EnergyLossTablesHelper::theRangeTable.

Referenced by G4RDRangeTest::Escape(), G4hImpactIonisation::GetConstraints(), and G4MinEkineCuts::PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4EnergyLossTables::GetRange ( const G4ParticleDefinition aParticle,
G4double  KineticEnergy,
const G4MaterialCutsCouple couple,
G4bool  check = true 
)
static
const G4PhysicsTable * G4EnergyLossTables::GetRangeTable ( const G4ParticleDefinition p)
static

Definition at line 161 of file G4EnergyLossTables.cc.

References dict.

G4EnergyLossTablesHelper G4EnergyLossTables::GetTables ( const G4ParticleDefinition p)
staticprivate

Definition at line 205 of file G4EnergyLossTables.cc.

References dict, and null_loss.

Referenced by GetDEDX(), GetDeltaLabTime(), GetDeltaProperTime(), GetLabTime(), GetPreciseDEDX(), GetPreciseEnergyFromRange(), GetPreciseRangeFromEnergy(), GetProperTime(), GetRange(), and Register().

+ Here is the caller graph for this function:

void G4EnergyLossTables::ParticleHaveNoLoss ( const G4ParticleDefinition aParticle,
const G4String  
)
staticprivate

Definition at line 1080 of file G4EnergyLossTables.cc.

Referenced by GetDEDX(), GetDeltaLabTime(), GetDeltaProperTime(), GetLabTime(), GetPreciseDEDX(), GetPreciseEnergyFromRange(), GetPreciseRangeFromEnergy(), GetProperTime(), and GetRange().

+ Here is the caller graph for this function:

void G4EnergyLossTables::Register ( const G4ParticleDefinition p,
const G4PhysicsTable tDEDX,
const G4PhysicsTable tRange,
const G4PhysicsTable tInverseRange,
const G4PhysicsTable tLabTime,
const G4PhysicsTable tProperTime,
G4double  lowestKineticEnergy,
G4double  highestKineticEnergy,
G4double  massRatio,
G4int  NumberOfBins 
)
static

Definition at line 118 of file G4EnergyLossTables.cc.

References Chargesquare, dict, first_loss, G4ParticleDefinition::GetPDGCharge(), GetTables(), lastParticle, null_loss, QQPositron, and t.

Referenced by G4eLowEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildDEDXTable(), and G4hImpactIonisation::BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4EnergyLossTables::Chargesquare
staticprivate
G4EnergyLossTables::helper_map * G4EnergyLossTables::dict = 0
staticprivate
G4bool G4EnergyLossTables::first_loss = true
staticprivate

Definition at line 242 of file G4EnergyLossTables.hh.

Referenced by Register().

G4int G4EnergyLossTables::let_counter = 0
staticprivate

Definition at line 240 of file G4EnergyLossTables.hh.

Referenced by CPRWarning().

G4int G4EnergyLossTables::let_max_num_warnings = 100
staticprivate

Definition at line 241 of file G4EnergyLossTables.hh.

Referenced by CPRWarning().

G4EnergyLossTablesHelper * G4EnergyLossTables::null_loss = 0
staticprivate

Definition at line 234 of file G4EnergyLossTables.hh.

Referenced by GetTables(), and Register().

G4double G4EnergyLossTables::QQPositron = 1.0
staticprivate
G4double G4EnergyLossTables::rmax = 0.
staticprivate

Definition at line 239 of file G4EnergyLossTables.hh.

Referenced by GetPreciseEnergyFromRange().

G4double G4EnergyLossTables::rmin = 0.
staticprivate

Definition at line 239 of file G4EnergyLossTables.hh.

Referenced by GetPreciseEnergyFromRange().

G4double G4EnergyLossTables::Thigh = 0.
staticprivate

Definition at line 239 of file G4EnergyLossTables.hh.

Referenced by GetPreciseEnergyFromRange().


The documentation for this class was generated from the following files: