next up previous contents
Next: 4.4.50 SUBROUTINE ZTDTPM(NAME,ILAY,MESPAR,IDET) : Up: 4.4 Patch SGVTRKER : Previous: 4.4.48 SUBROUTINE ZTTINF(LL, ZVRTXO,   Contents


4.4.49 SUBROUTINE ZTDTGE(NAME,ILAY,GEOPAR,IDET,CALTYP) : DeTector GEometry

Routine to return the geometry 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 :
    GEOPAR(1:7) : Detector Geometry parameters:
                1 : R (barrel) or z (forward)
                2 : minimal z (barrel) or R (forward)
                3 : maximal z (barrel) or R (forward)
            For calorimeters also:
                4 : type of position measurement of the calorimeter:
                     0 : Realy measures
                   <>0 : Only module hit known, no shower axis direction
                         Specifically:
                            geopar(4) =
                               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)
                5 : minimal phi of the first module, if modules
                    are modular in phi. The "first" module is the
                    module that is closest to the x axis (counter-
                    clockwise), but doesn't cross the x-axis.
                6 : Number of modules in the first direction
                7 : Number of modules in the second direction

    IDET : detector type:
            1 : barrel tracking
            2 : forward tracking
            3 : barrel calorimeter
            4 : forward calorimeter
     CALTYP : calorimeter type
            0 : not a calorimeter
            1 : Em calorimeter
            2 : hadronic calorimeter
            3 : dual-purpose 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 :
ZXRUEN, RUn ENd
CALLED ROUTINE(S):
ZUCINS (see 4.7.8)

(To Check if number IN Set.)

ZTCRAD (see 4.4.17)

(To get Cylinder RADius.)

ZTCZED (see 4.4.19)

(To get Cylinder ZED.)

ZTPLAZ (see 4.4.20)

(To get PLAne Z.)

ZTPRAD (see 4.4.21)

(To get Plane RADius.)

ZTCSMC (see 4.4.30)

(To get Calorimeter Shower Measurement Code.)

ZTCFCP (see 4.4.32)

(To get Calorimeter First Cell Phi.)

ZTCNCL (see 4.4.33)

(To get Calorimeter Number of CeLls.)

ZTCTYP (see 4.4.42)

(To get Calorimeter TYPe.)

ICINQU
(CERNLIB routine.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, CERN

CREATION DATE:
25-AUG-1998


next up previous contents
Next: 4.4.50 SUBROUTINE ZTDTPM(NAME,ILAY,MESPAR,IDET) : Up: 4.4 Patch SGVTRKER : Previous: 4.4.48 SUBROUTINE ZTTINF(LL, ZVRTXO,   Contents
Mikael Berggren 2003-03-27