next up previous contents
Next: 4.3.1 SUBROUTINE ZDETSI(I, STEER, Up: 4. Description of Routines. Previous: 4.2.15 SUBROUTINE ZEQCNT(LUNPR, I,   Contents

4.3 Patch SGVDETSIM : Detector simulation

This patch contains the code for detector simulation. The event generated and stored in /LUJETS/ is followed through the detector to simulate the response, either as resulting smeared track parameters (with errors), or as patterns of hits in the detector elements (or a mixture of the two).

Entry points :

ZDORD (see 4.3.2)
(initialisation)
ZDETSI (see 4.3.1)

The code of this patch communicates with other patches as follows :

    ZDORD  (initialisation)
      ZTINI in SGVTRKER

    ZDETSI
      ZTTRAK in SGVTRKER
      ZTTDST in SGVTRKER
      ZTERRM in SGVTRKER
      ZTFOLN in SGVTRKER
      (ZDDHIT
         ZTCRAD,ZTCLEN,ZTCERF,ZTCEZ,ZTTISC in SGVTRKER, and ZULETD
          in GENUTL)

      The access routines to the geometry (see SGVTRKER description
      bellow) is called at various places

The communication with the caller is by reading the JETSET common block /LUJETS/ and filling /ZXEVT/. In addition, if interactions in the detector are generated, /LUJETS/ is also modified. The communication with the patch SGVTRKER is only by arguments.



Subsections

Mikael Berggren 2003-03-27