next up previous contents
Next: 4.4.34 SUBROUTINE ZTCMOS(ICAL,CTYP,ZSIGN,CMIN,CMAX,CWID) : Up: 4.4 Patch SGVTRKER : Previous: 4.4.32 REAL FUNCTION ZTCFCP(   Contents


4.4.33 INTEGER FUNCTION ZTCNCL( ICAL,COORD, CTYP) : Calorimeter Number of CeLls

Return the number of cells in the given direction for a given modular calorimeter

ARGUMENTS:
INPUT :
    ICAL : number of the calorimeter.
    COORD : [1:2] coordiante type :
                     1 : phi for barrel or phi or  for forward.
                     2 : z or theta for barrel or R or y for forward
    CTYP  : +ve : Cylindrical detector.
            -ve : Plane detector.
IMPLICIT INPUTS:
    From /ZTBAC/ NCL1B, NCL2B, Number of modules in Barrel calorimeter
                 (first and second coord)
    From /ZTFWC/ NCL1F, NCL2F, Number of modules in Forward calorimeter
                 (first and second coord)
IMPLICIT OUTPUTS:
    none.
FUNCTION VALUE:
The number of cells

CALLED BY :
General access routine to geometry data

CALLED ROUTINE(S):
none

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, CERN

CREATION DATE:
14-AUG-1998



Mikael Berggren 2003-03-27