next up previous contents
Next: 4.7.5 SUBROUTINE PXTPPX(Z, PAR, Up: 4.7 Patch GENUTL : Previous: 4.7.3 SUBROUTINE ZUINPI(PHIIN, PHIOUT)   Contents


4.7.4 SUBROUTINE PXTCPX(RADIUS, PAR, P, X) : transform Track parameters on Cylinder to PXpypz

This routine transforms the TKR parameters given in PAR, at RADIUS to particle 3 momentum and the cartesian coordinates of the point where PAR was given.

ARGUMENTS:
INPUT :
    RADIUS : radius where track parameters are given. If RADIUS = 0,
             the parameters are assumed to be at the perigee.
    PAR : Track parameters.
OUTPUT :
    P : 3-momentum of the track.
    X : Cartesian coordinates of the point where PAR was given.
IMPLICIT INPUTS:
    From /PXCONS/ : BMAG, magnetic field; CONSA, speed of light.
IMPLICIT OUTPUTS:
    none.
CALLED BY :
any routine.

CALLED ROUTINE(S):
ZUI2PI (see 4.7.2)

(To bring an angle In the range 0 to 2PI.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
12-APR-1995



Mikael Berggren 2003-03-27