Geant4_10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
source
examples
extended
electromagnetic
TestEm11
geant3
src
gutrev.F
Go to the documentation of this file.
1
2
SUBROUTINE
gutrev
3
*
4
* User routine to control tracking of one event
5
* Called by GRUN
6
*
7
#include "celoss.inc"
8
#include "histo.inc"
9
*
10
* *** par event initialisations
11
eevent = 0.
12
*
13
* *** process the event
14
CALL gtreve
15
*
16
* *** returns if no energy deposition
17
if
(eevent.le.0.)
return
18
*
19
* *** histo: total energy deposited
20
ih = 2
21
if
(histo(ih)) call hfill(ih,eevent/histunit(ih),0.,1.)
22
*
23
* *** cumul energy deposited
24
etot = etot + eevent
25
etot2 = etot2 + eevent*eevent
26
*
27
END
gutrev
subroutine gutrev
Definition:
gutrev.F:2
Generated on Sat Dec 14 2013 14:33:07 for Geant4_10 by
1.8.5