Geant4_10
guout.F
Go to the documentation of this file.
1 
2  SUBROUTINE guout
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 *
27  END
subroutine guout
Definition: guout.F:2
Double_t x
Definition: plot.C:279
void print(const std::vector< T > &data)
Definition: DicomRun.hh:111