artdaq_core_demo
v1_07_01
|
The AsciiFragment::Header contains information about the payload size and the "line number" of the data contained in the AsciiFragment. More...
#include <artdaq-core-demo/Overlays/AsciiFragment.hh>
Public Types | |
typedef char | data_t |
The data type of the payload. | |
typedef uint64_t | event_size_t |
Type for the event_size field. | |
typedef uint64_t | line_number_t |
Type for the line_number field. | |
Public Attributes | |
event_size_t | event_size: 28 |
The number of characters in the contained string. | |
event_size_t | unused_1: 36 |
Unused. | |
line_number_t | line_number |
Static Public Attributes | |
static size_t const | size_words = 16ul |
Size of the Header object, in units of Header::data_t. | |
The AsciiFragment::Header contains information about the payload size and the "line number" of the data contained in the AsciiFragment.
The AsciiFragment::Header contains information about the payload size and the "line number" of the data contained in the AsciiFragment. Note that the AsciiFragment::Header is distinct from the AsciiFragment::Metadata and the Fragment::Header. AsciiFragment::Header is a convienience struct to decode the first 16 bytes of the data payload.
Definition at line 73 of file AsciiFragment.hh.
line_number_t demo::AsciiFragment::Header::line_number |
The line number of the string (in ASCII). Equal to Event number in artdaq-demo/Generators/AsciiSimulator_generator.cc.
Definition at line 83 of file AsciiFragment.hh.