Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
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
Generated on Sat May 25 2013 14:32:19 for Geant4 by
1.8.4