The Hit Register shows which channels have data. Separate
pedestals, upper and lower thresholds may be set for each channel. They
are enabled using bits in the Control Register. Pedestals in 2's complement
are added to the data before threshold comparisons. Bits in the Hit
Register are set during digitization for those channels whose pedestal corrected
data falls within their upper and lower thresholds. (If thresholds are not
enabled, all channels are considered to have valid data and all channels
will set their bits in the Hit Register during digitization)
Sparse Data Reads return only those channels with their bits
set in the hit register, starting with the highest numbered channel. Valid
data returns Q=1. As channels are read, their Hit Register bits are
reset. When the final channel has been read, LAM is reset, Hit Register
is down to Zero allowing the front end to take data again. The following
Sparse Data Read returns Q=0.
| F(26) |
Enables LAM |
| F(11) A(3) |
Clears the Hit Register, Data
Memory and Resets the LAM |
| External Gated Event |
External Test Event |
| * F(8) Loop |
Test LAM looking for Q=1
|
| ** F(4) Loop |
Read Highest to Lowest Channel whose
Data Bits are set in the Hit Register until Q=0 |
| Go to 3rd step (External
Gated Event) and repeat the procedure. |
|