DQM Suite (Test Beam 2004,
Slice Test 2005)
This xDAQ-integrated EMU
DQM Suite is the first step on the way to developing the ultimate
EMU Data Quality Monitoring Project.
At the moment this software suite must be considered as an early EMU
DQM prototype of very limited functionality:
- EMU Monitor module receives data buffers from FED Module via I2O
protocol.
- Raw data are unpacked into ORCA classes.
- Unpacked data are analyzed and DQM histograms are filled.
- DQM histograms periodically passed to Display Server via SOAP
protocol.
- Display GUIs can be used to access the Display Server and browse
through histograms organized in a tree structure of folders.
DDU Binary Data Examiner
(dduBinExaminer.exe)
DDU Event Dump (dduEvtDump.exe)
Monitor Test Program
(MonitorTest.exe)
This is a truncated (simplified) version of the TB2004 DQM Suite (see
above). It does not use xDAQ, FED, and Display Server. The raw file is
read directly by the EMU Monitor Module, an event is unpacked and
analyzed same way as in the TB2004 DQM Suite, and, finally the
histograms are written directly on disk. Browsing of histograms can be
done from ROOT or using the HistDisplay GUI. Note a somewhat irritating
feature of this shortcut option: without Display Server in the loop,
the structure of histogram folders is not preserved in this case, i.e.
all histograms are dumped together in one directory with folder names
reinterpreted as part of histogram names.
Library of DQM Test Functions
This library is a collection of custom functions tailored for various
tests to be performed on histograms. It includes Rule-based tests (not
requiring a reference histogram) and Reference-based tests.
This library is developed by UF for general use with the CMS DQM
framework. Link to the actual repository will be provided
shortly.
FileReaderDDU
FileReaderDDU reads file with DDU data, searches for DDU Headers
and DDU Trailers, and finally returns event buffer. It also handles
data corruptions.
FileReaderDDU continuously reads DDU data in blocks of definite
length. Each time it passes through block, it searches for DDU Header
or DDU Trailer. In same time it composes event buffer. Once it find
DDU Trailer it sets an ``end mark'' in current data block and returns
event buffer with event status flag, which tells that we have
DDU Trailer in this event. On next call it continues passing through
data block starting from ``end mark''. If it finds DDU Header pattern
in first two DDU words it sets status flag accordingly and goes further
until it finds DDU Trailer or another DDU Header.
If DDU Header appeared in a place anywhere after first two DDU words,
program sets Unknown bit in status flag and
returns buffer composed with data in front of this DDU Header.
If program finds DDU Header in a right place and encounters
second DDU Header it returns data between these DDU Headers,
sets DDU Header bit in status flag, and starts from second
DDU Header on next call. If buffer size reaches value of 50000 DDU words,
status flag contains DDUoversize bit set.
Described scheme can be presented by following diagrams of
buffer structure:
| 1) | ||
| 2) | ||
| 3) | ||
| 4) | ||
| 5) | ||
| 6) | ||
| 7) |
Instruction to run Emu DQM Web Publisher manually
Emu DQM Web Publisher is a set of perl/shell/root scripts on various machines.
Its aim is to proceed Emu Local DAQ data and publish plots on the
web. By default every 5
minutes it starts on emuslice11 machine and checks emuslice02:/data/local/
and emuslice11:~/kotov/ locations for new data.
To run Emu DQM on Global DAQ files download to one of lxplus machines
script and run it with arguments coresponding
to Global DAQ run numbers.