1 / 21

Data Quality Monitor @ TB 2004

Data Quality Monitor @ TB 2004. Andrey Korytov. DAQ-stream data formats. ALCT: Summary on functionality and bits: done, checked Unique header needed Report up to 6 ALCTs for 3BX ALCT*L1A window Rethink stub selection logic. DAQ-stream data formats. TMB:

Télécharger la présentation

Data Quality Monitor @ TB 2004

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Quality Monitor @ TB 2004 Andrey Korytov Andrey Korytov July 2, 2004 1

  2. DAQ-stream data formats • ALCT: • Summary on functionality and bits: done, checked • Unique header needed • Report up to 6 ALCTs for 3BX ALCT*L1A window • Rethink stub selection logic Andrey Korytov July 2, 2004 2

  3. DAQ-stream data formats • TMB: • Summary on functionality and bits: needed • list of questions at UCLA • Unique header needed • Report up to 6 CLCTs for 3BX ALCT*L1A window • … Andrey Korytov July 2, 2004 3

  4. DAQ-stream data formats • CFEB: • Summary on functionality and bits: done, checked • no CFEB header/trailer • no CFEB identifier (there are up to 5 per chamber) • no L1A and BXN counters  we must rely on DMB… • To check synchronization, there are “BXN2” 4-bit counter since last Sync Reset on CFEBs and DMB • CFEB L1A phase, defining LS bit, varies! Must be fixed. Andrey Korytov July 2, 2004 4

  5. CFEB-DMB Sync Andrey Korytov July 2, 2004 5

  6. CFEB-DMB Sync Andrey Korytov July 2, 2004 6

  7. DAQ-stream data formats • DMB: • Summary on functionality and bits: done, checked • FIFO full bit must persist • TMB FIFO empty and full bits are missing • Timeout bits: must they persist? • Active-DAV-Mismatch bit means something else… Andrey Korytov July 2, 2004 7

  8. DAQ-stream data formats • DDU: • Summary on functionality and bits: done  to be checked (J. Gilmore) • FIFO full bit must persist • TMB FIFO empty and full bits are missing • Timeout bits: must they persist? • Active-DAV-Mismatch bit means something else… Andrey Korytov July 2, 2004 8

  9. DAQ-stream data formats • Overall: • Maybe OK, but somewhat irritating • L1A have different length in different boards • BXNs have different length in different boards • BXNs are reset differently: • different boards report different BXNs for the same event • not sure if offsets stay the same from run to run… Andrey Korytov July 2, 2004 9

  10. DQM Suite • Data Unpacking: • not stable, crippled the DQM effort significantly • Rick basically withdrew (now works for HCal) • ??? • Meanwhile: • simple “binary file examiner” is written • will guide us with developing stable unpacking • see examples… Andrey Korytov July 2, 2004 10

  11. Binary Examiner: Good Examples • ---------------------------------------------------------- Active DAV MOVLP • DDU Header Occurrence 71 • DMB=02 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DMB=08 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=09 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 71 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 72 • DMB=02 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DMB=08 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=09 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DDU Trailer Occurrence 72 • ---------------------------------------------------------- Andrey Korytov July 2, 2004 11

  12. Binary Examiner: we need unique ALCT/CLCT Headers • ---------------------------------------------------------- Active DAV MOVLP • DDU Header Occurrence 316 • DMB=10 0 0 0 00010 { <A <********> }; 00010 00010 00000 • DMB=01 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=08 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 316 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 35146 • DMB=10 0 0 0 00110 { <A <********> <********> }; 00110 00110 00000 • DMB=01 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=08 1 1 1 00010 { <AA> <TT> <**** <T****> }; 00010 00010 00000 • DDU Trailer Occurrence 35035 • ---------------------------------------------------------- Andrey Korytov July 2, 2004 12

  13. Binary Examiner: broken event • ---------------------------------------------------------- Active DAV MOVLP • DDU Header Occurrence 316 • DMB=10 0 0 0 00010 { <A <********> }; 00010 00010 00000 • DMB=01 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=08 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 316 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 317 • DMB=10 0 0 0 00010 { <A <********> }; 00010 00010 00000 • DMB=01 0 0 0 00100 { <A <********> }; 00100 00100 00000 • DMB=03 1 1 1 00000 { <AA> <TT> }; 00000 00000 00000 • DMB=08 1 1 1 00110 { <AA> <TT> <********> <******* • ---------------------------------------------------------- • DDU Header Occurrence 318 • DMB=10 0 0 0 00110 { <A <********> <********> }; 00110 00110 00000 • DMB=01 1 0 1 00100 { <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 00000 { <AA> <TT> }; 00000 00000 00000 • DMB=08 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DDU Trailer Occurrence 317 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 319 • DMB=10 0 0 0 00110 { <A <********> <********> }; 00110 00110 00000 • DMB=01 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=08 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 318 • ---------------------------------------------------------- Andrey Korytov July 2, 2004 13

  14. Binary Examiner: lost bit? • Broken ALCT data? • ---------------------------------------------------------- Active DAV MOVLP • DDU Header Occurrence 50 • DMB=02 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DMB=08 1 1 1 00100 { <A <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=09 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 50 • ---------------------------------------------------------- • ALCT Trailer in this event seems to be broken: • 5033 d0ba de0d d18c • d = 1101 • 5 = 0101 Andrey Korytov July 2, 2004 14

  15. Binary Examiner: Missing Data • ---------------------------------------------------------- Active DAV MOVLP • DDU Header Occurrence 2 • DMB=02 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DMB=08 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DMB=03 0 1 0 00000 { <AA> }; 00000 00000 00000 • DMB=09 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DDU Trailer Occurrence 2 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 78 • DMB=02 1 1 1 00000 { <AA> <TT> }; 00000 00000 00000 • DMB=08 0 1 0 00100 { <AA> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01100 { <AA> <TT> <********> <********> }; 01100 01100 00000 • DMB=09 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 78 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 103 • DMB=02 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DMB=03 1 1 1 00000 { <AA> <TT> }; 00000 00000 00000 • DMB=09 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DDU Trailer Occurrence 103 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 127 • DMB=02 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=08 0 0 0 00110 { <A <********> <********> }; 00110 00110 00000 • DMB=03 1 1 1 01000 { <AA> <TT> <********> }; 01000 01000 00000 • DMB=09 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DDU Trailer Occurrence 127 • ---------------------------------------------------------- Andrey Korytov July 2, 2004 15

  16. Binary Examiner: B-words • ---------------------------------------------------------- Active DAV MOVLP • DDU Header Occurrence 41 • DMB=02 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=08 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 00010 { <AA> <TT> <BBBBBBBB> }; 00011 00010 00000 • DMB=09 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DDU Trailer Occurrence 41 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 55 • DMB=02 1 1 1 00110 { <AA> <TT> <********> <********> }; 00110 00110 00000 • DMB=08 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01110 { <AA> <TT> <****BBBB> <********> <********> }; 01111 01110 00000 • DMB=09 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DDU Trailer Occurrence 55 • ---------------------------------------------------------- • ---------------------------------------------------------- • DDU Header Occurrence 104 • DMB=02 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=08 1 1 1 00100 { <AA> <TT> <********> }; 00100 00100 00000 • DMB=03 1 1 1 01110 { <AA> <TT> <BB******> <********> <********> }; 01111 01110 00000 • DMB=09 1 1 1 00010 { <AA> <TT> <********> }; 00010 00010 00000 • DDU Trailer Occurrence 104 • ---------------------------------------------------------- Andrey Korytov July 2, 2004 16

  17. Binary Examiner: ddu250 • $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ • 59592532 64bits words read • DDU Headers: 35200 • DDU Trailers: 35088 • DDU 64Word count mismatches: 0 • DDU Header-Trailer Gap found: 0 • CFEBs found: 204583 • CFEBs with B-words found: 109 • $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ • Note: All Truncated Events (without DDU Trailer) • have length of 1122 or 2244 64-bit words Andrey Korytov July 2, 2004 17

  18. Binary Examiner: ddu293 • $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ • 64-bit words read: 172773627 • DDU Headers: 100006 • DDU Trailers: 100006 • DDU 64Word count mismatches: 0 • DDU Header-Trailer Gap found: 0 • CFEBs found: 529311 • CFEBs with B-words found: 5292 • $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Andrey Korytov July 2, 2004 18

  19. ddu293: sync problems? Andrey Korytov July 2, 2004 19

  20. DAQ-DQM Merge • Never had a chance to try reading data online • Reading datafile directly from Geurts1 into DQM • we were getting slightly different results • the reason is yet to be understood: • versions of FED? • xDAQ versions/flavors? • Linux issues? Andrey Korytov July 2, 2004 20

  21. Short Term Goals • Minimal DQM Suite Exists • Robust Unpacking is needed • Sort out Geurts1-DQM communication problem • Try read data online Andrey Korytov July 2, 2004 21

More Related