Belle II Software  release-08-01-10
ONSENBinData Class Reference
Inheritance diagram for ONSENBinData:
Collaboration diagram for ONSENBinData:

Classes

struct  sose_frame_t
 

Public Member Functions

 ONSENBinData (void *buf)
 
unsigned int getTrigger () const
 
unsigned int getTimetag () const
 
unsigned int getTriggerType () const
 
unsigned int getEventNumber () const
 
unsigned int getFrameNumber () const
 
unsigned int getFrameByteSize () const
 
unsigned int getONSENMagic () const
 
int getExpNumber () const
 
int getRunNumber () const
 
int getSubNumber () const
 
int setEventNumber (int number)
 
int setExpNumber (int exp_no)
 
int setRunNumber (int run_no, int sub_no)
 
int getNEvent () const
 
int getNBoard () const
 
int setNEvent (int nev)
 
int setNBoard (int nb)
 
void setWordSize (int nword)
 
int getWordSize () const
 
int getByteSize () const
 
int getHeaderWordSize () const
 
int getHeaderByteSize () const
 
int getBodyByteSize () const
 
void setBodyWordSize (int nword)
 
int getBodyWordSize () const
 
unsigned int getTrailerMagic ()
 
int getNodeId () const
 
void setNodeId (int id)
 
unsigned int recvEvent (TCPSocket &socket)
 
unsigned int sendEvent (TCPSocket &socket) const
 
int * getBuffer ()
 
const int * getBuffer () const
 
void setBuffer (void *buf)
 
void print () noexcept
 
BinHeadergetHeader ()
 
const BinHeadergetHeader () const
 
BinTrailergetTrailer ()
 
const BinTrailergetTrailer () const
 
unsigned int * getBody ()
 
const unsigned int * getBody () const
 

Static Public Attributes

static const unsigned int MAX_PXD_FRAMES = 256
 
static const unsigned int MAGIC = 0xBEBAFECA
 
static const unsigned int TRAILER_MAGIC = 0x7FFF0007
 
static const unsigned int MAX_EVENT_WORDS = 2 * 1024 * 1024
 

Protected Attributes

BinTrailerm_trailer
 
BinHeaderm_header
 
unsigned int * m_body
 
int * m_buf
 

Private Attributes

unsigned int * m_magic
 
unsigned int * m_framenr
 
unsigned int * m_length_of_frame
 
sose_frame_tm_start_frame
 

Detailed Description

Definition at line 19 of file ONSENBinData.h.


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