artdaq_core_demo  v1_07_01
demo::ToyFragment::Header Struct Reference

The "Header" struct is used to interpret the header information that is created by the hardware and is part of the data blob that is read from the hardware for each event. Not to be confused with the Fragment::Header or the ToyFragment::Metadata objects. More...

#include <artdaq-core-demo/Overlays/ToyFragment.hh>

Public Types

typedef uint32_t data_t
 Fundamental unit of data represenation within the ToyFragment::Header.
 
typedef uint32_t event_size_t
 Type used for the event size.
 
typedef uint32_t trigger_number_t
 Type used for the trigger number.
 

Public Attributes

event_size_t event_size: 28
 The size of the event, in data_t words.
 
event_size_t distribution_type: 4
 Which distribution_type was used to generate the Fragment data.
 
trigger_number_t trigger_number: 32
 The "trigger number" from the simulated hardware.
 

Static Public Attributes

static size_t const size_words = 2ul
 Size of the ToyFragment::Header class, in units of Header::data_t.
 

Detailed Description

The "Header" struct is used to interpret the header information that is created by the hardware and is part of the data blob that is read from the hardware for each event. Not to be confused with the Fragment::Header or the ToyFragment::Metadata objects.

Definition at line 76 of file ToyFragment.hh.


The documentation for this struct was generated from the following file: