68 : maxEnergyTransfer(
DBL_MAX), verbose(verb)
101 G4double kinEnergyFinal = kinEnergy;
106 kinEnergyFinal = 0.0;
108 kinEnergyFinal -= step*
ComputeDEDX(kinEnergy,part);
114 return kinEnergyFinal;
127 G4double kinEnergyFinal = kinEnergy;
134 kinEnergyFinal += step*
ComputeDEDX(kinEnergy,part);
140 return kinEnergyFinal;
160 if(x < 0.2) { res *= (1.0 + 0.5*x + x*x/3.0); }
161 else if(x < 0.9999) { res = -
G4Log(1.0 - x)*stepLength/
x; }
178 if(!part || !mat || kinEnergy <
keV) {
return false; }
190 G4cout <<
"### G4EnergyLossForExtrapolator WARNING:index i= "
191 << i <<
" is out of table - NO extrapolation" <<
G4endl;
205 bg2 = tau * (tau + 2.0);
227 G4cout <<
"### G4EnergyLossForExtrapolator WARNING: "
228 <<
"FindParticle() fails to find "
308 G4cout <<
"### G4EnergyLossForExtrapolator::Initialisation" <<
G4endl;
332 G4AutoLock l(&G4EnergyLossForExtrapolatorMutex);
336 G4cout <<
"### G4EnergyLossForExtrapolator::BuildTables for "
348 G4AutoLock l(&G4EnergyLossForExtrapolatorMutex);
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static size_t GetNumberOfMaterials()
static G4ParticleTable * GetParticleTable()
static constexpr double MeV
static constexpr double keV
G4double GetRadlen() const
G4double GetPDGCharge() const
static G4MuonMinus * MuonMinus()
static G4Proton * Proton()
G4double GetPDGMass() const
G4double G4Log(G4double x)
static constexpr double proton_mass_c2
static constexpr double TeV
#define G4MUTEX_INITIALIZER
const G4ParticleDefinition const G4Material *G4double range
static constexpr double electron_mass_c2
static G4Positron * Positron()
static G4Electron * Electron()
static constexpr double eplus
static G4MuonPlus * MuonPlus()
G4GLOB_DLL std::ostream G4cout
G4double GetElectronDensity() const