Current Output: Mode 7: Outputs Data types 7, 8 and 10 Data Type 7: Pulse Integral (31) = 1 (30-27) = 7 (26-23) = channel number (0-15) (22-21) = pulse number (0-3) (20-19) = quality factor (0-3) (18-0) = pulse integral Data Type 8: Pulse Time (31) = 1 (30-27) = 8 (26-23) = channel number (0-15) (22-21) = pulse number (0-3) (20-19) = quality factor (0-3) (18-15) = reserved (read as 0) (14-6) = coarse time (9 bits) (5-0) = fine time (6 bits) Data Type 10: Pedestal and Peak (31) = 1 (30-27) = 10 (26-23) = channel number (0-15) (22-21) = pulse number (0-3) (20-12) = pedestal, average of first 4 samples of window (9 bits) (11-0) = pulse peak value (12 bits) Notes: No pedestal subtraction on integral or peak New Proposed (Elton): Mode X: Output data type X Data Type X: Pulse Integral, Peak, Time, Pedestal (31) = 1 (30-27) = data type X (26-23) = channel number (0-15) (22-21) = pulse number (0-3) (20-19) = quality factor (0-3) (bit 0 - underflow used, bit 1 - overflow used, bit 2 - truncated by readout window) (18-0) = pulse integral (19 bits) (31) = 0 (30-22) = coarse time (9 bits) (21-16) = fine time (6 bits) (15-13) = quality factor (3 bits) (12-0) = pulse peak, includes overflow (13 bits) (31) = 0 (30-28) = quality factor (27-12) = pedestal sum (16 bits) (11-5) = number of samples in integral (7 bits) (4-0) = unused Notes: Sum is over samples in the pulse pedestal sum = sum of sample 0 over N previous events. Samples included only if they fall within (ped-Delta_ped) < sample < (ped+Delta_ped), Delta_ped ~ 20 Integral = Sum - event pedestal sum Peak = Peak sample - (window pedestal sum >> 4) - 0.4 New Proposed (Sasha): Mode X: Output data type X Reported once per channel with hits. (31) = 1 (30-27) = Data type (4 bits) (26-19) = event number (trigger number) (8 bits) (18-15) = channel number (4 bits) (14) = pedestal quality bit (1 bit) (13-0) = pedestal sum (14 bits) Reported multiple times for each individual pulse (always report integral and time) (31) = 0 (30) = 1 Integral (29-28) = pulse number (2 bits) (27-10) = pulse integral (18 bits) (9-7) = quality (3 bits) (bit 0 - underflow used, bit 1 - overflow used, bit 2 - truncated by readout window) (6-3) = pedestal width (4 bits) (2-0) = unused (3 bits) (31) = 0 (30) = 1 Time (29-21) = coarse time (9 bits) (20-15) = fine time (6 bits) (14-3) = pulse peak (12 bits) (2-0) = quality factor (3 bits) (31) = 0 (30) = 0 raw data for mode 8 É..