next up previous contents
Next: 4.4.22 REAL FUNCTION ZTCERF( Up: 4.4 Patch SGVTRKER : Previous: 4.4.20 REAL FUNCTION ZTPLAZ(   Contents


4.4.21 REAL FUNCTION ZTPRAD( IPLA, MINMAX, TYP) : Plane RADius

Return the radius of a given plane.

ARGUMENTS:
INPUT :
    IPLA : number of the plane.
    MINMAX  : 'MIN' or 'MAX' for minimal or maximal radius.
    TYP  : Type of the detector ('TRACKING' or 'CALORIMETER')
IMPLICIT INPUTS:
    From /ZTFWD/ RMN or RMX, min and max radius of detectors;
    From /ZTFWC/ RMNC or RMXC, min and max radius of detectors;
    From /ZTGPT/ ROFF, cylinder offset;
IMPLICIT OUTPUTS:
    none.
FUNCTION VALUE:
Length of the specified cylinder

CALLED BY :
General access routine to geometry data

CALLED ROUTINE(S):
none

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
07-APR-1995



Mikael Berggren 2003-03-27