C ---------------------------------------------------------------------- C These parameters encode the sign of the eta index. C These parameters are used to dimension some arrays in the common block. C INTEGER POS_ETA, NEG_ETA PARAMETER ( POS_ETA = 0, & NEG_ETA = 1 ) C C ---------------------------------------------------------------------- C These parameters specify the maximum and minimum quantities for the eta C and phi indices of the Trigger towers. C These parameters are used to dimension some arrays in the common block. C INTEGER ETA_MIN, ETA_MAX PARAMETER ( ETA_MIN = 1, & ETA_MAX = 24 ) C INTEGER PHI_MIN, PHI_MAX PARAMETER ( PHI_MIN = 1, & PHI_MAX = 32 ) C C ---------------------------------------------------------------------- C These parameters define the type of Trigger Tower. There are two basic C tower types, the electro-magnetic (EM) and the hadronic (HD) trigger C tower. Except at very high rapidity, all EM and HD towers are paired C into projective Total (TOT) Trigger Towers and their EM and HD C signals are summed for processing certain quantities. C These parameters are used to dimension some arrays in the common block. C INTEGER EM_TOWER, HD_TOWER, TOT_TOWER PARAMETER ( EM_TOWER = 1, & HD_TOWER = 2, & TOT_TOWER = 3 ) C C ---------------------------------------------------------------------- C These parameters encode the type of coordinate of a trigger Tower C (EM, HD or TOT) nominal center used in perfroming the z-correction. C These parameters are used to dimension some arrays in the common block. C C ********* not referenced outside of the library ******** C INTEGER R_COORD, Z_COORD PARAMETER ( R_COORD = 0, Z_COORD = 1 ) C C ---------------------------------------------------------------------- C Several quantities are looked up: C Using the EM Trigger Tower signal, two quantities are successively C looked up on the same PROM: The first quantity is the z-corrected EM C Transverse Energy (Et), the second is referenced as EM L2. C Using the HD Trigger Tower signal, two quantities are successively C looked up on the same PROM: The first quantity is the z-corrected HD C Transverse Energy (Et), the second is referenced as HD L2. C Using the sum EM+HD=TOT Trigger Tower signal, two quantities are C simultaneously looked up on two separate PROMs: One is the component Px C of the z-corrected TOT Et along the x-axis, the other is the component C Py of the z-corrected TOT Et along the y-axis. C These parameters are used to dimension some arrays in the common block. C INTEGER EM_ET_QUANT, EM_L2_QUANT, & HD_ET_QUANT, HD_L2_QUANT, & PX_QUANT, PY_QUANT, & TOT_ET_QUANT, TOT_L2_QUANT PARAMETER ( EM_ET_QUANT = 1, EM_L2_QUANT = 2, & HD_ET_QUANT = 3, HD_L2_QUANT = 4, & PX_QUANT = 5, PY_QUANT = 6, & TOT_ET_QUANT = 7, TOT_L2_QUANT = 8 ) C C ---------------------------------------------------------------------- C These parameter encode the prom type used to generate a given quantity. C See the previous parameters for further details. C These parameters are used to dimension some arrays in the common block. C C ********* not referenced outside of the library ******** C INTEGER EM_PROM, HD_PROM, PX_PROM, PY_PROM PARAMETER ( EM_PROM = 1, HD_PROM = 2, & PX_PROM = 3, PY_PROM = 4 ) C C ---------------------------------------------------------------------- C These parameters should be used to specify a threshold type as a C parameter to the subroutine for translating Trigger Tower (note TT_) C thresholds from GeV units to a downloadable byte. C INTEGER TT_EMET_THRTYP, TT_HDVETO_THRTYP, TT_TOTET_THRTYP PARAMETER ( TT_EMET_THRTYP = 10, & TT_HDVETO_THRTYP = 11, & TT_TOTET_THRTYP = 12 ) C C ---------------------------------------------------------------------- C These parameters should be used to specify a threshold type as a C parameter to the subroutine for translating global (note GL_) C thresholds on global quantities summed over the whole detector from GeV C units to a downloadable integer. C C The existing thresholds are a subset of the available quantities. C They are mapped onto the individual quantities so that the proper tree C offset can be accessed. C INTEGER GL_EMET_THRTYP, GL_EML2_THRTYP, & GL_HDET_THRTYP, GL_HDL2_THRTYP, & GL_TOTET_THRTYP, GL_TOTL2_THRTYP PARAMETER ( GL_EMET_THRTYP = EM_ET_QUANT, & GL_EML2_THRTYP = EM_L2_QUANT, & GL_HDET_THRTYP = HD_ET_QUANT, & GL_HDL2_THRTYP = HD_L2_QUANT, & GL_TOTET_THRTYP = TOT_ET_QUANT, & GL_TOTL2_THRTYP = TOT_L2_QUANT ) C C ---------------------------------------------------------------------- C These parameters specify the maximum and minimum quantities for the C Level 0 Bin Numbers (L0_BIN_*), for the Level 1 Lookup Page Logical C Numbers (PAGE_NUM_*), and for the Physical Page number (PAGE_INDEX_*) C in the z-correcting lookup system. C These parameters are used to dimension some arrays in the common block. C C ********* not referenced outside of the library ******** C INTEGER L0_BIN_MIN, L0_BIN_MAX PARAMETER ( L0_BIN_MIN = -15, L0_BIN_MAX = +15 ) C INTEGER PAGE_NUM_MIN, PAGE_NUM_MAX PARAMETER ( PAGE_NUM_MIN = -3, PAGE_NUM_MAX = +3 ) C INTEGER PAGE_INDEX_MIN, PAGE_INDEX_MAX PARAMETER ( PAGE_INDEX_MIN = 1, PAGE_INDEX_MAX = 8 ) C C ---------------------------------------------------------------------- C These parameters encode the lower and higher boundary type of each C of the Level 0 Bins segment along the z-axis. C These parameters are used to dimension some arrays in the common block. C C ********* not referenced outside of the library ******** C INTEGER Z_LOW, Z_HIGH PARAMETER ( Z_LOW = 0, Z_HIGH = 1 ) C C ---------------------------------------------------------------------- INTEGER DEPOSITED_ENERGY, TRANSVERSE_ENERGY PARAMETER ( DEPOSITED_ENERGY = 1, TRANSVERSE_ENERGY = 2 ) C