Belle II Software  release-08-01-10
RawPXD Class Reference

The Raw PXD class. More...

#include <RawPXD.h>

Inheritance diagram for RawPXD:
Collaboration diagram for RawPXD:

Public Member Functions

 RawPXD ()
 Default constructor.
 
 RawPXD (int *, int)
 Constructor using existing pointer to raw data buffer which needs to be copied
 
 RawPXD (const std::vector< unsigned int > &header, const std::vector< std::vector< unsigned char >> &payload)
 Constructor using existing data which needs to be copied to a new raw data buffer, only used by PXDPacker.
 
virtual ~RawPXD ()
 Destructor.
 
virtual int size () const
 get size of buffer in 32 Bit words
 
virtual int * data (void)
 get pointer to data
 
std::string getInfoHTML () const
 Return a short summary of this object's contents in HTML format.
 

Static Private Member Functions

static unsigned int endian_swap (unsigned int x)
 Endian swap a int32.
 

Private Attributes

int m_nwords
 Number of (32bit) Words stored in the buffer. More...
 
int * m_buffer
 Raw dump of ONSEN data. buffer of size m_nwords (32bit int)
 

Detailed Description

The Raw PXD class.

This class stores the RAW data received from the ONSEN system. This data is then decoded by the pxdUnpacker module. For system simulation, pxdPacker writes out in this objects.

Definition at line 27 of file RawPXD.h.

Member Data Documentation

◆ m_nwords

int m_nwords
private

Number of (32bit) Words stored in the buffer.

There might be unsused bytes in the last word.

Definition at line 58 of file RawPXD.h.


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