Routine to return the track or shower position measurement parameters of a given sub-detector.
NAME : Name of the sub-detector ILAY : The layer number. If =0, then the fiirst layer is used.
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
From /ZTXRD/ : LAYNAM, list of layer-names; LAYSET, set of layers with a given name; DETTYP, detector-type for a given name.
none.
(To Check if number IN Set.)
(To get Cylinder Error in RFi.)
(To get Cylinder Error in Z.)
(To get Plane ERror in X.)
(To get Plane ERror in Y.)
(To get Calorimeter Shower Direction Errors.)
(To get Calorimeter Shower Measurement Code.)