COSMOS v7.655
COSMOSv7655
(AirShowerMC)
cghPath.f
Go to the documentation of this file.
1
! cghPath. mean free path of photo production of hadrons.
2
subroutine
cghpath
(egin, t)
3
! get hadronic interaction (v.d) m.f.p for gamma
4
! t is given in kg/m2
5
implicit none
6
!
7
8
#include "Ztrack.h"
9
#include "Ztrackv.h"
10
11
real*8
egin, t
12
!
13
real*8
abogn, abn, xs, u
14
parameter
(abogn=6.02e23, abn=1.e28/abogn)
! abn * A/ xs(mb) => kg/m2
15
! gA x-section, xs in mb
16
call
cgpxsec
(targetmassn, egin, xs)
17
18
if
(xs .gt. 0.)
then
19
t=abn*targetmassn /xs
20
call
rndc
(u)
21
t=-log(u)*t
22
else
23
t=1.0d50
24
endif
25
end
parameter
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
rndc
subroutine rndc(u)
Definition:
rnd.f:91
cghpath
subroutine cghpath(egin, t)
Definition:
cghPath.f:3
cgpxsec
subroutine cgpxsec(a, energy, xs)
Definition:
cgpXsec.f:11
Particle
Event
Elemag
cghPath.f
Generated by
1.8.13