40 likes | 179 Views
The offline raw data format (version 3). A data set of one FADC. i.e. data of one FADC. Header. 2 words. The header includes start marker, data length, data format identifier, FADC id, event id. Data of one FADC. 1536 words (max). 3072 strip data.
E N D
The offline raw data format (version 3) A data set of one FADC. i.e. data of one FADC Header 2 words The header includes start marker, data length, data format identifier, FADC id, event id. Data of one FADC 1536 words (max) 3072 strip data The tail consists of check sum and delimiter. Pedestal/noise data (1word) and DQM data(12words) 1 word Tail 32 bits = 1 word Total size of the header and the tail is 3 words × 36 = 108words = 432Bytes= 0.432kByte In case of 5% occupancy on average, the data flow rate is about 11MB/sec at a trigger rate of 1kHz.
Header format(version 3) Data Format Version (4bit) 0xAA55 (start marker) Data length (12bit) Event number (8bit) FADC crate (1bit), module(7bit) Tag for data format specification (8bit) Error flag (8bit) P: Pedestal subtraction if 1 Tag for data format specification C: CM subtraction if 1 DpxU csCP s: data suppression if 1 Each character corresponds to 1bit c: data compress if 1 U: Pedestal and CMS noise update x : reserved p : if1, pedestal and noise data exits for one strip D : if1, DQM data exits Error flag contains the following flags: data invalid, parity error, chip # error, event # error, start bit err, abnormal start bit position, stop bit error, abnormal stop bit position (in total 8bits)
Tail(version 3) 0xA5A5 (stop marker) Check sum Pedestal and noise data of one strip 0xC (4bit) Noise (8bit) Pedestal (8bit) Strip # ( 0 ~ 3071) (12bit) This data is added every 10 events. The noise value is multiplied by 4 and the pedestal value is divided by 4.
DQM data Chip noise (chip 0) (8bit) Chip noise (chip 1) (8bit) CM (chip0) (8bit) CM (chip1) (8bit) In total 12 words (24chip data) are added in every 1000 events. Both chip noise and CM values are multiplied by 4. In case that this DQM data exist, the additional data size is 48bytes x 36FADC = 1728bytes