Straw VME Data Monitoring M. Koval Straw WG meeting
Motivation Straw needs to monitor untriggered data stream from the detector to find possible problems with particular straw channel / cover / SRB – 2014 run: Straw in zero-bias mode, all data stored on merger; monitoring software written by Dmitri was used – 2015 run: Straw will use common trigger; untriggered data will be read through VME and processed on SBCs → next slides Straw VME data monitoring2
Monitoring Data Flow Read raw data through VME; SRBs → SBC – Every n bursts (n not fixed, e.g. 10, 50) – SBC capacity = 500 GB – File size (1 SRB, nom. int.) ≤ 1 GB – File name: burst timestamp, SRBid Process raw data on SBC; Raw → histograms in root file – Automatic processing, copy to common monitoring directory – Cleanup of processed raw data – Possible copy of raw every N bursts data to storage (N = 200, … ) Straw VME data monitoring3 SBC SRB 1 SRB 2 SRB 3 SRB 4 SRB 5 SRB 6 SRB 7 SRB 8 PC farm (ETH) Data from covers 1 Straw station VME data Raw file directory (on SBC) VME data UTC_ _SRB_01.dat UTC_ _SRB_02.dat UTC_ _SRB_03.dat … Root file directory (on SBC) UTC_ _SRB_01.root UTC_ _SRB_02.root UTC_ _SRB_03.root …
Monitoring Raw Data Binary data: 48 bits per word (hit) SRB: all hits in burst will be stored in DDR3 memory – Accessed from SBC through VME – Processed on SBC Vito: DDR3 firmware (storage and VME access) Michal: processing software, GUI monitoring Straw VME data monitoring4 Coarse time (32 bits) FIFOfull (1) Fine time (5) Edge (1) Straw ID (8) Multihit (1)
Software Status Tool to split untriggered Straw raw data from 2014 run split into monitoring data format (1 file/ SRB): DONE Processing: – Automatic processing of raw data into root histograms: DONE At the moment only very simple occupancy histograms created Multi-threaded program (1 thread watching for new raw files, 1 or more threads can be launched to process data) – Prepare file lists with processed root files: TODO – Cleanup of processed data: TODO GUI monitoring software: – Combine histograms from all SRBs and stations: TODO – GUI design (Dmitri’s code can be reused): TODO Straw VME data monitoring5
Summary and Plans Work on Straw untriggered data online monitoring started – Overall scheme and functionality decided – Monitoring data format specified – Automatic processing of data done Plans: – DDR3 Firmware (Vito) – Software: monitoring histograms, GUI Tests on SBC with SRBs Documentation, user (shifter) manual Straw VME data monitoring6