artdaq_core  v3_05_00
artdaq::detail::RawEventHeader Struct Reference

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 Fragment::sequence_id_t sequence_id_t
 Field size should be the same as the Fragment::sequence_id field.
 

Public Member Functions

 RawEventHeader (run_id_t run, subrun_id_t subrun, event_id_t event, sequence_id_t seq)
 Constructs the RawEventHeader struct with the given parameters. More...
 

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.
 
bool is_complete
 Does the event contain the expected number of Fragment objects?
 

Detailed Description

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 30 of file RawEvent.hh.

Constructor & Destructor Documentation

artdaq::detail::RawEventHeader::RawEventHeader ( run_id_t  run,
subrun_id_t  subrun,
event_id_t  event,
sequence_id_t  seq 
)
inline

Constructs the RawEventHeader struct with the given parameters.

Parameters
runThe current Run number
subrunThe current Subrun number
eventThe current event number
seqThe current Sequence ID

Definition at line 50 of file RawEvent.hh.


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