next up previous contents
Next: 4.5.10 SUBROUTINE ZAUSER(STEER) : Up: 4.5 Patch SGVANA : Previous: 4.5.8 SUBROUTINE ZATRLD :   Contents


4.5.9 SUBROUTINE ZAMKTK(ERROR) : MaKe TracK fit result

If the data read by the analysing program did not contain track-parameters (only pxpypz + track start point), this routine follows the track through the detector and determines the track parameters at the perigee with error-matrix (including measurement precision and multiple scattering). Optionally the parameters and errors at other places in the detector can also be calculated.

If the data read did contain track parameters, this routine only copies them from /ZATRA/ to /ZATRS/

ARGUMENTS:
OUTPUT :
       ERROR : error-flag
IMPLICIT INPUTS:
    From /ZATRA/ : PSMEAR, smeared momentum; XSTART, point where
                   PSMEAR is given; CDG, code of particle; CHAG,
                   charge of particle; ALLTRK, the current overall
                   track number.
    From /ZATRS/ : TRACK, the current seen track number.
    From /ZADTG/ : RVD, radii of detector layers where hits were produced.
    From /ZASTE/ : TYPE, type of data on tracks (TKR or pxpypz); IGEOM,
                   current detector geometry. METHOD, hit or not, and
                   how to process them.
IMPLICIT OUTPUTS:
    To /ZATRS/ : PAR and WGT, perigee parameters with weight-matrix;
                 TKR, extrapolations with cov-matrix to radius=TKR(1...);
                 PVEC, seen pxpypz at the perigee;
    To /ZADTH/ : ER, error code for extrapolations in each layer.
CALLED BY :
ZAPRCS, Analysis PRoCeSsing (see 4.5.1).

CALLED ROUTINE(S):
ZTTRAK (see 4.4.1)

(To TRAcK a particle through the detector)

ZTERRM (see 4.4.2)

(To calculate ERRor Matrix)

PXTCPX (see 4.7.4)

(To transform Track parameters on Cylinder to PXpypz)

UCOPY,VMOD
(CERNLIB routines.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
10-APR-1995


next up previous contents
Next: 4.5.10 SUBROUTINE ZAUSER(STEER) : Up: 4.5 Patch SGVANA : Previous: 4.5.8 SUBROUTINE ZATRLD :   Contents
Mikael Berggren 2003-03-27