CSC CFEB:
Data Format:
Normally, 800 words (16 bits) in
total for 8 time samples. 100 words for each time sample.
(For 16 time samples, there will be 1600 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 |
B0-B7: LCT position relative to SCA capacitors.
Bb-B8: SCA block number
Bc: L1ACC arriving time relative to 20MHz SCA clock. (1 means SCA clock
high,
0 means SCA clock low)
Bd: LCT arriving time relative to 20MHz SCA clock
Be: SCA overwritten error
Bf: 1 for 16 time samples, 0 for 8 time samples.
Time sample 1 data: One word (16 bits) for each channel, plus 4
information words (that is 100 words in total)
word 1: Layer 3, channel 0
word 2: Layer 1, channel 0
word 3: Layer 5, channel 0
word 4: Layer 6, channel 0
word 5: Layer 4, channel 0
word 6: Layer 2, channel 0
word 7-12: channel 1
word 13-18: channel 3
word 19-24: channel 2
word 25-30: channel 6
word 31-36: channel 7
word 37-42: channel 5
word 43-48: channel 4
word 49-54: channel 12
word 55-60: channel 13
word 61-66: channel 15
word 67-72: channel 14
word 73-78: channel 10
word 79-84: channel 11
word 85-90: channel 9
word 91-96: channel 8
word 97: CRC-15 of the previous 96 words (only the lower order 13 bits
are
checked)
word 98: 0, 1, 1, 1, Bb, Ba, B9, B8, B7, B6, B5, B4, B3, B2, B1, B0
B3-B0: Number of free SCA Blocks, (12 is the maximum)
B7-B4: LCT pipeline buffer length
B8: LCT pipeline buffer full
B9: L1ACC pipeline buffer full
Ba: LCT pipeline buffer empty
Bb: L1ACC pipeline buffer empty
word 99: 0, 1, 1, 1, Bb, Ba, B9, B8, B7, B6, B5, B4, B3, B2, B1, B0
B0: L1A pipeline buffer warning (more than 32 waiting)
B5-1: L1A buffer counter. n=b(4:1)*8**b5
B11-6: L1A number (event number)
word 100: Dummy word (7FFF)
Time sample 2-16 data: Same data format as time sample 1 data
In case that the SCA is full, there will be four same words
'1011,001x,xxxx,xxxx'
instead of 100 words for each time sample. "1011001" is a unique
character
for this case. Here bit 15 is set to '1', instead of '0' for normal
data. bit[7:0] is the LCT position in the block (which is similar to
the meaning of B13 in data stream).
- Preliminary version finished: June 14, 2005.
Back to Gu work
page