Config word
The ABCD chip configuration is stored directly in the configuration file.
This looks like:
<config>2 3 1 0 0 0 0 0 1 0 1</config>
The first number is the readout mode (which compression method). Next is the number of the calibration line to use. Third is the trim range for this chip.
The subsequent values are all single bit toggles.
- Edge detect: Hit only registered if preceded by a 0.
- Send mask: Copy the mask register into the pipeline
- Accumulate: Specify accumulate mode (a 0 falling out of the pipeline won't over-write a 1 in the output buffer)
- Input bypass
- Output bypass
- Master: 0 to specify master chip, 1 enables the chip to be used as part of a read out chain from the other side
- End:
- Feedthrough: Normally 1, set to 0 to get clk/2
Error mask word
The errorMask word is new. It can be used to disable counting of different errors by the EFB. This count appears in the event trailer and is used during internal ROD scans to abort the histogram. The value is a bitwise mask consisting of the following values.
The values are to be found at ErrorMaskRegister.