73 C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375;
104 if (
OPTxs==0) {std::ostringstream errOs;
105 errOs <<
"We should'n be here (OPT =0) at evaporation cross section calculation (protons)!!" <<
G4endl;
112 std::ostringstream errOs;
113 errOs <<
"BAD PROTON CROSS SECTION OPTION AT EVAPORATION!!" <<
G4endl;
127 if (K > 50*
MeV) { Kc = 50*
MeV; }
129 G4double landa, landa0, landa1, mu, mum0, mu1,nu, nu0, nu1, nu2,xs;
130 G4double p, p0, p1, p2,Ec,delta,q,r,ji;
145 p = p0 + p1/Ec + p2/(Ec*Ec);
150 nu = resmu1*(nu0 + nu1*Ec + nu2*(Ec*Ec));
151 q = landa - nu/(Ec*Ec) - 2*p*Ec;
152 r = mu + 2*nu/Ec + p*(Ec*Ec);
155 if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
156 else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
157 if (xs <0.0) {xs=0.0;}
167 G4double eekin,ekin,ff1,ff2,ff3,
r0,
fac,fac1,fac2,
b0,xine_th(0);
184 if(rnneu > 1.5) { fac2 =
fG4pow->
logZ(rnneu); }
191 fac=1.-(1./(1.+
G4Exp(-8.*ff1*(log10E + 1.37*ff2))));
192 xine_th=xine_th*(1.+ff3*
fac);
195 fac=-8.*ff1*(log10E + 2.0*ff2);
196 fac=1./(1.+
G4Exp(fac));
199 std::ostringstream errOs;
200 G4cout<<
"WARNING: negative Wellisch cross section "<<
G4endl;
202 errOs <<
" xsec("<<ekin<<
" MeV) ="<<xine_th <<
G4endl;
214 G4double landa, landa0, landa1, mu, mum0, mu1,nu, nu0, nu1, nu2;
235 G4double ec,ecsq,xnulam,etest(0.),ra(0.),
a,w,c,signor(1.),signor2,sig;
236 G4double b,ecut,cut,ecut2,geom,elab;
246 p = p0 + p1/ec + p2/ecsq;
250 nu = a* (nu0+nu1*ec+nu2*ecsq);
256 if (xnulam > spill) { xnulam=0.; }
257 if (xnulam >= flow) { etest =std::sqrt(xnulam) + 7.; }
259 a = -2.*p*ec + landa - nu/ecsq;
260 b = p*ecsq + mu + 2.*nu/ec;
263 if (cut > 0.) { ecut = std::sqrt(cut); }
264 ecut = (ecut-
a) / (p+p);
270 if (cut < 0.) { ecut2 = ecut; }
274 if (elab > ecut2) { sig = (p*elab*elab+a*elab+b) * signor; }
276 signor2 = (ec-elab-c) / w;
277 signor2 = 1. +
G4Exp(signor2);
281 sig = (landa*elab+mu+nu/elab) * signor;
284 if (xnulam < flow || elab < etest)
286 if (sig <0.0) {sig=0.0;}
289 geom = std::sqrt(
theA*K);
291 geom = 31.416 * geom * geom;
virtual G4double CalcBetaParam(const G4Fragment &fragment)
G4double CCoeficient(G4int aZ)
G4double GetOpt2(G4double K)
G4double GetCoulombBarrier(G4int ARes, G4int ZRes, G4double U) const
G4double logZ(G4int Z) const
G4GLOB_DLL std::ostream G4cout
G4double Z13(G4int Z) const
virtual ~G4ProtonEvaporationProbability()
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
virtual G4double CalcAlphaParam(const G4Fragment &fragment)
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 GetOpt1(G4double K)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
G4ProtonEvaporationProbability()
static const G4double fac
G4double GetOpt3(G4double K)
G4double powZ(G4int Z, G4double y) const
G4ProtonCoulombBarrier theCoulombBarrier
G4double GetExcitationEnergy() const