COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cppXsec.f
Go to the documentation of this file.
1 ! real*8 e, xs
2 ! e = 0.1
3 ! do while (.true.)
4 ! call cpbarpXsec(e, xs)
5 ! write(*,*) sqrt( e * (e+2*0.938)), xs
6 ! e = e * 10.**0.1
7 ! if(e .gt. 5000.) goto 10
8 ! enddo
9 ! 10 continue
10 ! end
11 !
12 ! inelastic cross-section at enetire energy.
13 ! IncreaseXsec =2 should not be used.
14 ! cppXsec p p n p
15 ! cpbarpXsec p_b p n_b n n_b p p_b n
16 ! cpiMinuspXsec pi- p
17 ! cpiPluspXsec pi+ p
18 ! ckMinuspXsec k- p k0_b n
19 ! ckPluspXsec k+ p k+ n k- n k0_b p k0 n
20 ! real*8 e, xs
21 ! e=1000.
22 ! call cppXsec(e, xs)
23 ! write(*,*) xs
24 ! end
25 ! ***********************************************************
26 ! *
27 ! * p_p inelastic cross-section
28 ! *
29 ! ****************** tested 88.08.11 *****************k.k ***
30 !
31 ! e:real*8. input. kinetic energy of partilce in GeV.
32 ! xs:real*8 output. Inelastic cross-section in mb
33 !
34  subroutine cppxsec(e, xs)
35  implicit none
36 #include "Zmass.h"
37  real*8 e, xs
38  real*8 p
39 ! p = sqrt( (e+masp)**2 - masp**2 )
40  p = sqrt( e*(e+masp+masp) )
41  call cppinelaxs(p, xs)
42  end
43 ! ***********************************************************
44 ! *
45 ! * p_b p inelastic cross-section
46 ! *
47 ! ****************** *****************k.k ***
48 !
49 ! e: input. e kinetic energy in GeV
50 ! xs:output. inelastic cross-section in mb
51 !
52  subroutine cpbarpxsec(e, xs)
53  implicit none
54 #include "Zmass.h"
55  real*8 e, xs
56  real*8 p
57  p = sqrt( e*(e+masp+masp) )
58  call cpbarpinelaxs(p, xs)
59  end
60 ! ***********************************************************
61 ! *
62 ! * pi- p inelastic cross-section
63 ! *
64 ! ****************** tested 88.08.11 *****************k.k ***
65 !
66 ! e: input. pi- k.e in GeV
67 ! xs:output. inelastic cross-section in mb
68 !
69  subroutine cpiminuspxsec(e, xs)
70  implicit none
71 #include "Zmass.h"
72  real*8 e, xs
73  real*8 p
74  p = sqrt( e * ( e + maspic + maspic) )
75  call cpimpinelaxs(p, xs)
76  end
77 ! ***********************************************************
78 ! *
79 ! * pi+ p inelastic cross-section
80 ! *
81 ! ****************** tested 88.08.11 *****************k.k ***
82 !
83 ! e: input. pi+ k.e in GeV
84 ! xs:output. inelastic cross-section in mb
85 !
86  subroutine cpipluspxsec(e, xs)
87  implicit none
88 #include "Zmass.h"
89  real*8 e, xs
90  real*8 p
91  p = sqrt( e * ( e + maspic + maspic) )
92  call cpippinelaxs(p, xs)
93  end
94 ! ***********************************************************
95 ! *
96 ! * k- p inelastic cross-section
97 ! *
98 ! ****************** tested 88.08.11 *****************k.k ***
99 !
100 ! e: input. k- k.e GeV
101 ! xs:output. inelastic cross-section in mb
102 !
103  subroutine ckminuspxsec(e, xs)
104  implicit none
105 #include "Zmass.h"
106  real*8 e, xs
107  real*8 p
108  p=sqrt( e*(e+maskc+maskc) )
109  call ckmpinelaxs(p, xs)
110  end
111 ! ***********************************************************
112 ! *
113 ! * k+ p inelastic cross-section
114 ! *
115 ! ****************** tested 88.08.11 *****************k.k ***
116 !
117 ! e: input. k+ k.e GeV
118 ! xs:output. inelastic cross-section in mb
119 !
120  subroutine ckpluspxsec(e, xs)
121  implicit none
122 !---- include 'Zxsectionp.h'
123 #include "Zmass.h"
124  real*8 e, xs
125  real*8 p
126  p=sqrt( e*(e+maskc+maskc) )
127  call ckppinelaxs(p, xs)
128  end
subroutine ckminuspxsec(e, xs)
Definition: cppXsec.f:104
maskc
Definition: Zmass.h:5
subroutine cpiminuspxsec(e, xs)
Definition: cppXsec.f:70
subroutine cpimpinelaxs(p, xs)
Definition: cpimpTotXs.f:145
subroutine ckmpinelaxs(p, xs)
Definition: ckmpTotXs.f:130
subroutine cppxsec(e, xs)
Definition: cppXsec.f:35
masp
Definition: Zmass.h:5
subroutine ckppinelaxs(p, xs)
Definition: ckppTotXs.f:116
subroutine cpipluspxsec(e, xs)
Definition: cppXsec.f:87
maspic
Definition: Zmass.h:5
subroutine cpbarpxsec(e, xs)
Definition: cppXsec.f:53
subroutine cpbarpinelaxs(p, xs)
Definition: cpbarpTotXs.f:116
subroutine cppinelaxs(p, xs)
Definition: cppTotXs.f:124
subroutine ckpluspxsec(e, xs)
Definition: cppXsec.f:121
subroutine cpippinelaxs(p, xs)
Definition: cpippTotXs.f:180