72 twoln10(
G4Log(100.0)),
75 beta2lim(betalim*betalim),
76 bg2lim(beta2lim*(1.0 + beta2lim))
115 if(
nullptr ==
dedx0) {
dedx0 =
new std::vector<G4double>; }
120 if(
n < numOfCouples) {
dedx0->resize(numOfCouples); }
125 for(
G4int i=0; i<numOfCouples; ++i) {
171 dedx = (kapa1*dedx1 + kapa2*dedx2)/(kapa1 + kapa2);
195 if(
nmpl > 1) k = 0.346;
198 const G4double B[7] = { 0.0, 0.248, 0.672, 1.022, 1.243, 1.464, 1.685};
200 dedx += 0.5 * k -
B[
nmpl];
207 if ( x < x1den ) deltam += aden * std::pow((x1den-x), mden);
208 dedx -= 0.5 * deltam;
214 if (dedx < 0.0) dedx = 0.;
239 siga = std::sqrt(siga);
240 G4double twomeanLoss = meanLoss + meanLoss;
242 if(twomeanLoss < siga) {
246 x = (loss - meanLoss)/siga;
253 }
while (0.0 > loss || loss > twomeanLoss);
static const G4double emax
G4double B(G4double temperature)
G4double G4Log(G4double x)
static constexpr double pi
G4double GetKineticEnergy() const
const G4Material * GetMaterial() const
G4double GetPDGMass() const
static G4Pow * GetInstance()
G4double A13(G4double A) const
const G4MaterialCutsCouple * GetMaterialCutsCouple(G4int i) const
std::size_t GetTableSize() const
static G4ProductionCutsTable * GetProductionCutsTable()
void SetHighEnergyLimit(G4double)
G4double LowEnergyLimit() const
G4double HighEnergyLimit() const
void SetLowEnergyLimit(G4double)
const G4MaterialCutsCouple * CurrentCouple() const
G4ParticleChangeForLoss * GetParticleChangeForLoss()
static std::vector< G4double > * dedx0
G4double pi_hbarc2_over_mc2
~G4mplIonisationModel() override
G4mplIonisationModel(G4double mCharge, const G4String &nam="mplIonisation")
G4ParticleChangeForLoss * fParticleChange
void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
const G4ParticleDefinition * monopole
G4double ComputeDEDXPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy) override
G4double ComputeDEDXAhlen(const G4Material *material, G4double bg2)
void SetParticle(const G4ParticleDefinition *p)
void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
G4double SampleFluctuations(const G4MaterialCutsCouple *, const G4DynamicParticle *, const G4double tcut, const G4double tmax, const G4double length, const G4double meanLoss) override
G4double Dispersion(const G4Material *, const G4DynamicParticle *, const G4double tcut, const G4double tmax, const G4double length) override
static constexpr double electron_mass_c2
static constexpr double GeV
static constexpr double fine_structure_const
static constexpr double g
static constexpr double cm2
static constexpr double hbarc
static constexpr double pi
ThreeVector shoot(const G4int Ap, const G4int Af)
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
float electron_Compton_length