COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cppXsec0.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cppxsec0 (e, xs)
 
real *8 function ctotppx (p, logp)
 
real *8 function celappx (p, logp)
 
real *8 function cxsec (p, logp, a, b, n, c, d)
 
subroutine cpbarpxsec0 (e, xs)
 
real *8 function ctotpbpx (p, logp)
 
real *8 function celapbpx (p, logp)
 
subroutine cpiminuspxsec0 (e, xs)
 
real *8 function ctotpimpx (p, logp)
 
real *8 function celapimpx (p, logp)
 
subroutine cpipluspxsec0 (e, xs)
 
real *8 function ctotpippx (p, logp)
 
real *8 function celapippx (p, logp)
 
subroutine ckminuspxsec0 (e, xs)
 
real *8 function ctotkmpx (p, logp)
 
real *8 function celakmpx (p, logp)
 
subroutine ckpluspxsec0 (e, xs)
 
real *8 function ctotkppx (p, logp)
 
real *8 function celakppx (p, logp)
 
subroutine cpimairreacx (e, xs)
 
subroutine cpipairreacx (e, xs)
 
subroutine cpimairabsx (e, xs)
 
subroutine cpipairabsx (e, xs)
 

Function/Subroutine Documentation

◆ celakmpx()

real*8 function celakmpx ( real*8  p,
real*8  logp 
)

Definition at line 303 of file cppXsec0.f.

303  implicit none
304  real*8 p, logp
305  real*8 a, b, n, c, d
306  real*8 cxsec
307  data a/7.3/, b/0./, n/0./, c/0.29/, d/-2.4/
308  celakmpx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real *8 function celakmpx(p, logp)
Definition: cppXsec0.f:303
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ celakppx()

real*8 function celakppx ( real*8  p,
real*8  logp 
)

Definition at line 360 of file cppXsec0.f.

360  implicit none
361  real*8 p, logp
362  real*8 a, b, n, c, d
363  real*8 cxsec
364  data a/5.0/, b/8.1/, n/-1.8/, c/0.16/, d/-1.3/
365  celakppx = cxsec(p, logp, a, b, n, c, d)
real *8 function celakppx(p, logp)
Definition: cppXsec0.f:360
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ celapbpx()

real*8 function celapbpx ( real*8  p,
real*8  logp 
)

Definition at line 128 of file cppXsec0.f.

128  implicit none
129  real*8 p, logp
130  real*8 a, b, n, c, d
131  real*8 cxsec
132  data a/10.2/, b/52.7/, n/-1.16/, c/0.125/, d/-1.28/
133  celapbpx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function celapbpx(p, logp)
Definition: cppXsec0.f:128
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ celapimpx()

real*8 function celapimpx ( real*8  p,
real*8  logp 
)

Definition at line 186 of file cppXsec0.f.

186  implicit none
187  real*8 p, logp
188  real*8 a, b, n, c, d
189  real*8 cxsec
190  data a/1.76/, b/11.2/, n/-0.64/, c/0.043/, d/0./
191  celapimpx = cxsec(p, logp, a, b, n, c, d)
real *8 function celapimpx(p, logp)
Definition: cppXsec0.f:186
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ celapippx()

real*8 function celapippx ( real*8  p,
real*8  logp 
)

Definition at line 242 of file cppXsec0.f.

242  implicit none
243  real*8 p, logp
244  real*8 a, b, n, c, d
245  real*8 cxsec
246  data a/0./, b/11.4/, n/-0.4/, c/0.079/, d/0./
247  celapippx = cxsec(p, logp, a, b, n, c, d)
real *8 function celapippx(p, logp)
Definition: cppXsec0.f:242
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ celappx()

real*8 function celappx ( real*8  p,
real*8  logp 
)

Definition at line 72 of file cppXsec0.f.

72  implicit none
73  real*8 p, logp
74  real*8 a, b, n, c, d
75  real*8 cxsec
76  data a/11.9/, b/26.9/, n/-1.21/, c/0.169/, d/-1.85/
77  celappx = cxsec(p, logp, a, b, n, c, d)
real *8 function celappx(p, logp)
Definition: cppXsec0.f:72
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ ckminuspxsec0()

subroutine ckminuspxsec0 ( real*8  e,
real*8  xs 
)

