62 return G4double((N-1)*(N-2)*(P-1)*P)/2.0;
73 if(nCharged >=1 && (nParticles-nCharged) >=1) {
75 rj = 2*nCharged*(nParticles-nCharged)/denominator;
111 C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ
112 - 0.66612e-01)*aZ + 0.98375;
125 if (K > 50*
MeV) { Kc = 50*
MeV; }
127 G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
142 p = p0 + p1/Ec + p2/(Ec*Ec);
146 nu = resmu1*(nu0 + nu1*Ec + nu2*(Ec*Ec));
147 q = landa - nu/(Ec*Ec) - 2*p*Ec;
148 r = mu + 2*nu/Ec + p*(Ec*Ec);
151 if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
152 else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
187 G4double nu = a* (nu0+nu1*ec+nu2*ecsq);
190 if (xnulam > spill) { xnulam=0.; }
191 else if (xnulam >= flow) { etest = 1.2 *std::sqrt(xnulam); }
193 a = -2.*p*ec + landa - nu/ecsq;
194 G4double b = p*ecsq + mu + 2.*nu/ec;
197 if (cut > 0.) { ecut = std::sqrt(cut); }
198 ecut = (ecut-
a) / (2*p);
208 if (elab > ecut) { sig =
std::max(0.0,(p*elab*elab+a*elab+b) * signor); }
211 sig = (landa*elab+mu+nu/elab) * signor;
213 if (xnulam >= flow && elab >= etest) {
214 geom = std::sqrt(
theA*K);
216 geom = 31.416 * geom * geom;
virtual G4double CrossSection(G4double ekin)
G4double ResidualA13() const
G4double GetOpt34(G4double K)
virtual G4double GetAlpha()
G4double GetOpt0(G4double ekin)
G4double Z13(G4int Z) const
G4double GetOpt12(G4double K)
static const G4double A[nN]
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4double powZ(G4int Z, G4double y) const
virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged)
virtual G4double CoalescenceFactor(G4int A)
virtual G4double FactorialFactor(G4int N, G4int P)