76 C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375;
102 if (
OPTxs==0) {std::ostringstream errOs;
103 errOs <<
"We should'n be here (OPT =0) at evaporation cross section calculation (deuterons)!!"
110 std::ostringstream errOs;
111 errOs <<
"BAD Deuteron CROSS SECTION OPTION AT EVAPORATION!!" <<
G4endl;
126 if (K > 50*
MeV) { Kc = 50*
MeV; }
128 G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
143 p = p0 + p1/Ec + p2/(Ec*Ec);
147 nu = resmu1*(nu0 + nu1*Ec + nu2*(Ec*Ec));
148 q = landa - nu/(Ec*Ec) - 2*p*Ec;
149 r = mu + 2*nu/Ec + p*(Ec*Ec);
152 if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
153 else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
155 if (xs <0.0) {xs=0.0;}
165 G4double landa, mu, nu, p ,signor(1.),sig;
167 G4double b,ecut,cut,ecut2,geom,elab;
189 p = p0 + p1/ec + p2/ecsq;
193 nu = a* (nu0+nu1*ec+nu2*ecsq);
195 if (xnulam > spill) { xnulam=0.; }
196 if (xnulam >= flow) { etest = 1.2 *std::sqrt(xnulam); }
198 a = -2.*p*ec + landa - nu/ecsq;
199 b = p*ecsq + mu + 2.*nu/ec;
202 if (cut > 0.) { ecut = std::sqrt(cut); }
203 ecut = (ecut-
a) / (p+p);
209 if (cut < 0.) { ecut2 = ecut; }
214 if (elab > ecut2) { sig = (p*elab*elab+a*elab+b) * signor; }
217 sig = (landa*elab+mu+nu/elab) * signor;
219 if (xnulam < flow || elab < etest) {
return sig; }
220 geom = std::sqrt(
theA*K);
222 geom = 31.416 * geom * geom;
G4double GetOpt12(G4double K)
virtual ~G4DeuteronEvaporationProbability()
virtual G4double CalcAlphaParam(const G4Fragment &fragment)
G4DeuteronEvaporationProbability()
virtual G4double CalcBetaParam(const G4Fragment &fragment)
G4double Z13(G4int Z) const
G4double GetOpt34(G4double K)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
virtual G4double CrossSection(const G4Fragment &fragment, G4double K)
G4double powZ(G4int Z, G4double y) const
G4double CCoeficient(G4int aZ)