next up previous contents
Next: 4.1.5 SUBROUTINE ZXCEST(I, STEER) Up: 4.1 Patch SGVSTEER : Previous: 4.1.3 SUBROUTINE ZXLOOP(I, STEER)   Contents


4.1.4 SUBROUTINE ZXEND(STEER) : ENDing of SGV

After all events have been generated, this routine ends the run in an orderly fashion, by calling ZXRUEN, and, if needed, RXEND/FZENDO.

ARGUMENTS:
INPUT :
    STEER : Array of steering-information. Used here is :
                (1,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.
IMPLICIT INPUTS:
    from /ZXSTE/ : NB_ERR, total number of errors; IOMODEC,
      IO mode of events.
IMPLICIT OUTPUTS:
    none.
CALLED BY :
ZXMAIN, the main program (see 4.1.1).

CALLED ROUTINE(S):
LUTABU/PYTABU
(To collect and/or print JETSET statistics.)
ZXRUEN (see 4.1.12)

(To do RUn ENd tasks)

RZEND,FZENDO
(CERNLIB routines (ZEBRA))

SIDE EFFECTS:
Units 67 (ZEBRA) and 99 (HBOOK) are flushed and closed.

AUTHORS:
M.Berggren,UFRJ

CREATION DATE:
31-MAR-1995



Mikael Berggren 2003-03-27