next up previous contents
Next: 4.4.52 SUBROUTINE ZTCMPA(NAME,ILAY,MMES,IDET) : Up: 4.4 Patch SGVTRKER : Previous: 4.4.50 SUBROUTINE ZTDTPM(NAME,ILAY,MESPAR,IDET) :   Contents


4.4.51 SUBROUTINE ZTCSEP(NAME,ILAY,ENE,EMES,IDET) : Calorimeter Shower Energy Parameters

Routine to return the energy parameters of a shower

ARGUMENTS:
INPUT :
    NAME : Name of the calorimter
    ILAY : The layer number. If =0, then the fiirst layer is used.
    ENE  : Energy of the particle
OUTPUT :
    EMES(1:3) : Shower energy measurement parameters:
                1 : Sigma of Energy measurement
                2 : Threshold
                3 : efficiency
    IDET : detector type:
            3 : barrel calorimeter
            4 : forward calorimeter
            0 : NAME is not a 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):
ZTCRES (see 4.4.37)

(To get Calorimeter energy RESoultion.)

ZTCTHR (see 4.4.35)

(To get Calorimeter THReshold.)

ZTCEFF (see 4.4.36)

(To get Calorimeter EFFiciency.)

ZUCINS (see 4.7.8)

(To Check if number IN Set.)

ICINQU
(CERNLIB routine.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, CERN

CREATION DATE:
25-AUG-1998



Mikael Berggren 2003-03-27