TOFP Bank
TOFADCD Bank
TOFTDCD Bank
TOFA2DD Bank
TOFSCAD Bank
Format version: 2.0
This short bank indicates the relative position and length of each block of
TOFp and TOFr CAMAC modules. Each of these blocks of similar CAMAC modules
is a separate bank. There are four of such banks (TOFADCD, TOFTDCD,
TOFA2DD and TOFSCAD).
Length is 18 words (incl. 10 words for the bank header)
Contents:
Data words 1-8: Offset (words) from first word of the TOF contribution to
the first word of the CAMAC block contribution, followed by the length (words)
of each contribution. A zero length signifies no contribution is present.
TOFADCD offset
TOFADCD length
TOFTDCD offset
TOFTDCD length
TOFA2DD offset
TOFA2DD length
TOFSCAD offset
TOFSCAD length
This bank contains the CAMAC slot and channel number and ADC count for all the TOFp, TOFr, pVPD and the Ramp Generator channels. The ADC data is not zero-suppressed. The slot, channel and ADC count are packed into word. The bank identifier in the header has no meaning and is 1.
The length in this header is 142 (132 data words).
Contents:
Data word 1-132: slot, channel and ADC (max. 1024) count packed according
to (end-edness note)
struct {
UINT8 slot;
UINT8 channel;
UINT16 data;
};
Data words 1- 41 : TOFp
Data word 42 : Ramp
Generator
Data words 43- 45 : pVPD East high res
Data words 46 - 48 : pVPD West high res
Data words 49- 120 : TOFr
Data words 121- 123 : pVPD East low res.
Data words 124 - 126 : pVPD West low res.
Data words 127 - 132 : not used
This bank contains the CAMAC slot and channel number and TDC count for all the TOFp, pVPD and the Ramp Generator channels. The TDC data is not zero-suppressed. The slot, channel address and TDC count are packed into one word. The bank identifier in the header has no meaning and is 1.
The length in this header is 130 (120 data words).
Contents:
Data word 1-120: slot, channel and TDC count (max. 2048) packed according
to (end-edness note)
struct {
UINT8 slot;
UINT8 channel;
UINT16 data;
};
Data words 1 - 41 : TOFp
Data word 42 : not used
Data words 43 - 45 : pVPD East
Data words 46 - 48 : pVPD West
Data words 49 - 120: TOFr
This bank contains the 32 channels from the thermocouple/low voltage monitoring ADC. This data is not zero-suppressed. The slot, channel address and ADC count are packed into one word. The bank identifier in the header has no meaning and is 1.
The length in this header is 42 (32 data words).
Contents:
Data word 1-32: slot, channel and signed ADC count (-32768 - 32767) packed
according to (end-edness note)
struct {
UINT8 slot;
UINT8 channel;
short data; // can be negative
};
Data word 1 : reference
thermocouple
Data words 2-13 : thermocouples
Data words 14-16 : not used
Data words 17-29 : thermocouples
Data word 30 : FEE threshold TOFp
Data word 31 : FEE threshold pVPD
East
Data word 32 : FEE threshold pVPD
West
This bank contains the scalar information of the TOF trigger. The channel address and scalar count are packed into one word. The bank identifier in the header has no meaning and is 1.
The length in this header is 22 (12 data words).
Contents:
Data words 1-12 : scalar channel and count packed according to (end-edness note)
struct {
unsigned int channel:8;
unsigned int data:24;
};