6 #include "geant321/gcflag.inc"
7 #include "geant321/gconst.inc"
8 #include "geant321/gckine.inc"
9 #include "geant321/gcking.inc"
10 #include "geant321/gctmed.inc"
11 #include "geant321/gctrak.inc"
12 #include "geant321/gcvolu.inc"
18 IF (idebug.NE.0) CALL gpcxyz
19 IF (iswit(1).EQ.1.AND.(charge.NE.0.)) CALL gsxyz
20 IF (iswit(1).EQ.2) CALL gsxyz
23 IF(ngkine.GT.0) CALL gsking(0)
28 nr = 1 + radius/(drx0*x0)
29 nl = 1 + (z1 +
vect(3))/(dlx0*x0)
30 dedr(nr) = dedr(nr) + destep
31 dedl(nl) = dedl(nl) + destep
35 IF (charge.NE.0.)
THEN
37 edepch = edepch + destep
40 edepne = edepne + destep
44 IF ((destep).GT.0.)
THEN
45 elog = log10((gekin+destep)/pkine(3))
46 call hfill(21,elog,0.,destep)