tdaq-develop-2025-02-12
|
#include <artdaq-ots/Overlays/UDPFragment.hh>
Public Types | |
typedef uint32_t | data_t |
typedef uint32_t | event_size_t |
typedef uint32_t | data_type_t |
Public Attributes | |
event_size_t | event_size: 28 |
event_size_t | type: 4 |
Static Public Attributes | |
static size_t const | size_words = 1ul |
Units of Header::data_t. | |
The "Header" struct contains "metadata" specific to the fragment which is not hardware-related
Header::data_t – not to be confused with Metadata::data_t ! – describes the standard size of a data type not just for the header data, but ALSO the physics data beyond it; the size of the header in units of Header::data_t is given by "size_words", and the size of the fragment beyond the header in units of Header::data_t is given by "event_size"
Notice only the first 28 bits of the first 32-bit unsigned integer in the Header is used to hold the event_size ; this means that you can't represent a fragment larger than 2**28 units of data_t, or 1,073,741,824 bytes
Definition at line 60 of file UDPFragment.hh.