44 integer n1, n2,
n,
i, na
46 real*8 c1(n1), x10(n1), p1(n1), x1p(n1+1), coef1(n1)
48 real*8 c2(n2), x20(n2), p2(n2), x2p(n2+1), coef2(n2)
50 real*8 coef(
n),
p(
n), xp(
n+1)
51 real*8 z, fz, ft,
ck23, u
54 data p1/0.04433
d0, 1.5
d0, 2.8125
d0/
55 data c1/0.1195
d0, 1.5625
d-2, 3.05175
d-5/
58 data x20/0.01
d0, 1.
d0, 2.511886
d0, 7.4131
d0,
60 data c2/2.3096
d-3, 4.9463
d-1, 0.41808
d0,
61 * 1.5448
d-2, 2.427
d-7/
62 data p2/-1.3298
d0, -0.446
d0, 1.04103, 5.92368
d0,
67 save first, x1p, coef1, x2p, coef2, x10, x20
76 call ksamppwx(c1, p1, x10, n1, x1p(2), coef1 )
82 call ksamppwx(c2, p2, x20, n2, x2p(2), coef2 )
97 if(u .lt. ft/fz)
goto 10
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data h g *is for param c g data up(2, 1)/7.0d0/
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 cblkHeavy ********************integer j data *HeavyG2symbol p
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
subroutine ksamppwx(c, p, x0, n, xp, c2)
dE dx *! Nuc Int sampling table d
subroutine ksamppwmrg(c1, p1, x1, n1, c2, p2, x2, n2, c, p, x, n)
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 ksamppw(ini, coef, power, node, n, x, fx)