6 integer ns, nrbin, nebin, fno
10 real*8 x, y, z, fx, R, tm
26 real*8 coef(2), pw(2), node(3), xp(1), ca(2)
27 real*8 a, b, c, u, E, s(ns)
28 character*24 dirstr, key
35 * 1.0, 0.2, nrbin, b
'00001',
36 * 1.0, 0.2, nebin, b
'01001',
37 * 0.1, 0.1, 50, b
'00011' )
40 *
"ret",
"ptcls", .
true., 0.,
41 *
"r",
"m",
"E",
"GeV",
"T",
"ns")
43 pw(1) = 1.
d0+(s(i)-1.)
44 pw(2) = 3.
d0+ (s(i)-1.)
51 write(dirstr,
'("s",i1,"/")') i
52 call kwhistdir3(h(i), dirstr)
53 write(key,
'("s=",f5.2," r:")') s(i)
54 call kwhistid3(h(i), key)
55 call ksamppwx(coef, pw, node, 2, xp, ca)
57 call ksamppw(j, ca, pw, node, 2, r, fx)
58 a = -2.0 - log(r) + (s(i)-1.0)
61 c = 0.1 + 10./e + r**2/300. + (s(i)-1.)
63 call kwhist3(h(i), sngl(r), sngl(e), sngl(tm), 1.0)
65 call kwhists3( h(i), 0. )
66 call kwhiststep3(h(i), 2, 2)
67 call kwhistp3( h(i), fno)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine ksgmis(n, a, x)
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 ksamppwx(c, p, x0, n, xp, c2)
subroutine ksamppw(ini, coef, power, node, n, x, fx)