COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cbremLMPXsec.f
Go to the documentation of this file.
1 ! test cbremLMPXsec (95/08/19)
2 !
3 ! implicit none
4 ! integer j, i
5 ! real*8 rho, e, xs
6 !
7 ! do j=1, 8
8 ! rho=3.16217 * 10.**(-(j-1)*0.75)
9 ! do i=1, 16
10 ! e=2.e6 * 10.**( (i-1)/2.0)
11 ! call cbremLMPXsec(e, rho, xs)
12 ! write(*, *) e, xs
13 ! enddo
14 ! write(*, *)
15 ! enddo
16 ! end
17 ! ********************** brems x-seciton with Landau effect
18 ! for the atmosphere. ****************
19 ! brems total x-section/r.l for air when the landau effect is
20 ! taken into account at very high energy.
21 ! gamma energy cut is Eg/Ee = 10^-4
22 ! This one uses the fact that the emissin probability of
23 ! fractional energy v by electron of energy E at air density
24 ! rho f(v, E, rho)dv scales as f(v, E*rho)dv
25 ! The integral of f from vmin=10^-4 to 1 is approximated as
26 ! a funciton of X = E*rho.
27 !
28  subroutine cbremlpmxsec(e, rhoin, xs)
29  implicit none
30 !
31 ! input. e: electron/positron energy. in GeV. must be 1.e6<e<1.e13
32 ! i.e., between 10**15 to 10**22 eV.
33 ! input. rhoin: air density in kg/m**3. must be in 1.3 to 3.162x10^-6
34 ! (approx from 0km to 90 km above sea level.
35 !
36 ! output. xs: brems probability /r.l (number of occurence of brems)
37 !
38 ! Note: Input out side of the mensioned range may be safely
39 ! accepted.
40 !
41 
42  real*8 e, rhoin, xs
43  real*8 x, xxx(6), xlog
44  integer i
45  data ( xxx(i), i= 1, 6)/
46  1 2.6807884 , -0.12901903 , 0.27612910e-01,
47  2 -0.30710641e-02, 0.86706897e-04, -0.67901808e-06
48  * /
49  x = e * rhoin * 1.e-3 ! GeV g/cm3
50  if(x .lt. 30.) then
51  xs = 11.447
52  elseif(x .lt. 1.e10) then
53  xs = 0.
54  xlog = log(x)
55  do i = 6, 2, -1
56  xs = (xs + xxx(i))* xlog
57  enddo
58  xs = xs + xxx(1)
59  xs = exp(xs)
60  else
61  xs =0.04198*(x/1.e10)**(-0.5)
62  endif
63  end
*************************block data cblkTracking *************************implicit none data *ExactThick *Freec *RatioToE0 *MagChgDist *TimeStructure *Truncn *Truncx data *IncMuonPolari *KEminObs *ThinSampling *EthinRatio *Generate *LpmEffect *MagPairEmin e10
Definition: cblkTracking.h:9
subroutine cbremlpmxsec(e, rhoin, xs)
Definition: cbremLMPXsec.f:29