6 integer num, i, nr, firstev, lastev
9 character*80 skelin, stro(3)
15 integer cumnum, irevent(2)
16 common /cselev/ cumnum, irevent
27 call ksplit(str, 80, 3, stro, nr)
28 if(nr .lt. 3) stop
'must give 1 files and 2 event #' 31 read( stro(2), * ) firstev
32 read( stro(3), * ) lastev
34 open(rdev, file=skelin(1:
klena(skelin)), form=
'unformatted',
38 read(rdev, end= 1000) cumnum, num, irevent, zfirst
40 if(cumnum .gt. lastev)
goto 1000
44 do while (nlow .ne. -1)
52 if(lastev .gt. cumnum)
then 54 *
'EOF before the specified last event reached; ok?', 1)
57 *
' all events processed successfully', 1)
68 integer cumnum, irevent(2)
69 common /cselev/ cumnum, irevent
subroutine ksplit(a, m, n, b, nr)
subroutine cerrormsg(msg, needrtn)
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
integer function klena(cha)
dE dx *! Nuc Int sampling table c