Skip to content

Commit efd554e

Browse files
Adding prototype of RawParser
This prototype implements a parser for O2 raw data which is organized in pages of a fixed size, each page starts with the RAWDataHeader. The page size may actually be smaller than the maximum size, depending on the header fields. The parser class works on a contiguous sequence of raw pages in a raw buffer. Multiple versions of RAWDataHeader are supported transparently and selected depending on the version field of the header. Hosting it under DPLUtils for the moment though this will be moved to somewhere else.
1 parent 95bacdd commit efd554e

File tree

3 files changed

+461
-0
lines changed

3 files changed

+461
-0
lines changed

Framework/Utils/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,9 @@ o2_add_test(RootTreeReader
6060
COMPONENT_NAME DPLUtils
6161
LABELS dplutils
6262
COMMAND_LINE_ARGS ${DPL_WORKFLOW_TESTS_EXTRA_OPTIONS} --run)
63+
64+
o2_add_test(RawParser
65+
SOURCES test/test_RawParser.cxx
66+
PUBLIC_LINK_LIBRARIES O2::DPLUtils
67+
COMPONENT_NAME DPLUtils
68+
LABELS dplutils)

0 commit comments

Comments
 (0)