This document describes the format of version 2 of the ComponentRequest
struct.
Description of ComponentRequest
ComponentRequest
version 2 consists of 8 32-bit words:
- Version
- Padding word
- SourceID version 2 Version (upper 16 bits) / Subsystem (lower 16 bits)
- SourceID version 2 Element ID
- Window Begin (upper 32 bits)
- Window Begin (lower 32 bits)
- Window End (upper 32 bits)
- Window End (lower 32 bits)
C++ Code for ComponentRequest
struct ComponentRequest
{
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.
daqdataformats::SourceID SourceID
Copy daqdataformats::SourceID.
Notes
As can be seen from the layout of the ComponentRequest
struct, this can be considered a data source + a time window