next up previous contents
Next: 4.4.51 SUBROUTINE ZTCSEP(NAME,ILAY,ENE,EMES,IDET) : Up: 4.4 Patch SGVTRKER : Previous: 4.4.49 SUBROUTINE ZTDTGE(NAME,ILAY,GEOPAR,IDET,CALTYP) :   Contents


4.4.50 SUBROUTINE ZTDTPM(NAME,ILAY,MESPAR,IDET) : DeTector Position Measurement parameters

Routine to return the track or shower position measurement parameters of a given sub-detector.

ARGUMENTS:
INPUT :
    NAME : Name of the sub-detector
    ILAY : The layer number. If =0, then the fiirst layer is used.
OUTPUT :
    MESPAR(1:5) : Shower energy measurement parameters:
                1 : position error in Rphi (barrel) or x (forward)
                2 : position error in z (barrel) or y (forward)
              for calorimeters also:
                3 : error on theta of shower axis
                4 : error on phi of shower axis
                5 : type of position measurement of the calorimeter:
                     0 : Realy measures
                   <>0 : Only module hit known and error are the
                         module size in the direction divided by
                         sqrt(12). No shower axis direction
                         determination done, hence mespar(2:3) are nil.
                         Specifically:
                            mespar(5) =
                               1 : modularity is in phi and z (barrel) or
                                   phi and R (forward)
                               2 : modularity is in phi and theta
                                   (barrel) or x and y (forward)
    IDET : detector type:
            1 : barrel tracking
            2 : forward tracking
            3 : barrel calorimeter
            4 : forward calorimeter
IMPLICIT INPUTS:
    From /ZTXRD/ : LAYNAM, list of layer-names; LAYSET, set of
           layers with a given name; DETTYP, detector-type for
           a given name.
IMPLICIT OUTPUTS:
    none.
CALLED BY :
User code.
CALLED ROUTINE(S):
ZUCINS (see 4.7.8)

(To Check if number IN Set.)

ZTCERF (see 4.4.22)

(To get Cylinder Error in RFi.)

ZTCEZ (see 4.4.23)

(To get Cylinder Error in Z.)

ZTPERX (see 4.4.24)

(To get Plane ERror in X.)

ZTPERY (see 4.4.25)

(To get Plane ERror in Y.)

ZTCSDE (see 4.4.31)

(To get Calorimeter Shower Direction Errors.)

ZTCSMC (see 4.4.30)

(To get Calorimeter Shower Measurement Code.)

ICINQU
(CERNLIB routine.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, CERN

CREATION DATE:
25-AUG-1998


next up previous contents
Next: 4.4.51 SUBROUTINE ZTCSEP(NAME,ILAY,ENE,EMES,IDET) : Up: 4.4 Patch SGVTRKER : Previous: 4.4.49 SUBROUTINE ZTDTGE(NAME,ILAY,GEOPAR,IDET,CALTYP) :   Contents
Mikael Berggren 2003-03-27