next up previous contents
Next: 4.4.13 INTEGER FUNCTION ZTCNBL(IGEO) Up: 4.4 Patch SGVTRKER : Previous: 4.4.11 SUBROUTINE ZTINVM(MATRIX, INVRED,   Contents


4.4.12 SUBROUTINE ZTREFL(P, THT, OTHSID) : REFLect a track in the x-y plane

If the track points to negative z, reflect it, otherwise don't.

ARGUMENTS:
INPUT :
    P : momentum of track.
OUTPUT :
    THT : reflected theta.
    OTHSID : TRUE if track was reflected.
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    none.
CALLED BY :
ZTTRAK, TRAcK a particle through the detector (see 4.4.1). ZTTCYL, Track intersect with CYLinder (see 4.4.6). ZTTPLA, Track intersect with PLAne (see 4.4.8).

CALLED ROUTINE(S):
none

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
07-APR-1995



Mikael Berggren 2003-03-27