Definition at line 263 of file cppXsec0.f.

References d, and kfrge().

263  implicit none
264  real*8 e, xs
265  real*8 ee
266  integer i, icon, l
267 
268  real*8 lp
269  real*8 ctotkmpx, celakmpx
270  real*8 ea(23), xsa(23)
271 
272 !
273  data (ea(i),i= 1, 23)/
274  1 0.040, 0.070, 0.080, 0.085, 0.090, 0.100, 0.120, 0.130, 0.150,
275  2 0.170, 0.200, 0.250, 0.300, 0.400, 0.500, 0.600, 0.640, 1.500,
276  3 5.000,10.000,20.000,50.000, 100.0001/
277  data (xsa(i),i= 1, 23)/
278  1 1.d-5,30.000,38.000,39.800,40.000,40.200,40.000,39.000,35.000,
279  230.000,22.500,17.500,18.000,20.000,22.500,26.000,27.000,25.000,
280  321.000,20.000,19.000,18.500,18.0000/
281 !
282  if(e .le. 40.e-3)then
283  xs=1.e-5
284  elseif(e .lt. 100.) then
285  ee = e
286  call kfrge(ea, 1, 23, ee, l, icon)
287  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
288  * xsa(l-1)
289  else
290  lp = log(e) ! e = p here.
291  xs = ctotkmpx(e, lp) - celakmpx(e, lp)
292  endif
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function celakmpx(p, logp)
Definition: cppXsec0.f:303
real *8 function ctotkmpx(p, logp)
Definition: cppXsec0.f:295
Here is the call graph for this function:

◆ ckpluspxsec0()

subroutine ckpluspxsec0 ( real*8  e,
real*8  xs 
)

Definition at line 324 of file cppXsec0.f.

References d, and kfrge().

324  implicit none
325  real*8 e, xs
326  integer i, icon, l
327  real*8 ea(13), xsa(13), ee
328  real*8 lp
329  real*8 ctotkppx, celakppx
330 
331 
332  data (ea(i),i= 1, 13)/
333  1 0.100, 0.200, 0.300, 0.500, 1.000, 2.000, 3.000, 4.000, 5.000,
334  210.000,20.000,50.000, 100.0001 /
335  data (xsa(i),i= 1, 13)/
336  1 1.d-5, 2.500, 5.000, 7.500,10.000,12.000,13.000,13.500,14.000,
337  2 15.000,15.300,15.800,16.200/
338 
339  if(e .le. 100.e-3)then
340  xs=1.d-5
341  elseif(e .lt. 100.) then
342  ee = e
343  call kfrge(ea, 1, 13, ee, l, icon)
344  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
345  * xsa(l-1)
346  else
347  lp = log(e) ! e = p here.
348  xs = ctotkppx(e, lp) - celakppx(e, lp)
349  endif
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
real *8 function celakppx(p, logp)
Definition: cppXsec0.f:360
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
real *8 function ctotkppx(p, logp)
Definition: cppXsec0.f:352
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
Here is the call graph for this function:

◆ cpbarpxsec0()

subroutine cpbarpxsec0 ( real*8  e,
real*8  xs 
)

Definition at line 104 of file cppXsec0.f.

104  implicit none
105  real*8 e, xs
106  real*8 lp
107  real*8 ctotpbpx, celapbpx
108 
109 
110 ! due to the formula given in ptcl data 88. p121
111 
112  if(e .lt. 100.) then
113  xs = (e/100)**(-.55)*3 +32
114  else
115  lp = log(e) ! e = p here.
116  xs = ctotpbpx(e, lp) - celapbpx(e, lp)
117  endif
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
real *8 function celapbpx(p, logp)
Definition: cppXsec0.f:128
real *8 function ctotpbpx(p, logp)
Definition: cppXsec0.f:120

◆ cpimairabsx()

subroutine cpimairabsx ( real*8  e,
real*8  xs 
)

Definition at line 446 of file cppXsec0.f.

References d0, d3, and kfrge().

