Belle II Software development
|
#include <RawPXD.h>
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. | |
int * | m_buffer |
Raw dump of ONSEN data. buffer of size m_nwords (32bit int) | |
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.
RawPXD | ( | ) |
Default constructor.
Definition at line 16 of file RawPXD.cc.
RawPXD | ( | int * | buffer, |
int | length_in_Bytes | ||
) |
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.
Definition at line 37 of file RawPXD.cc.
|
virtual |
|
virtual |
|
staticprivate |
std::string getInfoHTML | ( | ) | const |
Return a short summary of this object's contents in HTML format.
Definition at line 87 of file RawPXD.cc.
|
virtual |
|
private |
|
private |