$treeview $search $mathjax $extrastylesheet
artdaq_core
v3_06_01
$projectbrief
|
$projectbrief
|
$searchbox |
The header information used to identify key properties of the RawEvent object. More...
#include <artdaq-core/Data/RawEvent.hh>
Public Types | |
typedef uint32_t | run_id_t |
Run numbers are 32 bits. | |
typedef uint32_t | subrun_id_t |
Subrun numbers are 32 bits. | |
typedef uint32_t | event_id_t |
Event numbers are 32 bits. | |
typedef uint64_t | sequence_id_t |
Field size should be the same as the Fragment::sequence_id field. | |
typedef uint64_t | timestamp_t |
Field size should be the same as the Fragment::timestamp field. | |
Public Member Functions | |
RawEventHeader () | |
Default constructor. Provided for ROOT compatibility. | |
RawEventHeader (run_id_t run, subrun_id_t subrun, event_id_t event, sequence_id_t seq, timestamp_t ts) | |
Constructs the RawEventHeader struct with the given parameters. | |
void | print (std::ostream &os) const |
Public Attributes | |
run_id_t | run_id |
Fragments don't know about runs. | |
subrun_id_t | subrun_id |
Fragments don't know about subruns. | |
event_id_t | event_id |
Event number should be either sequence ID or Timestamp of component Fragments. | |
sequence_id_t | sequence_id |
RawEvent sequence_id should be the same as its component Fragment sequence_ids. | |
timestamp_t | timestamp |
The timestamp of the first Fragment received for this event. | |
bool | is_complete |
Does the event contain the expected number of Fragment objects? | |
uint8_t | version |
Version number of the RawFragmentHeader. | |
Static Public Attributes | |
static constexpr uint8_t | CURRENT_VERSION = 0 |
The header information used to identify key properties of the RawEvent object.
RawEventHeader is the artdaq generic event header. It contains the information necessary for routing of raw events inside the artdaq code, but is not intended for use by any experiment.
Definition at line 28 of file RawEvent.hh.
artdaq::detail::RawEventHeader::RawEventHeader | ( | run_id_t | run, | |
subrun_id_t | subrun, | |||
event_id_t | event, | |||
sequence_id_t | seq, | |||
timestamp_t | ts | |||
) | [inline] |
Constructs the RawEventHeader struct with the given parameters.
run | The current Run number | |
subrun | The current Subrun number | |
event | The current event number | |
seq | The current Sequence ID | |
ts | The current Timestamp |
Definition at line 59 of file RawEvent.hh.