4 #include "geant321/gcflag.inc"
5 #include "geant321/gckine.inc"
6 #include "geant321/gcking.inc"
7 #include "geant321/gconst.inc"
8 #include "geant321/gctmed.inc"
9 #include "geant321/gctrak.inc"
11 #include "runinfo.inc"
16 IF (idebug.NE.0) CALL gpcxyz
17 IF ((iswit(1).EQ.1).AND.(charge.NE.0.)) CALL gsxyz
18 IF (iswit(1).EQ.2) CALL gsxyz
22 if (numed.ne.1)
return
28 if (charge.ne.0.)
then
43 if (histo(3)) call hfill(3,log10(1000*
energy),0.,1.)
44 else if (id.eq.2)
then
47 if (histo(2)) call hfill(2,
energy/histunit(2),0.,1.)
48 else if (id.eq.3)
then
51 if (histo(2)) call hfill(2,
energy/histunit(2),0.,1.)
55 if (.not.kill) call gsking(0)