446  implicit none
447  real*8 e, xs
448  integer i, icon, l
449  real*8 ea(13), xsa(13), ee
450 ! mev
451  data (ea(i),i= 1, 13)/
452  1 0., 10., 20., 30., 40., 50., 70., 100., 140., 180., 200.,
453  2 300., 500.001/
454  data (xsa(i),i= 1, 13)/
455  1 0., 91., 136., 159., 163., 172., 184., 193., 195., 193., 184.,
456  2 115., 0./
457  ee=min(500.d0, e*1.d3)
458  call kfrge(ea, 1, 13, ee, l, icon)
459  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
460  * xsa(l-1)
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
block data cblkIncident data *Za1ry *HeightOfInj d3
Definition: cblkIncident.h:7
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
Here is the call graph for this function:

◆ cpimairreacx()

subroutine cpimairreacx ( real*8  e,
real*8  xs 
)

Definition at line 381 of file cppXsec0.f.

References d0, d3, and kfrge().

381  implicit none
382  real*8 e, xs
383  integer i, icon, l
384  real*8 ea(23), xsa(23), ee
385 
386 
387 ! MeV
388  data (ea(i),i= 1, 23)/
389  1 0., 10., 20., 30., 40., 50., 70., 80., 100., 120., 140.,
390  2 160., 180., 200., 240., 260., 280., 300., 340., 360., 400., 450.,
391  3 500.0001/
392  data (xsa(i),i= 1, 23)/
393  1 0., 92., 138., 172., 205., 230., 356., 414., 452., 460., 462.,
394  2 463., 461., 460., 416., 391., 359., 328., 276., 241., 224., 218.,
395  3 207./
396  ee=min(500.d0, e*1.d3)
397  call kfrge(ea, 1, 23, ee, l, icon)
398  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
399  * xsa(l-1)
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
block data cblkIncident data *Za1ry *HeightOfInj d3
Definition: cblkIncident.h:7
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
Here is the call graph for this function:

◆ cpiminuspxsec0()

subroutine cpiminuspxsec0 ( real*8  e,
real*8  xs 
)

Definition at line 148 of file cppXsec0.f.

References d, and kfrge().

148  implicit none
149  real*8 e, xs
150  integer i, l, icon
151  real*8 lp
152  real*8 ctotpimpx, celapimpx
153 
154  real*8 ea(25), xsa(25), ee
155 
156  data (ea(i),i= 1, 25)/
157  1 0.010, 0.020, 0.030, 0.060, 0.100, 0.200, 0.300, 0.400, 0.450,
158  2 0.500, 0.550, 0.670, 0.870, 1.000, 1.200, 1.350, 1.500, 2.000,
159  3 2.800, 3.000, 5.000, 7.000,10.000,50.000, 100.001 /
160  data (xsa(i),i= 1, 25)/
161  1 0.000, 4.000, 6.000,10.000,15.000,15.300,16.500,18.000,19.500,
162  222.500,30.000,26.000,33.500,32.000,25.000,23.500,25.000,27.000,
163  326.000,24.500,23.500,22.500,22.500,21.500,21.000/
164  if(e .le. 10.d-3) then
165  xs=1.d-5
166  elseif(e .lt. 100.) then
167  ee= e
168  call kfrge(ea, 1, 25, ee, l, icon)
169  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
170  * xsa(l-1)
171  else
172  lp = log(e) ! e = p here.
173  xs = ctotpimpx(e, lp) - celapimpx(e, lp)
174  endif
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
real *8 function celapimpx(p, logp)
Definition: cppXsec0.f:186
nodes i
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
real *8 function ctotpimpx(p, logp)
Definition: cppXsec0.f:177
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
Here is the call graph for this function:

◆ cpipairabsx()

subroutine cpipairabsx ( real *8  e,
real *8  xs 
)

Definition at line 474 of file cppXsec0.f.

References d0, d3, and kfrge().

474  implicit none
475  real *8 e, xs
476 !
477  integer i, icon, l
478  real * 8 ea(13), xsa(13), ee
479 ! mev
480  data (ea(i),i= 1, 13)/
481  1 0., 10., 20., 30., 40., 50., 70., 100., 140., 180., 200.,
482  2 300., 500.001/
483  data (xsa(i),i= 1, 13)/
484  1 0., 47., 92., 115., 129., 140., 161., 178., 184., 184., 182.,
485  2 115., 0./
486  ee=min(500.d0, e*1.d3)
487  call kfrge(ea, 1, 13, ee, l, icon)
488  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
489  * xsa(l-1)
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
block data cblkIncident data *Za1ry *HeightOfInj d3
Definition: cblkIncident.h:7
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
Here is the call graph for this function:

