53static const G4double paramK[6][11] = {
55 {-312., 0., 0., 12.10, -11.27, 234.1, 38.26, 1.55, -106.1, 1280.8, 0.0},
58 {15.72, 9.65, -300., 0.00437,-16.58, 244.7, 0.503, 273.1, -182.4, -1.872, 0.0},
60 {0.798, 420.3,-1651., 0.00619, -7.54, 583.5, 0.337, 421.8, -474.5, -3.592, 0.8},
62 {-21.45,484.7,-1608., 0.0186, -8.9, 686.3, 0.325, 368.9, -522.2, -4.998, 0.8},
64 {-2.88,205.6, -1487.,0.00459,-8.93, 611.2, 0.35 , 473.8, -468.2, -2.225, 0.8},
66 { 10.95,-85.2, 1146., 0.0643,-13.96, 781.2, 0.29, -304.7,-470.0, -8.580, 1.2}
84 if(0 <
Z) { ec = cb; }
98 if(resA < 40) { signor =0.7 + resA*0.0075; }
99 else if(resA > 210) { signor = 1. + (resA-210)*0.004; }
100 lambda = paramK[idx][3]/resA13 + paramK[idx][4];
101 mu = (paramK[idx][5] + paramK[idx][6]*resA13)*resA13;
105 nu = std::abs((paramK[idx][7]*resA + paramK[idx][8]*resA13)*resA13
111 if (resA <= 60) { signor = 0.92; }
112 else if (resA < 100) { signor = 0.8 + resA*0.002; }
114 lambda = paramK[idx][3]*resA + paramK[idx][4];
115 mu = paramK[idx][5]*amu1;
116 nu = amu1* (paramK[idx][7] + paramK[idx][8]*ec + paramK[idx][9]*ecsq);
125 if(0 <
Z) { p += paramK[idx][1]/ec + paramK[idx][2]/ecsq; }
126 G4double a = -2*p*ec + lambda - nu/ecsq;
130 if (det > 0.0) { ecut = (std::sqrt(det) - a)/(2*p); }
131 else { ecut = -a/(2*p); }
137 sig = (lambda*ec + mu + nu/ec)*signor*std::sqrt(elab/ec);
138 }
else if(elab >= ecut) {
139 sig = (p*elab*elab + a*elab + b)*signor;
145 G4double cc = std::min(3.15, ec*0.5);
146 G4double signor2 = (ec - elab - cc) *3.15/ (0.7*cc);
147 sig /= (1. +
G4Exp(signor2));
163 static const G4double flow = 1.e-18;
164 static const G4double spill= 1.e+18;
167 xnulam = nu / lambda;
168 xnulam = std::min(xnulam, spill);
169 if (xnulam >= flow) {
170 if(1 == idx) { etest = std::sqrt(xnulam) + 7.; }
171 else { etest = 1.2 *std::sqrt(xnulam); }
175 sig = (lambda*elab + mu + nu/elab)*signor;
176 if (xnulam >= flow && elab >= etest) {
178 geom = 1.23*resA13 + paramK[idx][10] + 4.573/geom;
179 geom = 31.416 * geom * geom;
180 sig = std::max(sig, geom);
183 sig = std::max(sig, 0.0);
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
static G4double ComputePowerParameter(G4int resA, G4int idx)
static G4double ComputeCrossSection(G4double K, G4double cb, G4double resA13, G4double amu1, G4int idx, G4int Z, G4int A, G4int resA)
static G4Pow * GetInstance()
G4double powZ(G4int Z, G4double y) const