next up previous contents
Next: 4.1.6 SUBROUTINE ZXRUIN(STEER) : Up: 4.1 Patch SGVSTEER : Previous: 4.1.4 SUBROUTINE ZXEND(STEER) :   Contents


4.1.5 SUBROUTINE ZXCEST(I, STEER) : Create the Event STructure

This routine creates the event structure to be analysed by the analysing code by calling ZEUGEN to generate the event, folowed by ZDETSI to simulate the detector. It is also the latter that fills the common block /ZXEVT/ which is later packed and delivered to the analysing part by ZXSEND.

ARGUMENTS:
INPUT :
    I : Current event number
    STEER : Array of steering-information. Used here are :
                (1,2) : print unit
                (1,3) : number of events to print
OUTPUT :
    STEER : STEER(1,0) set to 1.0 if there was an error, -2.0
             if the error implies that the run should be stopped
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    the ZEBRA store SGVSTO in /ZXSTO/ will filled, if
    read-back is selected.
CALLED BY :
ZXLOOP, the event LOOP (see 4.1.3).

CALLED ROUTINE(S):
ZEUGEN (see 4.2.1)

(To generate the event.)

ZDETSI (see 4.3.1)

(To simulate the detector responce.)

FZIN
(CERNLIB ZEBRA routine.)

SIDE EFFECTS:
none

AUTHORS:
M.Berggren,UFRJ

CREATION DATE:
31-MAR-1995


next up previous contents
Next: 4.1.6 SUBROUTINE ZXRUIN(STEER) : Up: 4.1 Patch SGVSTEER : Previous: 4.1.4 SUBROUTINE ZXEND(STEER) :   Contents
Mikael Berggren 2003-03-27