5 * Revision 1.1.1.1 1995/10/24 10:21:36 cernlib
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.31 by S.Giani
14 ************************************************************************
15 * SCAN utility called at the end of each tracking step *
16 * INWVOL is different from 0 when the track has reached *
19 * ==>Called by : <USER>,GUSTEP *
20 * Author R.Brun ********* *
21 ************************************************************************
23 #include "geant321/gcbank.inc"
24 #include "geant321/gcscal.inc"
25 #include "geant321/gcmate.inc"
26 #include "geant321/gctrak.inc"
27 #include "geant321/gckine.inc"
28 #include "geant321/gcvolu.inc"
29 #include "geant321/gcscan.inc"
30 SAVE ISLOLD,IDOLD,IDNUM
32 * -----------------------------------------------------------------
45 * Compute new ISL,IDET
50 IF(NAMES(IL).EQ.ISLIST(I))THEN
53 IF(IL.EQ.NLEVEL.OR.IDNUM.NE.IDOLD)INEW=1
59 IF(INWVOL.EQ.3.OR.ISL.NE.ISLOLD.OR.INEW.NE.0)THEN
60 CALL GSSCAN(ISLOLD,IDOLD)