65 return G4double((N-4)*(P-3)*(N-3)*(P-2))*
G4double((N-2)*(P-1)*(N-1)*P)/144.0;
76 if(nCharged >=2 && (nParticles-nCharged) >=2 ) {
78 G4double(nParticles*(nParticles-1)*(nParticles-2)*(nParticles-3));
79 rj = 6.0*nCharged*(nCharged-1)*(nParticles-nCharged)*(nParticles-nCharged-1)
105 std::ostringstream errOs;
106 errOs <<
"BAD Alpha CROSS SECTION OPTION !!" <<
G4endl;
122 C = 0.1 - (aZ-30)*0.001;
126 C = 0.08 - (aZ-50)*0.001;
144 if (K > 50*
MeV) { Kc = 50*
MeV; }
146 G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
161 p = p0 + p1/Ec + p2/(Ec*Ec);
165 nu = resmu1*(nu0 + nu1*Ec + nu2*(Ec*Ec));
166 q = landa - nu/(Ec*Ec) - 2*p*Ec;
167 r = mu + 2*nu/Ec + p*(Ec*Ec);
170 if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
171 else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
173 if (xs <0.0) {xs=0.0;}
182 G4double landa, mu, nu, p , signor(1.),sig;
184 G4double b,ecut,cut,ecut2,geom,elab;
206 p = p0 + p1/ec + p2/ecsq;
210 nu = a* (nu0+nu1*ec+nu2*ecsq);
212 if (xnulam > spill) { xnulam=0.; }
213 if (xnulam >= flow) { etest = 1.2 *std::sqrt(xnulam); }
215 a = -2.*p*ec + landa - nu/ecsq;
216 b = p*ecsq + mu + 2.*nu/ec;
219 if (cut > 0.) { ecut = std::sqrt(cut); }
220 ecut = (ecut-
a) / (p+p);
226 if (cut < 0.) { ecut2 = ecut; }
231 if (elab > ecut2) { sig = (p*elab*elab+a*elab+b) * signor; }
234 sig = (landa*elab+mu+nu/elab) * signor;
236 if (xnulam < flow || elab < etest) {
return sig; }
237 geom = std::sqrt(
theA*K);
239 geom = 31.416 * geom * geom;
virtual G4double CrossSection(G4double ekin)
G4double GetOpt34(G4double K)
G4double ResidualA13() const
G4double GetOpt0(G4double ekin)
virtual G4double GetAlpha()
G4double Z13(G4int Z) const
virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged)
static const G4double A[nN]
T max(const T t1, const T t2)
brief Return the largest of the two arguments
virtual ~G4PreCompoundAlpha()
virtual G4double FactorialFactor(G4int N, G4int P)
virtual G4double CoalescenceFactor(G4int A)
G4double powZ(G4int Z, G4double y) const
G4double GetOpt12(G4double K)