File tree Expand file tree Collapse file tree 4 files changed +39
-2
lines changed
EventFilter/Utilities/interface Expand file tree Collapse file tree 4 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 11#ifndef EventFilter_Utilities_DAQSource_h
22#define EventFilter_Utilities_DAQSource_h
33
4+ /*
5+ * DAQSource - modular input source supporting multiple
6+ * buffering strategies and data formats. Specific formats are included
7+ * as models defined as DataMode child class.
8+ * Source supports DAQ file protocol using specific input file naming schema
9+ * and JSON metadata files.
10+ * See doc/READHME-DTH.md for more information, including file naming formats
11+ */
12+
413#include < condition_variable>
514#include < cstdio>
615#include < filesystem>
Original file line number Diff line number Diff line change 11#ifndef EventFilter_Utilities_DAQSourceModels_h
22#define EventFilter_Utilities_DAQSourceModels_h
33
4+ /*
5+ * Base class defining modular interface for DAQSource data models
6+ * See doc/README-DTH.md for interface description
7+ */
8+
49#include < condition_variable>
510#include < cstdio>
611#include < filesystem>
Original file line number Diff line number Diff line change 11#ifndef EventFilter_Utilities_DAQSourceModelsDTH_h
22#define EventFilter_Utilities_DAQSourceModelsDTH_h
33
4+ /*
5+ * DAQ Source module for DTH readout
6+ * Used by modular DAQSource to read files containing raw DTH orbit payload.
7+ * Orbits are unpacked into individual events which are queued to the framework as FedRawDataCollection object.
8+ * If more than one sourceID blocks is included they will all be unpacked, they need to be adjacent in the file
9+ * for the same orbit. Exception to this is reading from multiple file sources,
10+ * in that case that is only required locally in a file, but orbits need to come in the same order in all files.
11+ * See test/RunBUFU.sh and test/testDTH.sh for example how to run with this module
12+ * Also see documentation in doc/README=DTH.md
13+ */
14+
415#include < filesystem>
516#include < queue>
617#include < regex>
Original file line number Diff line number Diff line change 11#ifndef EventFilter_Utilities_DAQSourceModelsFRD_h
22#define EventFilter_Utilities_DAQSourceModelsFRD_h
33
4+ /*
5+ * DAQSource data model classes for reading Run3 FRD format and unpacking into the FedRawDataCollection
6+ * FRD: standard readout of input from the event builder
7+ * FRDPreUNpack: variant unpacking events tns nto FedRawDataCollection class in reader threads
8+ * FRSStiped: more generic version able to read from multiple source
9+ * directories (Super-Fragmeng Builder DAQ)
10+ * */
11+
412#include < filesystem>
513#include < queue>
614#include " oneapi/tbb/concurrent_unordered_set.h"
1018
1119class FEDRawDataCollection ;
1220
21+ /*
22+ * FRD unpacker equivalent to the FedRawDataInputSource
23+ */
24+
1325class DataModeFRD : public DataMode {
1426public:
1527 DataModeFRD (DAQSource* daqSource, bool verifyFEDs) : DataMode(daqSource), verifyFEDs_(verifyFEDs) {}
@@ -91,7 +103,7 @@ class DataModeFRD : public DataMode {
91103};
92104
93105/*
94- * FRD source prebuffering in reader thread
106+ * FRD source prebuffering in the reader thread
95107 */
96108
97109class DataModeFRDPreUnpack : public DataMode {
@@ -176,7 +188,7 @@ class DataModeFRDPreUnpack : public DataMode {
176188};
177189
178190/*
179- * FRD source reading files from multiple striped destinations
191+ * FRD source reading files from multiple striped destinations (Super-Fragment Builder DAQ)
180192 *
181193 * */
182194
You can’t perform that action at this time.
0 commit comments