71 : maxEnergyTransfer(
DBL_MAX), verbose(verb)
100 kinEnergyFinal = 0.0;
102 kinEnergyFinal -= step*
ComputeDEDX(kinEnergy,part,mat);
108 return kinEnergyFinal;
120 G4double kinEnergyFinal = kinEnergy;
127 kinEnergyFinal += step*
ComputeDEDX(kinEnergy,part,mat);
133 return kinEnergyFinal;
152 if(x < 0.2) { res *= (1.0 + 0.5*x + x*x/3.0); }
153 else if(x < 0.9999) { res = -
G4Log(1.0 - x)*stepLength/x; }
170 if(
nullptr == part ||
nullptr == mat || kinEnergy <
CLHEP::keV)
180 G4cout <<
"### G4EnergyLossForExtrapolator WARNING: material index i= "
181 << i <<
" above number of materials " <<
nmat <<
G4endl;
195 bg2 = tau * (tau + 2.0);
215 G4cout <<
"### G4EnergyLossForExtrapolator WARNING: "
216 <<
"FindParticle() fails to find " <<
name <<
G4endl;
304 sig2 = (1.0/
beta2 - 0.5)
333 G4cout <<
"### G4EnergyLossForExtrapolator::Initialisation tables= "
344#ifdef G4MULTITHREADED
353 G4cout <<
"### G4EnergyLossForExtrapolator::BuildTables for "
354 <<
nmat <<
" materials Nbins= "
358#ifdef G4MULTITHREADED
366#ifdef G4MULTITHREADED
370#ifdef G4MULTITHREADED
G4double G4Log(G4double x)
static constexpr double eplus
#define G4MUTEX_INITIALIZER
#define G4MUTEXLOCK(mutex)
#define G4MUTEXUNLOCK(mutex)
G4GLOB_DLL std::ostream G4cout
static G4Electron * Electron()
static size_t GetNumberOfMaterials()
G4double GetElectronDensity() const
G4double GetRadlen() const
static G4MuonMinus * MuonMinus()
static G4MuonPlus * MuonPlus()
G4double GetPDGMass() const
G4double GetPDGCharge() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
static G4Positron * Positron()
static G4Proton * Proton()
static constexpr double eplus
static constexpr double electron_mass_c2
static constexpr double proton_mass_c2
static constexpr double TeV
static constexpr double keV
static constexpr double MeV
static constexpr double twopi_mc2_rcl2
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
const char * name(G4int ptype)