stream
0.10.0
stream analysis framework
|
HADES raw event. More...
#include <hadaq/definess.h>
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 | |
![]() | |
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 | |
![]() | |
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 | |
![]() | |
uint32_t | tuId |
id | |
![]() | |
uint32_t | tuSize |
size | |
uint32_t | tuDecoding |
decoding | |
HADES raw event.
|
protected |
Method to set initial header value like decoding and date/time.
init header