next up previous contents
Next: 4.5.1 SUBROUTINE ZAPRCS(DATA, IREC, Up: 4. Description of Routines. Previous: 4.4.62 SUBROUTINE ZTWGTC(INCR) :   Contents

4.5 Patch SGVANA : Event analysis

This patch contains the code for event analysis. The data is delivered to the routine ZAPRCS (as arguments), decoding is done to fill the common blocks in the deck ZACDE, and the user routine ZAUSER is called. A template of such a routine is included in this patch. User alternations might also be needed in ZAORD ( to include more steerings), ZAZERC (zero counters, no-op here), and ZAINI (user initialisation at start-of-run).

Entry points :

ZAORD (see 4.5.2)
(initialisation)
ZAPRCS (see 4.5.1)

ZARUEN (see 4.5.11)
(end-of-run)

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

    ZAORD (initialisation)
      ZAINI
        ZTINI in SGVTRKER (if not already called)

    ZAPRCS
      ZADECD
        ZTTRIP in SGVTRKER
      ZAMKTK
        ZTTRAK and ZTERRM in SGVTRKER (if TKR data not given on input)

The communication with the caller is through arguments only.



Subsections

Mikael Berggren 2003-03-27