10 real*8 ASdep(ndepth), munit(ndepth)
11 real*8 Esize0(ndepth),
12 * age0(ndepth), cogdep0(ndepth),
14 * ng0(ndepth), ne0(ndepth), nmu0(ndepth),
19 * asdep, esize0, age0,
20 * cogdep0, seloss0, munit,
21 * ng0, ne0, nmu0, cog0,
25 include
"../../Hist/Z90histc.f" 26 include
"../../Hist/Z90hist.f" 27 include
"../../Hist/Z90hist2.f" 28 include
"../../Hist/Z90hist3.f" 39 character*120 hist0, hyb0
48 write(0,*) hist0(1:
leng)
49 if( icon0 .eq. 0)
then 50 write(0,*)
'not exists' 52 write(0,*)
' cannot be opened ' 54 write(0,*)
' icon=',icon0
57 write(0,*) hist0(1:
leng),
' opened' 63 write(0,*) hyb0(1:
leng)
64 if( icon0 .eq. 0)
then 65 write(0,*)
'not exists' 67 write(0,*)
' cannot be opened ' 69 write(0,*)
' icon=',icon0
72 write(0,*) hyb0(1:
leng),
' opened' 77 read( fn0, end=1000 ) histid0
79 if( histid0 .eq.
'#hist1' )
then 81 read( h10%id(1:21),
'(3x, i4, i3)') eventno,
idx 82 do while (eventno .ne. evno0)
86 *
'(" # ", i4, i3, f5.2, f5.2)') eventno,
91 elseif(histid0 .eq.
'#hist2' )
then 92 call kwhistr2(h20, fn0, icon0)
94 read( h20%id(1:21),
'(3x, i4, i3)') eventno,
idx 95 do while (eventno .ne. evno0)
98 write( h20%id(1:21),
'(" # ", i4, i3, f5.2, f5.2)') eventno,
101 call kwhists2(h20, 0.0)
102 call kwhistpr2(h20, -6)
104 elseif(histid0 .eq.
'#hist3' )
then 105 call kwhistr3(h30, fn0, icon0)
107 read( h30%id(1:21),
'(3x, i4, i3)') eventno,
idx 108 do while (eventno .ne. evno0)
111 write( h30%id(1:21),
'(" # ", i4, i3, f5.2, f5.2)') eventno,
114 call kwhists3(h30, 0.0)
115 call kwhistpr3(h30, -6)
118 write(0,*)
'histid=', histid0,
' invalid' 123 write(0,*)
'all events processed ' 134 real*8 ASdep(ndepth), munit(ndepth)
135 real*8 Esize0(ndepth),
136 * age0(ndepth), cogdep0(ndepth),
138 * ng0(ndepth), ne0(ndepth), nmu0(ndepth),
143 * asdep, esize0, age0,
144 * cogdep0, seloss0, munit,
145 * ng0, ne0, nmu0, cog0,
148 do while (input0 .ne.
" ")
149 read( fn1 ,
'(a)') input0
150 if(input0 .ne.
" ")
then 151 read(input0(1:klena(input0)), *)
152 * evno0, i, asdep(i), esize0(i), age0(i),
153 * cogdep0(i), seloss0(i),
154 * munit(i), ng0(i), ne0(i), nmu0(i), cog0
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
integer function kgetenv2(envname, envresult)
void kwhistd(struct histogram1 *h)
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
averg real MaxCPU integer idx(Maxp)
subroutine copenfw2(io, fnin, form, icon)
void kwhistr(struct histogram1 *h, FILE *bfnor, int icon)
void kwhists(struct histogram1 *h, float inorm)
void kwhistpr(struct histogram1 *h, FILE *fno)