◆ cpipairreacx()

subroutine cpipairreacx ( real*8  e,
real*8  xs 
)

Definition at line 415 of file cppXsec0.f.

References d0, d3, and kfrge().

415  implicit none
416  real*8 e, xs
417 
418  integer i, icon, l
419  real*8 ea(24), xsa(24), ee
420 ! mev
421  data (ea(i),i= 1, 24)/
422  1 0., 10., 20., 30., 40., 50., 70., 80., 90., 100., 120.,
423  2 140., 160., 180., 200., 240., 260., 280., 300., 340., 360., 400.,
424  3 450., 500.0001/
425  data (xsa(i),i= 1, 24)/
426  1 0., 57., 94., 126., 155., 195., 316., 379., 408., 416., 437.,
427  2 443., 448., 443., 437., 393., 370., 345., 328., 253., 230., 207.,
428  3 190., 190./
429  ee=min(500.d0, e*1.d3)
430  call kfrge(ea, 1, 24, ee, l, icon)
431  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
432  * xsa(l-1)
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
block data cblkIncident data *Za1ry *HeightOfInj d3
Definition: cblkIncident.h:7
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
Here is the call graph for this function:

◆ cpipluspxsec0()

subroutine cpipluspxsec0 ( real*8  e,
real*8  xs 
)

Definition at line 207 of file cppXsec0.f.

References d, and kfrge().

207  implicit none
208  real*8 e, xs
209 
210  real*8 ea(18), xsa(18), ee
211  integer i, icon, l
212  real*8 lp, ctotpippx, celapippx
213 !
214  data (ea(i),i= 1, 18)/
215  1 0.100, 0.300, 0.500, 0.600, 0.700, 0.800, 0.900, 1.000, 1.100,
216  2 1.200, 1.300, 1.500, 5.000,10.000,30.000,50.000,70.000, 100.001/
217  data (xsa(i),i= 1, 18)/
218  1 1.d-5, 4.500, 7.500, 8.000,10.500,12.000,13.500,16.000,18.000,
219  2 19.500,19.800,20.000,20.200,19.500,19.200,19.200,19.500,20.000/
220 !
221  if(e .lt. 100.d-3) then
222  xs=1.d-5
223  elseif(e .lt. 100.) then
224  ee= e
225  call kfrge(ea, 1, 18, ee, l, icon)
226  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
227  * xsa(l-1)
228  else
229  lp = log(e) ! e = p here.
230  xs = ctotpippx(e, lp) - celapippx(e, lp)
231  endif
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
real *8 function ctotpippx(p, logp)
Definition: cppXsec0.f:234
real *8 function celapippx(p, logp)
Definition: cppXsec0.f:242
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
Here is the call graph for this function:

◆ cppxsec0()

subroutine cppxsec0 ( real*8  e,
real*8  xs 
)

Definition at line 30 of file cppXsec0.f.

References d, d0, and kfrge().

30  implicit none
31  real*8 e, xs
32 !
33  real*8 ee
34  integer i, icon, l
35  real*8 lp
36  real*8 ctotppx, celappx
37 
38  real*8 ea(21), xsa(21)
39 ! ea in GeV
40  data (ea(i),i= 1, 21)/
41  1 0.301, 0.350, 0.400, 0.450, 0.500, 0.550, 0.600, 0.650, 0.700,
42  2 0.800, 0.900, 1.000, 1.500, 2.000, 5.000, 7.000,10.000,20.000,
43  3 40.000,50.000, 100.001/
44  data (xsa(i),i= 1, 21)/
45  1 0.000, 0.500, 1.000, 2.500, 5.000, 7.350,11.000,15.000,18.500,
46  222.000,23.000,23.500,25.000,25.500,28.000,29.000,29.500,30.000,
47  330.000,29.500,31.000/
48  if(e .le. 0.) then
49  xs = 0.
50 
51  elseif(e .lt. .30101d0) then
52  xs=1.d-5
53  elseif(e .lt. 100.) then
54  ee = e
55  call kfrge(ea, 1, 21, ee, l, icon)
56  xs=(xsa(l)-xsa(l-1))/(ea(l)-ea(l-1))*(ee-ea(l-1)) +
57  * xsa(l-1)
58  else
59  lp = log(e) ! e = p
60  xs = ctotppx(e, lp) - celappx(e, lp)
61  endif
subroutine kfrge(x, intvx, n, c, m, icon)
Definition: kfrge.f:33
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
nodes i
real *8 function celappx(p, logp)
Definition: cppXsec0.f:72
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
Definition: Zglobalc.h:18
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function ctotppx(p, logp)
Definition: cppXsec0.f:64
Here is the call graph for this function:

