DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::dfmessages::TriggerDecision Struct Reference

A message containing information about a Trigger from Data Selection (or a TriggerDecisionEmulator). More...

#include <TriggerDecision.hpp>

Public Member Functions

 DUNE_DAQ_SERIALIZE (TriggerDecision, trigger_number, run_number, trigger_timestamp, trigger_type, readout_type, components)

Public Attributes

trigger_number_t trigger_number
 The trigger number assigned to this TriggerDecision.
run_number_t run_number { TypeDefaults::s_invalid_run_number }
 The current run number.
timestamp_t trigger_timestamp { TypeDefaults::s_invalid_timestamp }
 The DAQ timestamp.
trigger_type_t trigger_type { TypeDefaults::s_invalid_trigger_type }
 The type of the trigger.
ReadoutType readout_type { ReadoutType::kInvalid }
 The type of readout to use (i.e. where to route data).
std::vector< ComponentRequestcomponents
 The DAQ components which should be read out to create the TriggerRecord.

Detailed Description

A message containing information about a Trigger from Data Selection (or a TriggerDecisionEmulator).

Definition at line 26 of file TriggerDecision.hpp.

Member Function Documentation

◆ DUNE_DAQ_SERIALIZE()

dunedaq::dfmessages::TriggerDecision::DUNE_DAQ_SERIALIZE ( TriggerDecision ,
trigger_number ,
run_number ,
trigger_timestamp ,
trigger_type ,
readout_type ,
components  )

Member Data Documentation

◆ components

std::vector<ComponentRequest> dunedaq::dfmessages::TriggerDecision::components

The DAQ components which should be read out to create the TriggerRecord.

Definition at line 37 of file TriggerDecision.hpp.

◆ readout_type

ReadoutType dunedaq::dfmessages::TriggerDecision::readout_type { ReadoutType::kInvalid }

The type of readout to use (i.e. where to route data).

Definition at line 35 of file TriggerDecision.hpp.

@ kInvalid
Invalid type, used for initialization.
Definition Types.hpp:58

◆ run_number

run_number_t dunedaq::dfmessages::TriggerDecision::run_number { TypeDefaults::s_invalid_run_number }

The current run number.

Definition at line 31 of file TriggerDecision.hpp.

static constexpr run_number_t s_invalid_run_number
Definition Types.hpp:47

◆ trigger_number

trigger_number_t dunedaq::dfmessages::TriggerDecision::trigger_number
Initial value:

The trigger number assigned to this TriggerDecision.

Definition at line 28 of file TriggerDecision.hpp.

◆ trigger_timestamp

timestamp_t dunedaq::dfmessages::TriggerDecision::trigger_timestamp { TypeDefaults::s_invalid_timestamp }

The DAQ timestamp.

Definition at line 33 of file TriggerDecision.hpp.

static constexpr timestamp_t s_invalid_timestamp
Definition Types.hpp:52

◆ trigger_type

trigger_type_t dunedaq::dfmessages::TriggerDecision::trigger_type { TypeDefaults::s_invalid_trigger_type }

The type of the trigger.

Definition at line 34 of file TriggerDecision.hpp.

static constexpr trigger_type_t s_invalid_trigger_type
Definition Types.hpp:55

The documentation for this struct was generated from the following file: