Titles: DQCH ============= Contact: John Roberts / Mark Howe Revision History:- ================ 3.02 N. West First version. Add 75 Ohm, Qinj, N100, N20. Minor comment changes. Add NOT_OP and BAD. Titles Files ------------ ccc_info.dat Verification ------------ Description ----------- Bank Number: Crate number Contains a 32 bit status of each channel in the crate. This bank together with DQCR replaces the CRON/VTHR/VRLY banks. Data Words ---------- Fixed length Database Header. See titles_dbhdr.html Data types: B(bit), I, F, D(double), H(hollerith 4 char) Word Type Mnemonic Description KDQCH_ 1..10 I Header. Currently unused (all words zero) 11 I TABLE Start of channel status table. For channel i where:- i = 32*card + channel status stored in word KDQCH_TABLE + i The structure of the channel status word is as follows, unused bits are all zero. Bit Mnemonic Description KDQCH_B_ 0 PMT_CABLE PMT cable in(0), out or unknown tube type (1) 1 PMTIC_RESISTOR PMTIC channel resistor present(0), not present(1) NB SHaRC has no way of knowing if the resistor on particular channel has been cut and hence always assumes present. 2 SEQUENCER Channel sequencer enabled(0), disabled(1) 3 100NS 100ns trigger enabled(0), disabled(1) 4 20NS 20ns trigger enabled(0), disabled(1) 5 75OHM 75 Ohm terminator OK (0), blown (1) 6 QINJ Qinj OK (0), malfunctioning i.e. Large/Small/Bad (1) 7 N100 100ns trigger OK (0), dead (1) 8 N20 20ns trigger OK (0), dead (1) 9 NOT_OP operational (0), not operational (1) 10 BAD logical OR of bits 0-9 16 VTHR V threshold (8 bits) 24 VTHR_ZERO V threshold zero (8 bits)