62 for (
G4int i=0; i<4; i++) {
66 V += C * theG4Pow->
powN(ekin,
k);
70 PR += V * theG4Pow->
powN(S, i);
73 return std::sqrt(S) * (PR + (1-PQ)*(S*S*S*S));
79 return 0.76 + 2.2 /
G4cbrt(A);
86 snn = -1174.8 / (e *
e) + 3088.5 / e + 5.3107;
88 snn = 93074.0 / (e *
e) - 11.148 / e + 22.429;
98 spn = -5057.4 / (e *
e) + 9069.2 / e + 6.9466;
100 spn = 239380.0 / (e *
e) + 1802.0 / e + 27.147;
117 return x==0 ? 0. : (x<0?-1.:1.)*
G4Exp(
G4Log(std::fabs(x))/3.);
131 r1 = r1 > eps ? r1 :
eps;
133 r2 = r2 > eps ? r2 :
eps;
134 r2 = r2 < 1.0 - eps ? r2 : 1.0 -
eps;
136 return sigma * std::sin(
twopi * r1) * std::sqrt(-2.0 *
G4Log(r2));
146 return std::pair<G4double, G4double>(CT, std::sqrt(1.0 - CT*CT));
153 G4double pt = p * std::sqrt(std::fabs(1.0 - ct * ct));
157 if (!pvec_G4MT_TLS_) {
164 if (!momr_G4MT_TLS_) {
170 pvec.
set(pt*std::cos(phi), pt*std::sin(phi), p*ct);
184 if (!pvec_G4MT_TLS_) {
191 if (!momr_G4MT_TLS_) {
197 pvec.
set(pt*std::cos(phi), pt*std::sin(phi), p*COS_SIN.first);