1 subroutine csampaf0(iowk, filen, sampInfo)
7 type(sampaf):: sampInfo
11 call copenf(iowk, filen, icon)
14 write(0,*)
'file: ',filen
15 write(0,*)
' could not be opened' 22 read(iowk, *, end=100) sampinfo.
x(i+1), sampinfo.
y(i+1)
29 * sampinfo.coef, sampinfo.
n, sampinfo.yi,
30 * sampinfo.sum, sampinfo.coef2)
32 subroutine csampaf(sampInfo, xs)
35 type(sampaf):: sampInfo
37 call ksampaf(sampinfo.
x, sampinfo.yi, sampinfo.
n,
38 * sampinfo.coef2, sampinfo.
n, xs)
46 type(sampaf):: sampInfo
50 * sampinfo.coef, sampinfo.
n, xv, ans)
57 type(sampaf):: sampInfo
66 x2 = sampinfo.x(sampinfo.
n)
68 dx = (x2-x1)/sampinfo.
n/10.
72 if( fmax .lt. temp )
then 77 do while (x .lt. x2-dx/2 )
79 if( fmax .lt. temp )
then subroutine csampafintp(sampInfo, xv, ans)
subroutine csampaf0(iowk, filen, sampInfo)
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 ksampaf(x, yi, n, coef2, nc, xs)
subroutine csampaf(sampInfo, xs)
subroutine ksampaf0(x, y, n, coef, nc, yi, total, coef2)
subroutine copenf(io, fnin, icon)
subroutine csampafmax(sampInfo, xmax, fmax)
latitude latitude this system is used *****************************************************************! type coord sequence union map real y
subroutine kcsplintp(x, y, n, coef, nc, v, f)
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x