Data Format: (For FAST sites) (pdf file of data format in table form)
Case 1: There is CFEB data or TMB data:
Header 1: 1, 0, 0, 1, Bb,
Ba, B9, B8, B7, B6, B5, B4, B3, B2, B1, B0
B0: CFEB1 Data Available
B1: CFEB2 Data Available
B2: CFEB3 Data Available
B3: CFEB4 Data Available
B4: CFEB5 Data Available
B5: CFEB1 CLCT sent (Active)
B6: CFEB2 CLCT sent (Active)
B7: CFEB3 CLCT sent (Active)
B8: CFEB4 CLCT sent (Active)
B9: CFEB5 CLCT sent (Active)
Ba: TMB Data Available
Bb: TMB Data Available (Repeat Ba)
Header 2: 1, 0, 0, 1, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Bb-B0: L1ACC counter bits[11:0]
Header 3: 1, 0, 0, 1, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Bb-B0: L1ACC counter bits[23:12]
Header 4: 1, 0, 0, 1, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Bb-B0: Beam Crossing Counter bits[11:0]
Header 5: 1, 0, 1, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Duplicate Header 1
Header 6: 1, 0, 1, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
DAQMB ID. Bb-B4: Crate ID
B3-B0: Board ID
Header 7: 1, 0, 1, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
B0: CFEB1 FIFO ~Half Full (0 means more than half full, 1 means less than
half full)
B1: CFEB2 FIFO ~Half Full (0 means more than half full, 1 means less than
half full)
B2: CFEB3 FIFO ~Half Full (0 means more than half full, 1 means less than
half full)
B3: CFEB4 FIFO ~Half Full (0 means more than half full, 1 means less than
half full)
B4: CFEB5 FIFO ~Half Full (0 means more than half full, 1 means less than
half full)
B5: Overlap FIFO ~Half Full (0 means more than half full, 1 means less
than half full)
B6: TMB FIFO ~Half Full (0 means more than half full, 1 means less than
half full)
B7: CFEB1 Multi-overlap
B8: CFEB2 Multi-overlap
B9: CFEB3 Multi-overlap
Ba: CFEB4 Multi-overlap
Bb: CFEB5 Multi-overlap
Header 8: 1, 0, 1, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
B3-B0: Beam Crossing Counter Number bits[15:12]
Bb-B4: L1ACC counter Number bits[31:24]
TMB data if any
Refer to UCLA for data format
CFEB1 data if any
1600 words (16 bits) in total for 16 time samples. 100 words for each time sample. (For 8 time samples, there will be 800 words. This is indicated in the serialized data) Bit 15 is always 0 for normal CFEB data; Bit 14 of the first 96 words in each time sample means ~OVERLAP (0 for overlap); Bit 13 of the first 96 words in each time sample is the serialized SCA capacitor and trigger information (refer to the following table). Bit [12:0] of the first 96 words are the ADC values of the 96 channels. The last four words in each time sample (word 97-100) are information words.
word # | word1-6 | 7-12 | 13-18 | 19-24 | 25-30 | 31-36 | 37-42 | 43-48 | 49-54 | 55-60 | 61-66 | 67-72 | 73-78 | 79-84 | 85-90 | 91-96 |
bit 13 | B0 | B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | Ba | Bb | Bc | Bd | Be | Bf |
Case 2: There is no CFEB data, nor TMB data:
Header 1: 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
Header 2: 1, 0, 0, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Bb-B0: L1ACC counter number bits[11:0]
Header 3: 1, 0, 0, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Bb-B0: L1ACC counter number bits[23:12]
Header 4: 1, 0, 0, 0, Bb, Ba, B9,
B8, B7, B6, B5, B4, B3, B2, B1, B0
Bb-B0: Beam Crossing Counter Number bits[11:0]
Back to Gu
work page