Difference between revisions of "Online-raw-data-nov-2012"
From GlueXWiki
m |
|||
Line 42: | Line 42: | ||
=Event Sizes and Compression= | =Event Sizes and Compression= | ||
− | * ADC: replace block header, event header, trigger time and block trailer with single "slot header" word | + | The data format for N=1 block mode readout is very verbose and redundant. Much of this is needed to allow the DAQ system to verify all crates/slots are responding properly. But once data integrity is confirmed the redundant data can be removed (perhaps at the ROC and EB levels). Note that for initial detector checkout and perhaps for early engineering runs we will write data in this format. |
− | * TDC: additionally remove chip header and chip trailer words | + | |
− | * Remove | + | I propose the following strategy for removing redundant information: |
+ | |||
+ | * ADC: replace block header, event header, trigger time and block trailer with single "slot header" word. | ||
+ | * TDC: same as for ADC, additionally remove chip header and chip trailer words. | ||
+ | * Store trigger time in one place only. | ||
+ | * Remove slots with no hits. | ||
+ | * Remove crates with no hits. | ||
+ | |||
+ | Initial studies show a factor of 4 reduction in data size following this strategy. | ||
+ | |||
+ | [[File:in_out.png]] | ||
+ | |||
+ | |||
+ | [[File:r_out_in.png]] |
Revision as of 14:40, 5 November 2012
Contents
Energies/Charges and Times
Cuts: E>0, 0<t<32 usec
TOF
FCAL
BCAL
FDC
CDC
TOF
TAG
Event Sizes and Compression
The data format for N=1 block mode readout is very verbose and redundant. Much of this is needed to allow the DAQ system to verify all crates/slots are responding properly. But once data integrity is confirmed the redundant data can be removed (perhaps at the ROC and EB levels). Note that for initial detector checkout and perhaps for early engineering runs we will write data in this format.
I propose the following strategy for removing redundant information:
- ADC: replace block header, event header, trigger time and block trailer with single "slot header" word.
- TDC: same as for ADC, additionally remove chip header and chip trailer words.
- Store trigger time in one place only.
- Remove slots with no hits.
- Remove crates with no hits.
Initial studies show a factor of 4 reduction in data size following this strategy.