5 #include "geant321/gcmulo.inc"
6 #include "geant321/gckine.inc"
8 #include "ggvalues.inc"
13 call gftmat(imat,ikine,
'LOSS',nekbin,elow,g3value,dum,idum)
17 call hbookb(1,
'(g4-g3)/g3 in percent',nekbin,elow,0.)
18 call hbookb(2,
'abs((g4-g3)/g3) in percent',nekbin,elow,0.)
23 dif = 100*(g4value(i)-g3value(i))/g3value(i)
24 call hfill(1, elow(i), 0., dif)
25 call hfill(2, elow(i), 0., abs(dif))
26 print 751,i,elow(i),g4value(i),g3value(i),dif
29 750
format(/,6
x,
'Tkin (GeV)',3
x,
'G4 (MeV/cm)',3
x,
'G3 (MeV/cm)',
31 751
format(1
x,i3, e12.4, 2
x, e12.4, 2
x, e12.4, 2
x, e12.4)
void print(const std::vector< T > &data)