4 #include "geant321/gcflag.inc"
9 CHARACTER*4 unitm,unitr
10 dimension transmit(2),reflect(2)
14 IF(ievent.le.0)
return
19 totevent = float(ievent)
22 fmean = sedep/totevent
23 rms2 = sedep2/totevent-fmean**2
25 if (rms2.gt.0.)
rms =
sqrt(rms2/totevent)
27 call gevkev(fmean,emean,unitm)
28 call gevkev(
rms ,erms ,unitr)
29 print 752, emean,unitm,erms,unitr
32 fmean = strkch/totevent
33 rms2 = strkch2/totevent-fmean**2
35 if (rms2.gt.0.)
rms =
sqrt(rms2/totevent)
39 fmean = strkne/totevent
40 rms2 = strkne2/totevent-fmean**2
42 if (rms2.gt.0.)
rms =
sqrt(rms2/totevent)
46 fmean = sstpch/totevent
47 rms2 = sstpch2/totevent-fmean**2
49 if (rms2.gt.0.)
rms =
sqrt(rms2/totevent)
53 fmean = sstpne/totevent
54 rms2 = sstpne2/totevent-fmean**2
56 if (rms2.gt.0.)
rms =
sqrt(rms2/totevent)
60 gamma = ngamma/totevent
61 elect = nelect/totevent
62 posit = nposit/totevent
66 transmit(1) = 100.*nbtransm(1)/totevent
67 transmit(2) = 100.*nbtransm(2)/totevent
68 reflect(1) = 100.*nbreflec(1)/totevent
69 reflect(1) = 100.*nbreflec(2)/totevent
70 print 761, transmit(2)
71 print 762, transmit(1)
81 call hrput(0,filename,
'N')
85 749
FORMAT(/ ,80(1h=),/)
86 750
FORMAT(
' Number of events = ', i7)
88 752
FORMAT(/,
' Total energy deposit in absorber per event = ',
89 + f8.3,a4,
' +- ',f6.2,a4)
91 753
FORMAT(/,
' Total track length (charged) in absorber per event = ',
92 + f8.4,
' cm +- ',f8.4,
' cm')
93 754
FORMAT(
' Total track length (neutral) in absorber per event = ',
94 + f8.4,
' cm +- ',f8.4,
' cm')
96 755
FORMAT(/,
' Number of steps (charged) in absorber per event = ',
98 756
FORMAT(
' Number of steps (neutral) in absorber per event = ',
101 757
FORMAT(/,
' Number of secondaries per event : ',
102 +
'gammas = ',f8.3,
'; electrons = ',f8.3,
'; positrons =',f8.3)
104 761
FORMAT(/,
' Nb of events with the primary particle transmitted = ',
106 762
FORMAT(
' Nb of events with at least 1 particle transmitted ',
107 +
'(same charge as primary) = ',f6.2,
' %')
108 763
FORMAT(/,
' Nb of events with the primary particle reflected = ',
110 764
FORMAT(
' Nb of events with at least 1 particle reflected ',
111 +
'(same charge as primary) = ',f6.2,
' %')