76 beta2lim(betalim*betalim),
77 bg2lim(beta2lim*(1.0 + beta2lim))
80 if(nmpl > 6) { nmpl = 6; }
81 else if(nmpl < 1) { nmpl = 1; }
83 chargeSquare = magCharge * magCharge;
84 dedxlim = 45.*nmpl*nmpl*
GeV*
cm2/
g;
87 G4cout <<
"### Monopole ionisation model with d-electron production, Gmag= "
105 std::min(
LowEnergyLimit(),0.1*mass*(1/sqrt(1 - betalow*betalow) - 1));
132 G4double cutEnergy = std::min(tmax, maxEnergy);
134 G4double tau = kineticEnergy / mass;
147 if(beta >= betalim) {
148 dedx = ComputeDEDXAhlen(material, bg2, cutEnergy);
153 G4double dedx2 = ComputeDEDXAhlen(material, bg2lim, cutEnergy);
158 dedx = (kapa1*dedx1 + kapa2*dedx2)/(kapa1 + kapa2);
180 if(nmpl > 1) { k = 0.346; }
183 const G4double B[7] = { 0.0, 0.248, 0.672, 1.022, 1.243, 1.464, 1.685};
185 dedx += 0.5 * k - B[nmpl];
192 dedx *= pi_hbarc2_over_mc2 * eDensity * nmpl * nmpl;
194 if (dedx < 0.0) { dedx = 0; }
210 G4double maxEnergy = std::min(tmax,maxKinEnergy);
212 if(cutEnergy < maxEnergy) {
213 cross = (0.5/cutEnergy - 0.5/maxEnergy)*pi_hbarc2_over_mc2 * nmpl * nmpl;
245 G4double maxKinEnergy = std::min(maxEnergy,tmax);
246 if(minKinEnergy >= maxKinEnergy) {
return; }
252 G4double totEnergy = kineticEnergy + mass;
253 G4double etot2 = totEnergy*totEnergy;
254 G4double beta2 = kineticEnergy*(kineticEnergy + 2.0*mass)/etot2;
258 G4double deltaKinEnergy = minKinEnergy*maxKinEnergy
259 /(minKinEnergy*(1.0 - q) + maxKinEnergy*q);
262 G4double totMomentum = totEnergy*sqrt(beta2);
266 (deltaMomentum * totMomentum);
267 if(cost > 1.0) { cost = 1.0; }
269 G4double sint = sqrt((1.0 - cost)*(1.0 + cost));
273 G4ThreeVector deltaDirection(sint*cos(phi),sint*sin(phi), cost);
281 vdp->push_back(delta);
284 kineticEnergy -= deltaKinEnergy;
285 G4ThreeVector finalP = direction*totMomentum - deltaDirection*deltaMomentum;
286 finalP = finalP.
unit();
304 G4double twomeanLoss = meanLoss + meanLoss;
306 if(twomeanLoss < siga) {
310 x = (loss - meanLoss)/siga;
314 loss = G4RandGauss::shoot(meanLoss,siga);
315 }
while (0.0 > loss || loss > twomeanLoss);
335 * electronDensity * chargeSquare;