Geant4  10.02.p03
TestEm4/geant3/src/gustep.F File Reference
#include "geant321/gcflag.inc"
#include "geant321/gckine.inc"
#include "geant321/gcking.inc"
#include "geant321/gctrak.inc"
#include "celoss.inc"
Include dependency graph for TestEm4/geant3/src/gustep.F:

Go to the source code of this file.

Functions/Subroutines

subroutine gustep
 

Function/Subroutine Documentation

◆ gustep()

subroutine gustep ( )

Definition at line 3 of file TestEm4/geant3/src/gustep.F.

3 *
4 * User routine called at the end of each tracking step
5 *
6 #include "geant321/gcflag.inc"
7 #include "geant321/gckine.inc"
8 #include "geant321/gcking.inc"
9 #include "geant321/gctrak.inc"
10 #include "celoss.inc"
11 *
12 *
13 * *** Debug event and store tracks for drawing
14  IF (idebug.NE.0) CALL gpcxyz
15  IF ((iswit(1).EQ.1).AND.(charge.NE.0.)) CALL gsxyz
16  IF (iswit(1).EQ.2) CALL gsxyz
17 *
18 * *** Something generated ?
19  IF(ngkine.GT.0) CALL gsking(0)
20 *
21 * *** Energy deposited
22  IF(destep.GT.0.) etot = etot + destep
23 *