92 if(0 <
Z) { ec = cb; }
106 if(resA < 40) { signor =0.7 + resA*0.0075; }
107 else if(resA > 210) { signor = 1. + (resA-210)*0.004; }
109 mu = (paramK[idx][5] + paramK[idx][6]*resA13)*resA13;
113 nu = std::abs((paramK[idx][7]*resA + paramK[idx][8]*resA13)*resA13
119 if (resA <= 60) { signor = 0.92; }
120 else if (resA < 100) { signor = 0.8 + resA*0.002; }
122 lambda = paramK[idx][3]*resA + paramK[idx][4];
123 mu = paramK[idx][5]*amu1;
124 nu = amu1* (paramK[idx][7] + paramK[idx][8]*ec + paramK[idx][9]*ecsq);
133 if(0 <
Z) { p += paramK[idx][1]/ec + paramK[idx][2]/ecsq; }
134 G4double a = -2*p*ec + lambda - nu/ecsq;
138 if (det > 0.0) { ecut = (std::sqrt(det) - a)/(2*p); }
139 else { ecut = -a/(2*
p); }
145 sig = (lambda*ec + mu + nu/ec)*signor*std::sqrt(elab/ec);
146 }
else if(elab >= ecut) {
147 sig = (p*elab*elab + a*elab + b)*signor;
154 G4double signor2 = (ec - elab - cc) *3.15/ (0.7*cc);
155 sig /= (1. +
G4Exp(signor2));
171 static const G4double flow = 1.e-18;
172 static const G4double spill= 1.e+18;
177 if (xnulam >= flow) {
178 if(1 == idx) { etest = std::sqrt(xnulam) + 7.; }
179 else { etest = 1.2 *std::sqrt(xnulam); }
183 sig = (lambda*elab + mu + nu/elab)*signor;
184 if (xnulam >= flow && elab >= etest) {
186 geom = 1.23*resA13 + paramK[idx][10] + 4.573/geom;
187 geom = 31.416 * geom * geom;
double A(double temperature)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
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
static const G4double paramK[6][11]