]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | * |
2 | * $Id$ | |
3 | * | |
4 | * $Log$ | |
5 | * Revision 1.1.1.1 1995/10/24 10:21:52 cernlib | |
6 | * Geant | |
7 | * | |
8 | * | |
9 | #include "geant321/pilot.h" | |
10 | *CMZ : 3.21/02 29/03/94 15.41.35 by S.Giani | |
11 | *-- Author : | |
12 | SUBROUTINE GUSTEP | |
13 | * | |
14 | ************************************************************************ | |
15 | * * | |
16 | * User routine called at the end of each tracking step * | |
17 | * MEC is the mechanism origin of the step * | |
18 | * INWVOL is different from 0 when the track has reached * | |
19 | * a volume boundary * | |
20 | * ISTOP is different from 0 if the track has stopped * | |
21 | * * | |
22 | ************************************************************************ | |
23 | * | |
24 | #include "geant321/gcking.inc" | |
25 | #include "geant321/gcomis.inc" | |
26 | * | |
27 | * ----------------------------------------------------------------- | |
28 | * | |
29 | #if defined(CERNLIB_COMIS) | |
30 | IF(JUSTEP.NE.0)THEN | |
31 | CALL CSJCAL(JUSTEP,0,X,X,X,X,X,X,X,X,X,X) | |
32 | GO TO 99 | |
33 | ENDIF | |
34 | #endif | |
35 | IF(NGKINE.GT.0) THEN | |
36 | DO 5 I=1,NGKINE | |
37 | ITYPA = GKIN(5,I) | |
38 | IF(ITYPA.NE.4) CALL GSKING(I) | |
39 | 5 CONTINUE | |
40 | ENDIF | |
41 | CALL GDEBUG | |
42 | 99 END |