stream  0.10.0
stream analysis framework
Public Member Functions | Protected Member Functions | Protected Attributes
hadaqs::RawEvent Struct Reference

HADES raw event. More...

#include <hadaq/definess.h>

Inheritance diagram for hadaqs::RawEvent:
hadaqs::HadTuId hadaqs::HadTu

Public Member Functions

 RawEvent ()
 constructor
 
 ~RawEvent ()
 destructor
 
uint32_t GetSeqNr () const
 get seq nr
 
void SetSeqNr (uint32_t n)
 set seq nr
 
int32_t GetRunNr () const
 get run nr
 
void SetRunNr (uint32_t n)
 set run nr
 
int32_t GetDate () const
 get date
 
void SetDate (uint32_t d)
 set date
 
int32_t GetTime () const
 get time
 
void SetTime (uint32_t t)
 set time
 
void Init (uint32_t evnt, uint32_t run=0, uint32_t id=EvtId_DABC)
 initialize subevent
 
void Dump ()
 dump raw event
 
- Public Member Functions inherited from hadaqs::HadTuId
 HadTuId ()
 constructor
 
 ~HadTuId ()
 destructor
 
uint32_t GetId () const
 get id
 
void SetId (uint32_t id)
 set id
 
bool GetDataError () const
 get data error
 
void SetDataError (bool on)
 set data error
 
- Public Member Functions inherited from hadaqs::HadTu
 HadTu ()
 constructor
 
 ~HadTu ()
 destructor
 
bool IsSwapped () const
 msb of decode word is always non zero...?
 
uint32_t Value (const uint32_t *member) const
 access value
 
void SetValue (uint32_t *member, uint32_t val)
 swap-save method to set value stolen from hadtu.h
 
uint32_t GetDecoding () const
 get decoding
 
uint32_t GetSize () const
 get size
 
uint32_t GetPaddedSize () const
 get padded size
 
void SetSize (uint32_t bytes)
 set size
 
void SetDecoding (uint32_t decod)
 set decoding
 

Protected Member Functions

void InitHeader (uint32_t evid)
 Method to set initial header value like decoding and date/time. More...
 

Protected Attributes

uint32_t evtSeqNr
 event sequence number
 
uint32_t evtDate
 event date
 
uint32_t evtTime
 event time
 
uint32_t evtRunNr
 event run number
 
uint32_t evtPad
 event padding
 
- Protected Attributes inherited from hadaqs::HadTuId
uint32_t tuId
 id
 
- Protected Attributes inherited from hadaqs::HadTu
uint32_t tuSize
 size
 
uint32_t tuDecoding
 decoding
 

Detailed Description

HADES raw event.

Member Function Documentation

◆ InitHeader()

void hadaqs::RawEvent::InitHeader ( uint32_t  evid)
protected

Method to set initial header value like decoding and date/time.

init header


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