6 #include "geant321/gcbank.inc"
7 #include "geant321/gcflag.inc"
8 #include "geant321/gckine.inc"
12 dimension xsel1(nbin),xsel1c(nbin),xser1(nbin),xser1c(nbin),
13 + xsel2(nbin),xsel2c(nbin),xser2(nbin),xser2c(nbin)
15 dimension edist(100),edistc(100)
19 cnorm = 100./(xevent*pkine(3))
27 xsel1(i) = cnorm * sel1(i)
28 xsel2(i) = cnorm*
sqrt(abs(xevent*sel2(i) - sel1(i)**2))
29 xsel1c(i) = cnorm * sel1c(i)
30 xsel2c(i) = cnorm*
sqrt(abs(xevent*sel2c(i) - sel1c(i)**2))
37 xser1(i) = cnorm * ser1(i)
38 xser2(i) = cnorm*
sqrt(abs(xevent*ser2(i) - ser1(i)**2))
39 xser1c(i) = cnorm * ser1c(i)
40 xser2c(i) = cnorm*
sqrt(abs(xevent*ser2c(i) - ser1c(i)**2))
46 cnorm = 1./(xevent*x0)
48 xtrch2 = cnorm*
sqrt(abs(xevent*strch2 - strch1**2))
50 xtrne2 = cnorm*
sqrt(abs(xevent*strne2 - strne1**2))
54 if (iswit(2).gt.0)
then
61 print 754,b0,b1,xsel1(i),xsel2(i),b1,xsel1c(i),xsel2c(i)
69 print 754,b0,b1,xser1(i),xser2(i),b1,xser1c(i),xser2c(i)
76 CALL hunpak(21,edist,
'HIST',1)
77 edist( 1) = edist(1)*100/sum
80 edist(i) = edist(i)*100/sum
81 edistc(i) = edistc(i-1) + edist(i)
88 print 771,xsel1c(nltot),xsel2c(nltot)
91 print 772,xtrch1,xtrch2
92 print 773,xtrne1,xtrne2
96 CALL hrput(0,
'testem2.hbook',
'N')
105 750
FORMAT(15
x,
'LATERAL PROFILE',35
x,
'CUMULATIVE LATERAL PROFILE'/)
106 751
FORMAT( 8
x,
'Bin',12
x,
' Mean ',5
x,
' rms',
107 * 19
x,
'Bin', 9
x,
' Mean ',5
x,
' rms',/)
108 754
FORMAT( 3
x,f5.2,
'->',f5.2,
' radl: ',f7.2,
'% ',f7.2,
'%',
109 * 13
x,
'0->',f5.2,
' radl: ',f7.2,
'% ',f7.2,
'%')
110 760
FORMAT(///,15
x,
'RADIAL PROFILE',35
x,
'CUMULATIVE RADIAL PROFILE'/)
111 770
FORMAT(/,30
x,
'SUMMARY',/)
112 771
FORMAT( 25
x,
'energy deposit : ',f7.2,
' % E0 +- ',f7.2,
' % E0')
113 772
FORMAT( 25
x,
'charged traklen: ',f7.2,
' radl +- ',f7.2,
' radl')
114 773
FORMAT( 25
x,
'neutral traklen: ',f7.2,
' radl +- ',f7.2,
' radl')
115 774
FORMAT( 25
x,
'edep by charged: ',f7.2,
' % E0')
116 775
FORMAT( 25
x,
'edep by neutral: ',f7.2,
' % E0')