action.skip

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};
  SourceID component;
  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);
};

Notes

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


Last git commit to the markdown source of this page:

Author: John Freeman

Date: Mon Jul 11 15:35:15 2022 -0500

If you see a problem with the documentation on this page, please file an Issue at https://github.com/DUNE-DAQ/daqdataformats/issues