DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Data Fields
mbs::EventHeader Struct Reference

MBS event
More...

#include <mbs/MbsTypeDefs.h>

Inheritance diagram for mbs::EventHeader:
mbs::Header

Public Member Functions

void CopyHeader (EventHeader *src)
 
EventNumType EventNumber () const
 
void Init (EventNumType evnt=0)
 
SubeventHeaderNextSubEvent (SubeventHeader *prev) const
 
unsigned NumSubevents () const
 
void PrintHeader ()
 
void SetEventNumber (EventNumType ev)
 
void SetSubEventsSize (uint32_t sz)
 
SubeventHeaderSubEvents () const
 
uint32_t SubEventsSize () const
 
uint16_t TriggerNumber () const
 
- Public Member Functions inherited from mbs::Header
uint32_t FullSize () const
 
uint32_t FullType () const
 
bool isFullType (uint32_t typ) const
 
bool isTypePair (unsigned typ, unsigned subtyp) const
 
void SetFullSize (uint32_t sz)
 
void SetFullType (uint32_t typ)
 
void SetTypePair (unsigned typ, unsigned subtyp)
 
uint16_t SubType () const
 
uint16_t Type () const
 

Data Fields

int16_t iDummy
 
EventNumType iEventNumber
 
int16_t iTrigger
 
- Data Fields inherited from mbs::Header
union {
   struct {
      uint16_t   i_subtype
 
      uint16_t   i_type
 
   } 
 
   uint32_t   iType
 
}; 
 
uint32_t iWords
 

Detailed Description

MBS event

Definition at line 98 of file MbsTypeDefs.h.

Member Function Documentation

◆ Init()

void mbs::EventHeader::Init ( EventNumType  evnt = 0)
inline

Definition at line 108 of file MbsTypeDefs.h.

◆ CopyHeader()

void mbs::EventHeader::CopyHeader ( EventHeader src)
inline

Definition at line 117 of file MbsTypeDefs.h.

◆ EventNumber()

EventNumType mbs::EventHeader::EventNumber ( ) const
inline

Definition at line 124 of file MbsTypeDefs.h.

◆ SetEventNumber()

void mbs::EventHeader::SetEventNumber ( EventNumType  ev)
inline

Definition at line 125 of file MbsTypeDefs.h.

◆ TriggerNumber()

uint16_t mbs::EventHeader::TriggerNumber ( ) const
inline

Definition at line 127 of file MbsTypeDefs.h.

◆ SubEventsSize()

uint32_t mbs::EventHeader::SubEventsSize ( ) const
inline

Definition at line 130 of file MbsTypeDefs.h.

◆ SetSubEventsSize()

void mbs::EventHeader::SetSubEventsSize ( uint32_t  sz)
inline

Definition at line 131 of file MbsTypeDefs.h.

◆ SubEvents()

SubeventHeader* mbs::EventHeader::SubEvents ( ) const
inline

Definition at line 133 of file MbsTypeDefs.h.

◆ NextSubEvent()

SubeventHeader* mbs::EventHeader::NextSubEvent ( SubeventHeader prev) const
inline

Definition at line 136 of file MbsTypeDefs.h.

◆ NumSubevents()

unsigned mbs::EventHeader::NumSubevents ( ) const

Definition at line 102 of file MbsTypeDefs.cxx.

◆ PrintHeader()

void mbs::EventHeader::PrintHeader ( )

Definition at line 110 of file MbsTypeDefs.cxx.

Field Documentation

◆ iDummy

int16_t mbs::EventHeader::iDummy

Definition at line 100 of file MbsTypeDefs.h.

◆ iTrigger

int16_t mbs::EventHeader::iTrigger

Definition at line 101 of file MbsTypeDefs.h.

◆ iEventNumber

EventNumType mbs::EventHeader::iEventNumber

Definition at line 106 of file MbsTypeDefs.h.


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