Titles: CCCT ============= Contact: N. West, Oxford. Revision History:- ================ 3.01 N. West First version. Tables of different sizes. Titles Files ------------ map_ccc_tube.dat Verification ------------ Description ----------- This bank contains two look-up tables for mapping:- CCC <--> SNOMAN tube no. and forms the basis for the utility routines MAP_CCC_TUBE and MAP_TUBE_CCC. Data Words --------- Data types: B(bit), I, F, D(double), H(hollerith 4 char) Fixed length Database Header. See titles_dbhdr.html KCCCT... 1 I _TABLE_1_SIZE Size of CCC -> tube table. For SNO (as opposed to * MiniSNO) this is the number of addresses in 19 crates. Low gain channels map to special "tube numbers". 2 I _TABLE_2_SIZE Size of tube -> CCC table. For SNO this extends to cover the highest low gain "tube number". 3..10 I Spare. 11 I _TABLE_START Start of look-up table: CCC -> tube. For CCC = i, entry KCCCT_TABLE_START + i holds tube. -999999 is stored if tube is missing, see note 1 n = _TABLE_START + size of table 1. I Start of look-up table: tube -> CCC. For tube = i, entry n - 1 + i holds CCC. Note that tube numbers start at 1 hence the -1 above. -999999 is stored if tube is missing, see note 1 Notes ----- 1) Unlike LCN, the CCC has gaps corresponding to logical crates 19 to 31. All such gaps are filled with -999999.