DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
trigger
include
trigger
TriggerDataHandlingModel.hpp
Go to the documentation of this file.
1
9
#ifndef TRIGGER_INCLUDE_TRIGGER_TRIGGERDATAHANDLINGMODEL_HPP_
10
#define TRIGGER_INCLUDE_TRIGGER_TRIGGERDATAHANDLINGMODEL_HPP_
11
12
#include "
datahandlinglibs/models/DataHandlingModel.hpp
"
13
#include <vector>
14
15
namespace
dunedaq::trigger
{
16
17
template
<
class
ReadoutType
,
18
class
RequestHandlerType,
19
class
LatencyBufferType,
20
class
RawDataProcessorType,
21
class
InputDataType =
ReadoutType
>
22
class
TriggerDataHandlingModel
23
:
public
datahandlinglibs::
24
DataHandlingModel<ReadoutType, RequestHandlerType, LatencyBufferType, RawDataProcessorType, InputDataType>
25
{
26
public
:
27
using
Base
= datahandlinglibs::
28
DataHandlingModel<ReadoutType, RequestHandlerType, LatencyBufferType, RawDataProcessorType, InputDataType>;
29
using
RDT
=
typename
Base::RDT;
30
using
RHT
=
typename
Base::RHT;
31
using
LBT
=
typename
Base::LBT;
32
using
RPT
=
typename
Base::RPT;
33
using
IDT
=
typename
Base::IDT;
34
35
explicit
TriggerDataHandlingModel
(std::atomic<bool>&
run_marker
);
36
37
// Transform input data type to readout
38
std::vector<ReadoutType>
transform_payload
(
IDT
& original)
const override
;
39
};
40
41
}
// namespace dunedaq::trigger
42
43
// Declarations
44
#include "
detail/TriggerDataHandlingModel.hxx
"
45
46
#endif
// TRIGGER_INCLUDE_TRIGGER_TRIGGERDATAHANDLINGMODEL_HPP_
DataHandlingModel.hpp
TriggerDataHandlingModel.hxx
dunedaq::trigger::TriggerDataHandlingModel
Definition
TriggerDataHandlingModel.hpp:25
dunedaq::trigger::TriggerDataHandlingModel::RPT
typename Base::RPT RPT
Definition
TriggerDataHandlingModel.hpp:32
dunedaq::trigger::TriggerDataHandlingModel::LBT
typename Base::LBT LBT
Definition
TriggerDataHandlingModel.hpp:31
dunedaq::trigger::TriggerDataHandlingModel::RDT
typename Base::RDT RDT
Definition
TriggerDataHandlingModel.hpp:29
dunedaq::trigger::TriggerDataHandlingModel::TriggerDataHandlingModel
TriggerDataHandlingModel(std::atomic< bool > &run_marker)
Definition
TriggerDataHandlingModel.hxx:15
dunedaq::trigger::TriggerDataHandlingModel::transform_payload
std::vector< ReadoutType > transform_payload(IDT &original) const override
Definition
TriggerDataHandlingModel.hxx:22
dunedaq::trigger::TriggerDataHandlingModel::IDT
typename Base::IDT IDT
Definition
TriggerDataHandlingModel.hpp:33
dunedaq::trigger::TriggerDataHandlingModel::Base
datahandlinglibs:: DataHandlingModel< ReadoutType, RequestHandlerType, LatencyBufferType, RawDataProcessorType, InputDataType > Base
Definition
TriggerDataHandlingModel.hpp:27
dunedaq::trigger::TriggerDataHandlingModel::RHT
typename Base::RHT RHT
Definition
TriggerDataHandlingModel.hpp:30
run_marker
std::atomic< bool > run_marker
Global atomic for process lifetime.
Definition
daq_application.cxx:26
dunedaq::dfmessages::ReadoutType
ReadoutType
Which type of readout to use for TriggerDecision and DataRequest.
Definition
Types.hpp:51
dunedaq::trigger
Definition
AlgorithmPlugins.hpp:24
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0