6 #include "geant321/gcflag.inc"
7 #include "geant321/gckine.inc"
8 #include "geant321/gctrak.inc"
10 #include "detector.inc"
11 #include "process.inc"
14 character*20 material, particle
19 call gfmate(imat,material,dum,dum,
density,dum,dum,dum,ndum)
20 call gfpart(ikine,particle,ndum,dum,dum,dum,dum,ndum)
25 CALL uctoh(
'MUNU',namec(12),4,4)
26 print 760,(namec(i),i=1,12)
27 print 761,(nbcall(i),i=1,12)
30 avtrak = sumtrak /nbtot
31 avtrak2 = sumtrak2/nbtot
32 rms =
sqrt(abs(avtrak2 - avtrak*avtrak))
37 print 770, avtrak,
rms,massmfp,attecoef,massac
46 CALL hrput(0,filename,
'N')
50 750
FORMAT(/,1
x,
'The run consists of ',i7,1
x,a8,
' of ',f7.2,a4,
51 +
' throught',f10.2,
' cm of ',a8,
' (density: ',f7.3,
' g/cm3)')
53 760
FORMAT(/,1
x,
'Frequency of process calls: ',
55 761
FORMAT( 1
x,12i8,/)
57 770
FORMAT(/,1
x,
'MeanFreePath:',f12.5,
' cm +- ',f12.5,
' cm',
58 + 5
x,
'massic:',f12.5,
' g/cm2',
59 + /,1
x,
'CrossSection:',f12.5,
' cm^-1 ',15
x,
60 + 5
x,
'massic:',f12.5,
' cm2/g',/)
BasicVector3D< T > unit() const
static c2_sqrt_p< float_type > & sqrt()
make a *new object
void print(const std::vector< T > &data)