next up previous contents
Next: 4.4.43 CHARACTER*14 FUNCTION ZTCALN( Up: 4.4 Patch SGVTRKER : Previous: 4.4.41 REAL FUNCTION ZTCMWI(   Contents


4.4.42 FUNCTION ZTCTYP( ICAL, CTYP) : Calorimeter TYPe

Return the type of a given calorimeter, ie. hadronic or electormagnetic

ARGUMENTS:
INPUT :
    ICAL : number of the calorimeter.
    CTYP  : +ve : Cylindrical detector.
            -ve : Plane detector.
IMPLICIT INPUTS:
    From /ZTBAC/ CALTYB, Barrel calorimeter type
    From /ZTFWC/ CALTYF, Forward calorimeter type
IMPLICIT OUTPUTS:
    none.
FUNCTION VALUE:
The requested type : 1 - electromagnetic; 2 - hadronic

CALLED BY :
General access routine to geometry data

CALLED ROUTINE(S):
none

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
14-APR-1995



Mikael Berggren 2003-03-27