3 subroutine ctotx(pj, A, xs)
10 real(8),
intent(in):: A
11 real(8),
intent(out):: xs
14 real(8):: cPDGsigmaTotpA
18 logical,
save::first=.
true.
19 real(8),
save::Asave=-1.
27 proton.fm.
p(4) = 200. +
masp 31 call ctotx0(proton, a, xst)
32 ratio = cpdgsigmatotpa(a)/xst
39 subroutine ctotx0(pj, A, xs)
51 if( pj.fm.p(4) .le. pj.
mass)
then 60 p = sqrt(pj.fm.p(4)**2 - pj.
mass**2)
81 elseif(pj.
charge .eq. -1)
then 116 elseif(pj.
charge .eq. -1)
then 135 shp = (shp + shn)/2.0
140 elseif(pj.
charge .eq. -1)
then 170 write(0,*)
'Sorry: ctotx is not usable for heavy ions' 171 write(0,*)
' only inelastic xs is used for heavy ions' 172 write(0,*)
' so that you may use cinela or cAAXsec2' max ptcl codes in the kgzai
subroutine cpbarptotxs(p, xs)
subroutine cpptotxs(p, xs)
max ptcl codes in the kgnuc
subroutine cnptotxs(p, xs)
max ptcl codes in the klambdac
subroutine ckpptotxs(p, xs)
max ptcl codes in the kkaon
max ptcl codes in the kelec
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
subroutine cxp2xaxsec(a, xsxp, xsxa)
subroutine ckpntotxs(p, xs)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
*Zfirst p fm *Zfirst p Zfirst p code
subroutine ctotx(pjin, Ain, xs)
subroutine ckmptotxs(p, xs)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
max ptcl codes in the klambda
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code knuc
subroutine ckmntotxs(p, xs)
subroutine cpipptotxs(p, xs)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon ! knockon is considered Obsolete *PhotoProd false
subroutine cmkptc(code, subcode, charge, p)
max ptcl codes in the kseethru ! subcode integer antip
*Zfirst p fm *Zfirst p mass
max ptcl codes in the kpion
max ptcl codes in the ksigma
max ptcl codes in the kbomega
subroutine cpimptotxs(p, xs)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode
subroutine ctotx0(pj, A, Z, xs)
subroutine cnbarptotxs(p, xs)