11 #include "Zmanagerp.h" 12 real(8),
intent(in):: xpin
14 real(8),
intent(in):: ain
19 character(40)::filedpm=
"$COSMOSTOP/Data/DPM/sigxAbysigxp" 20 character(40)::fileqgs=
"$COSMOSTOP/Data/QGS/sigxAbysigxp" 21 character(40)::fileepos=
"$COSMOSTOP/Data/EPOS/sigxAbysigxp" 25 real(4),
allocatable,
save::xsratio(:,:)
26 real(4),
allocatable,
save::xsa(:)
27 real(4),
allocatable,
save::aa(:)
28 real(4)::xp,
a, ratios, error
29 real(4):: xsv, av, xsr, ar
39 if( sxabysxpopt == 1 )
then 41 elseif(sxabysxpopt == 2)
then 43 elseif(sxabysxpopt == 3)
then 45 elseif(sxabysxpopt == 4)
then 48 elseif( sxabysxpopt == 0)
then 52 write(0,*)
' SxAbySxpOpt =',sxabysxpopt,
' invalid' 53 write(0,*)
' it must be 1 ~4' 56 call copenf(tempdev, file, icon)
58 write(0,*) file,
" could not be opened " 66 read(tempdev,*, end=100) xsr, ar
78 allocate( xsratio(ixs, ia) )
84 * xsa(ixsc), aa(iac), xsratio(ixsc, iac)
96 if( xpin < 15.
d0 .or. sxabysxpopt == 4 )
then 102 * xsratio, ixs, ixs, ia, 2, 2, xp,
a, ratios, error)
104 if( ratio < 1. )
then
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
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
subroutine copenf(io, fnin, icon)
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
real(8) function cxabyxpxsecold(xpin, a)
subroutine kpolintp2s(xa, xstep, dx, ya, ystep, dy, za, adj, m, n, ma, na, x, y, z, error)