+-------------+ +----------## | Geant 3.12 | GEANT User's Guide | BASE400 ## +-------------+ +----------##
Author(s) : R.Brun Submitted: 01/10/84 Origin : R.Brun,F.Carena Revised: 10/12/92
The flags IDEBUG, ITEST and ISWIT(1-10) are available to the user in the common /GCFLAG/ for debug control [BASE030]. The array ISWIT is user defined and filled through the data record SWIT. (Warning: some flags are used by GHEISHA [PHYS510] and by the routine GDEBUG).
The flag IDEBUG is set to 1 in GTRIGI for the events with sequence number from IDEMIN to IDEMAX, as specified by the user on the data record DEBU. If IDEMIN is set negative debug is activated also in the initialisation phase.
The flag ITEST, set by the user via the data record DEBU, is also used by GTRIGI. The sequence number, the event number and the random numbers seeds are printed at the beginning of each event every ITEST from IDEMIN to IDEMAX.
The contents of the data structures can be dumped by calls to the routine
+--------------------------------------------+ | CALL GPRINT (NAME,NUMB) | +--------------------------------------------+
The following names are recognized:
DIGI,HITS,KINE,MATE,VOLU,ROTM,SETS,TMED,PART,VERT,JXYZ
GPRINT calls selectively the routines GPxxxx where xxxx of the names above. These routines can be called directly by the user.
The development of an event can be easily debugged via the routine:
+--------------------------------+ |CALL GDEBUG | +--------------------------------+
which operates under the control of the ISWIT array. It is the user responsability to call this routine from GUSTEP. If the DEBUG flag is active, the routine will perform as follows: