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

Go to the source code of this file.

Functions/Subroutines

subroutine guout
 

Function/Subroutine Documentation

◆ guout()

subroutine guout ( )

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

3 *
4 * User routine called at the end of each event
5 *
6 #include "geant321/gcflag.inc"
7 #include "celoss.inc"
8 *
9 * *** drawing
10 *
11 #ifndef batch
12  IF (iswit(1).NE.0) THEN
13  CALL gdhead (110110,'TestEm4',0.)
14  CALL gdshow (3)
15  CALL gdxyz (0)
16  END IF
17 #endif
18 *
19 * energy deposited
20 *
21  emev = 1000.*etot
22  CALL hfill(1,emev,0.,1.)
23  IF (iswit(1).NE.0) print 750,emev
24 *
25  750 FORMAT(1x,'Energy deposit: ',f6.3,' MeV')
26 *
Double_t x
void print(G4double elem)
Here is the call graph for this function: