+-------------+ +----------## | Geant 3.12 | GEANT User's Guide | BASE200 ## +-------------+ +----------##
Author(s) : R.Brun Submitted: 01.06.83 Origin : GEANT2/3 Revised: 13.01.92
+----------------------------+ |CALL GRUN | +----------------------------+
Main routine to control a run of events. The following flow chart is only valid for the batch execution mode. For interactive applications, see section XINT. This is a schematic description of the routine:
--Routine-called---------------------------------------------------------------------Action----------------------------------- TIMEX Gets the time left GTRIGI Initialises dynamic memory banks for next event GTRIG Processes one event GTRIG Clears dynamic memory banks used for the event Inline code Checks time left
+--------------------------------+ |CALL GTRIGI | +--------------------------------+
Resets to 0 the flag IEOTRI in /GCFLAG/ and the counters NTRACK and NVERTX in /GCNUM/. Sets the debug flag IDEBUG in /GCFLAG/ to the value required for the current event. Creates a default header bank JHEAD for current event [BASE299]. Prints the sequence number, the event number and the random number generator seeds, under control of the flag ITEST (data record DEBU).
+------------------------------+ |CALL GTRIG | +------------------------------+
Steering routine to process one event (trigger). This is a schematic description of the routine:
Routine called Action ------------------------------------------------------------------------------------------------------------------------------ GUKINE User routine to generate or read the kinematic of the particles which GEANT is supposed to track through the defined geometry. GUTREV User routine to handle the tracking of the initial kinematics. The default provided by GEANT calls the GTREVE routine which tracks all the particles through the defined geometry. GUDIGI User routine to perform digitisation. The default provided by GEANT is just a dummy routine. GUOUT User routine called at the end of each event. The default provided by GEANT is just a dummy routine.
+--------------------------------+ |CALL GTRIGC | +--------------------------------+
The event division IXDIV is cleared. The space used by the current event may be used by the next one.