next up previous contents
Next: 4.2.3 SUBROUTINE ZEUGEN(I, STEER, Up: 4.2 Patch SGVEVSIM : Previous: 4.2.1 SUBROUTINE ZEUGEN(I, STEER,   Contents


4.2.2 SUBROUTINE ZEUGEN(I, STEER, IERR) : User GENerator

User event generator routine, PYTHIA version.

ARGUMENTS:
INPUT :
    I : Current event number.
    STEER : Steering info. The event generator uses row 2:
                  STEER(2,0)   : Type of event to be generated.
                         ,1)   : CMS energy of reaction to be simulated.
                         ,2)   : Lifetime of B hadrons.
                         ,4)   : 0.0 -> use fixed primary vertex position.
                                 1,0 -> generate primary vertex position.
                                        event by event.
                         ,5-7) : Average production point.
                         ,8-10): Spread in production-point.
                 All other position of the row are free to use.

    IERR  : error code.
IMPLICIT INPUTS:
     From /ZXSTE/ : LUNPRC, printing unit; MAXPR, max number of
          events to print; NEWAMV, flag to load average mean vertex.
IMPLICIT OUTPUTS:
    To /ZXEVT/ : XYZV, average vertex position; SIGV, vertex error;
       EVTYPE, type of generated event.
    To /LUJETS/ : event record in JETSET conventions. This routine
       will directly modify the production points of tracks (vector
       V in LUJETS), and the history code (vector K in LUJETS).
CALLED BY :
ZXCEST, Create the Event STructure (see 4.1.5).

CALLED ROUTINE(S):
ZUCODS (see 4.7.15)

(To COpy Double prec to Single prec)

ZEPVTX (see 4.2.7)

(To generate Primary VerTeX.)

LULIST/PYLIST
(JETSET routine.)
PYTEVT
(PYTHIA routine.)
UCOPY
(CERNLIB routine.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, IPN Lyon

CREATION DATE:
20-JAN-1998



Mikael Berggren 2003-03-27