DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ComponentRequest v2

This document describes the format of version 2 of the ComponentRequest struct.

Description of ComponentRequest

ComponentRequest version 2 consists of 8 32-bit words:

  1. Version
  2. Padding word
  3. SourceID version 2 Version (upper 16 bits) / Subsystem (lower 16 bits)
  4. SourceID version 2 Element ID
  5. Window Begin (upper 32 bits)
  6. Window Begin (lower 32 bits)
  7. Window End (upper 32 bits)
  8. Window End (lower 32 bits)

C++ Code for ComponentRequest

struct ComponentRequest
{
uint32_t version{ 2 };
unit32_t unused {0xFFFFFFFF};
timestamp_t window_begin{ TypeDefaults::s_invalid_timestamp };
timestamp_t window_end{ TypeDefaults::s_invalid_timestamp };
ComponentRequest(const SourceID& comp, const timestamp_t& wbegin, const timestamp_t& wend);
};
struct dunedaq::ctbmodules::content::word::timestamp_t timestamp_t
daqdataformats::ComponentRequest ComponentRequest
Copy daqdataformats::ComponentRequest.
Definition Types.hpp:33
daqdataformats::SourceID SourceID
Copy daqdataformats::SourceID.
Definition Types.hpp:32

Notes

As can be seen from the layout of the ComponentRequest struct, this can be considered a data source + a time window