next up previous contents
Next: 4.1.8 SUBROUTINE ZXINOT(IOMODE) : Up: 4.1 Patch SGVSTEER : Previous: 4.1.6 SUBROUTINE ZXRUIN(STEER) :   Contents


4.1.7 SUBROUTINE ZXGORD(MODE, STEER) : General ORDers

This routine defines general steering-cards (MODE=0) and initialises general parts of SGV (MODE=1).

ARGUMENTS:
INPUT :
    MODE  : 0 -> define cards.
            1 -> react on values given to the cards by calling FFGO
    STEER : Steering info. The general steering uses row 1:
                  STEER(1,0)   : Event OK (=0.0) or not OK (=1.0). Stop run
                                 if = -2.0
                         ,1)   : Type of run :
                                    0 : Normal SGV run
                                    1 : External data read
                                    2 : External simulated data read
                                    3 : External simulated data read,
                                        filling JETSET commons.
                                    4 : Read-back of previously
                                        generated and simulated
                                        SGV-events (FZ)
                         ,2)   : print unit.
                         ,3)   : number of events to print
                         ,4)   : 1.0 -> Analysis initialisation HAS been done.
                                 0.0 -> Analysis initialisation HAS NOT been
                                 done.
                         ,5)   : 1.0 -> Column-wise ntuples needed, so
                                 HBOOK initialisation has NOT been done.
                                 0.0 -> No CW-ntuples needed, so HBOOK
                                 initialisation has been done.
                         ,6)   : Number of events to skip if restart
                         ,7)   : Number of events to process
                         ,8)   : Starting seed for detector simulation
                         ,9)   : Starting seed LUND event generator
                         ,10)  : 1.0 -> Some kind of HBOOK I/O is
                                 to be done, so files will be opened
                                 0.0 -> No HBOOK I/O, either no histos
                                 at all, or only in memory.
                 All other position of the row are free to use.
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    To /ZXSTE/ : IOMODEC : event output mode; LUNPRC: Print LUN;
     MAXEV : Number of events to be produced; MAXPR : Number of events
     to print; BACKUP_FREQ : Frequency of backup of random seeds;
     SKIP : TRUE if event to be skipped if error; SEED_BACKUP : TRUE
     if random seeds should be output at regular intervals;
     UPDF : Update or reset histograms and/or ntuples read in.
    To /ZXSPL/ : counters of no. of quarks etc, zeroed here.
    To /LUDAT1/ : MSTU(11) : logical unit for JETSET printing.
CALLED BY :
ZXRUIN, RUn Initialisation (see 4.1.6).

CALLED ROUTINE(S):
ZXINOT (see 4.1.8)

(To Initialise OuTput)

ZXHINI (see 4.1.9)

(To do Histogram Initialise.)

HLIMIT,HROPEN,HERMES,HOUTPU,HINDEX
(CERNLIB HBOOK routines.)
FFKEY
(CERNLIB FFREAD routine.)
RZSCAN,VZERO,LENOCC
(CERNLIB routines.)

SIDE EFFECTS:
Unit 99 will be opened for HBOOK.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
31-MAR-1995



Mikael Berggren 2003-03-27