next up previous contents
Next: 4.4.32 REAL FUNCTION ZTCFCP( Up: 4.4 Patch SGVTRKER : Previous: 4.4.30 INTEGER FUNCTION ZTCSMC(   Contents


4.4.31 REAL FUNCTION ZTCSDE( ICAL, ERRTYP, CTYP) : Calorimeter Shower Direction Error

Return the errors on the shower direction in the given calorimeter

ARGUMENTS:
INPUT :
    ICAL : number of the calorimeter.
    ERRTYP : [1:4] error type :
                     1 : RPhi or x of shower start point
                     2 : z or y of shower start point
                     3 : Theta of shower axis.
                     3 : Phi of shower axis.
    CTYP  : +ve : Cylindrical detector (RPhi and z given)
            -ve : Plane detector (x and y given)
IMPLICIT INPUTS:
    From /ZTBAC/ DPHIBC, ZB, DTHBC, and DRPHIC, Barrel calorimeter shower
                 position and direction errors. SMCB, Shower meas. code
    From /ZTFWC/ DXFC, DYFC, DTHFC, and DPHIFC, Forward calorimeter shower
                 position and direction errors. SMCF, Shower meas. code
IMPLICIT OUTPUTS:
    none.
FUNCTION VALUE:
The requested error. For calorimeters not meassuring shower direction and start-point (only the module-number), the direction errors (3 and 4) are set to 0, the position errors to (size-of-module)/$\sqrt {12}$. If the modularity is not in phi and z (x and y), an average module size in these coordinates will be used.

CALLED BY :
General access routine to geometry data

CALLED ROUTINE(S):
ZTCMOS (see 4.4.34)

(To get Calorimeter MOdule Size)

ZTCRAD (see 4.4.17)

(To get Cylinder RADius.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
07-APR-1995


next up previous contents
Next: 4.4.32 REAL FUNCTION ZTCFCP( Up: 4.4 Patch SGVTRKER : Previous: 4.4.30 INTEGER FUNCTION ZTCSMC(   Contents
Mikael Berggren 2003-03-27