COSMOS v7.655  COSMOSv7655
(AirShowerMC)
ctXai.f
Go to the documentation of this file.
1 ! test ctXai
2 ! program testcsynkTXai
3 ! implicit none
4 ! real*8 x, ctXai, y
5 !
6 ! x = 1.e-2
7 ! do while (x .lt. 4000.)
8 ! y = ctXai(x)
9 ! write(*, *) sngl(x),sngl(y)
10 ! x = x * 10.**0.1
11 ! enddo
12 ! end
13 ! *************************************************************
14 !
15 ! ctXai: T(X)
16 !
17 ! magnetic pair creation function.
18 ! This is a polynomial fit to the T(x)=0.16/x *K1/3(2/3x/)**2
19 ! (Eq.3.3d) of Erber.
20 ! Note that Table VI seems half of this value.
21 !
22 ! *************************************************************
23  real*8 function ctxai(x)
24  implicit none
25  real*8 x ! input. x = Xai = hv/m * H/Hc/2
26 
27  real*8 z
28 
29  if(x .lt. 0.25) then
30  ctxai = 0.46 * exp(-4.d0/3.d0/x)
31  elseif(x .lt. 1000.) then
32  z = log(x)
33  ctxai =exp( (((((((((-0.1055848e-06*z + 0.3326052e-05)*z
34  * -0.4298832e-04)*z + 0.3164778e-03 )*z
35  * -0.1791347e-02)*z + 0.1028788e-01 )*z
36  * -0.5477092e-01)*z + 0.2251815 )*z
37  * -0.6962186)*z + 1.227734)*z -2.443217)
38 
39  else
40  ctxai = 0.60 * x**(-0.3333333333)
41  endif
42  end
43 
44 
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
real *8 function ctxai(x)
Definition: ctXai.f:24