64 for (
G4int i=0; i < nelm; ++i)
66 const G4Element* element = (*theElementVector)[i];
67 SIGMA += NbOfAtomsPerVolume[i] * CR_PerAtom(process, element, tkin, ep);
82 if (process ==
"muBrems")
85 else if (process ==
"muIoni")
89 else if (process ==
"muonNuclear")
92 else if (process ==
"muPairProd")
118 G4double e,
v,
delta,rab0,z_13,dn,
b,b1,dn_star,rab1,fn,epmax1,
fe,rab2;
126 G4double coeff=16./3.*alpha*avno*(re/rmass)*(re/rmass);
140 delta=lamu*lamu*v/(2.*(e-ep));
142 z_13=pow(z,-0.3333333);
155 dn_star=pow(dn,(1.-1./z));
159 fn=log(rab1/(dn_star*(ame+rab0*rab1))*(lamu+delta*(dn_star*sqrte-2.)));
162 epmax1=e/(1.+lamu*rmass/(2.*
e));
169 fe=log(rab2*lamu/((1.+delta*rmass/(ame*sqrte))*(ame+rab0*rab2)));
173 crb_g4=coeff*(1.-v*(1.-0.75*
v))*z*(z*fn+
fe)/(a*ep);
201 G4double coeff0=avno*2.*lpi*ame*re*re;
207 G4cout <<
"CRK: " << tkin <<
" " << ep <<
" " << e <<
G4endl;
216 sigma0=coeff0*(z/
a)*(1.-ep/epmax+0.5*v*v)/(ep*ep);
217 a1=std::log(1.+2.*ep/ame);
218 a3=std::log(4.*e*(e-ep)/(lamu*lamu));
219 crk_g4=sigma0*(1.+coeff1*a1*(a3-a1));
249 G4double coeffn=alpha/lpi*avno*1e-30;
253 if(ep >= e-0.5*amp)
return crn_g4;
254 if(ep <= epmin_phn)
return crn_g4;
255 aeff=0.22*a+0.78*pow(a,0.89);
256 sigph=49.2+11.1*log(ep)+151.8/sqrt(ep);
261 up=e*e*v1/amu2*(1.+amu2*v2/(alam2*
v1));
262 down=1.+ep/alam*(1.+alam/(2.*amp)+ep/alam);
263 crn_g4=coeffn*aeff/a*sigph/ep*(-v1+(v1+0.5*v2*(1.+2.*amu2/alam2))*log(up/down));
264 if(crn_g4 < 0.) crn_g4=0.;
288 G4double bbbtf,bbbh,g1tf,g2tf,g1h,g2h,
e,z13,
e1,alf,a3,bbb;
289 G4double g1,g2,zeta1,zeta2,zeta,
z2,screen0,
a0,a1,bet,
xi0,del;
290 G4double tmn,
sum,a4,a5,a6,a7,a9,xi,xii,xi1,screen,yeu,yed,ye1;
291 G4double ale,cre,be,
fe,ymu,ymd,ym1,alm_crm,a10,bm,
fm;
300 G4double coeff=4./(3.*lpi)*(alpha*re)*(alpha*re)*avno;
306 G4double xgi[8]={.0199,.1017,.2372,.4083,.5917,.7628,.8983,.9801};
307 G4double wgi[8]={.0506,.1112,.1569,.1813,.1813,.1569,.1112,.0506};
316 z13=pow(z,0.3333333);
319 if(e1 <= c3*z13)
return crp_g4;
322 if(a3 <= 0.)
return crp_g4;
336 zeta1=0.073*log(e/(lamu+g1*z13*z13*e))-0.26;
339 zeta2=0.058*log(e/(lamu+g2*z13*e))-0.14;
351 screen0=2.*ame*sqrte*bbb/(z13*ep);
355 xi0=0.25*rmass*rmass*a1;
357 tmn=log((alf+2.*del*a3)/(1.+(1.-del)*sqrt(a3)));
359 for(
int i=0; i<=7; i++)
369 screen=screen0*xi1/a5;
371 yed=2.*(1.+3.*bet)*log(3.+xii)-a6-a1*(2.-a6);
373 ale=log(bbb/z13*sqrt(xi1*ye1)/(1.+screen*ye1));
374 cre=0.5*log(1.+(1.5/rmass*z13)*(1.5/rmass*z13)*xi1*ye1);
377 be=((2.+a6)*(1.+bet)+xi*a9)*log(1.+xii)+(a5-bet)/xi1-a9;
381 be=(3.-a6+a1*a7)/(2.*xi);
383 fe=
max(0.,(ale-cre)*be);
385 ymd=a7*(1.5+a1)*log(3.+xi)+1.-1.5*a6;
387 alm_crm=log(bbb*rmass/(1.5*z13*z13*(1.+screen*ym1)));
391 bm=(a7*(1.+1.5*bet)-a10*xii)*log(xi1)+xi*(a5-bet)/xi1+a10;
395 bm=(5.-a6+bet*a9)*(xi/2.);
397 fm=
max(0.,(alm_crm)*bm);
399 sum=sum+a4*(fe+fm/(rmass*rmass))*wgi[i];
401 crp_g4=-tmn*sum*(z2/
a)*coeff*e1/(e*ep);