◆ ctotkmpx()

real*8 function ctotkmpx ( real*8  p,
real*8  logp 
)

Definition at line 295 of file cppXsec0.f.

295  implicit none
296  real*8 p, logp
297  real*8 a, b, n, c, d
298  real*8 cxsec
299  data a/32.1/, b/0./, n/0./, c/0.66/, d/-5.6/
300  ctotkmpx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
real *8 function ctotkmpx(p, logp)
Definition: cppXsec0.f:295
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ ctotkppx()

real*8 function ctotkppx ( real*8  p,
real*8  logp 
)

Definition at line 352 of file cppXsec0.f.

352  implicit none
353  real*8 p, logp
354  real*8 a, b, n, c, d
355  real*8 cxsec
356  data a/18.1/, b/0./, n/0./, c/0.26/, d/-1.0/
357  ctotkppx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
real *8 function ctotkppx(p, logp)
Definition: cppXsec0.f:352
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ ctotpbpx()

real*8 function ctotpbpx ( real*8  p,
real*8  logp 
)

Definition at line 120 of file cppXsec0.f.

120  implicit none
121  real*8 p, logp
122  real*8 a, b, n, c, d
123  real*8 cxsec
124  data a/38.4/, b/77.6/, n/-0.64/, c/0.26/, d/-1.2/
125  ctotpbpx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
real *8 function ctotpbpx(p, logp)
Definition: cppXsec0.f:120
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ ctotpimpx()

real*8 function ctotpimpx ( real*8  p,
real*8  logp 
)

Definition at line 177 of file cppXsec0.f.

177  implicit none
178 
179  real*8 p, logp
180  real*8 a, b, n, c, d
181  real*8 cxsec
182  data a/33./, b/14./, n/-1.36/, c/0.456/, d/-4.03/
183  ctotpimpx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
real *8 function ctotpimpx(p, logp)
Definition: cppXsec0.f:177
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ ctotpippx()

real*8 function ctotpippx ( real*8  p,
real*8  logp 
)

Definition at line 234 of file cppXsec0.f.

234  implicit none
235  real*8 p, logp
236  real*8 a, b, n, c, d
237  real*8 cxsec
238  data a/16.4/, b/19.3/, n/-0.42/, c/0.19/, d/0./
239  ctotpippx = cxsec(p, logp, a, b, n, c, d)
real *8 function ctotpippx(p, logp)
Definition: cppXsec0.f:234
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ ctotppx()

real*8 function ctotppx ( real*8  p,
real*8  logp 
)

Definition at line 64 of file cppXsec0.f.

64  implicit none
65  real*8 p, logp
66  real*8 a, b, n, c, d
67  real*8 cxsec
68  data a/48./, b/0./, n/0./, c/.522/, d/-4.51/
69  ctotppx = cxsec(p, logp, a, b, n, c, d)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real *8 function ctotppx(p, logp)
Definition: cppXsec0.f:64
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130

◆ cxsec()

real*8 function cxsec ( real*8  p,
real*8  logp,
real*8  a,
real*8  b,
real*8  n,
real*8  c,
real*8  d 
)

Definition at line 83 of file cppXsec0.f.

83 ! elastic/inelastic high energy cross-secion formula.
84 ! a + bp**n + c*log(p)**2 + d*log(p)
85 ! p is momentum in GeV/c
86  implicit none
87  real*8 p, logp, a, b, n, c, d
88 !
89  cxsec = (c*logp + d)*logp + b*p**n + a
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real *8 function cxsec(p, logp, a, b, n, c, d)
Definition: cppXsec0.f:83
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
integer n
Definition: Zcinippxc.h:1
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130