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.
I : Current event number STEER : Array of steering-information. Used here are : (1,2) : print unit (1,3) : number of events to print
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
none.
the ZEBRA store SGVSTO in /ZXSTO/ will filled, if read-back is selected.
(To generate the event.)
(To simulate the detector responce.)