Go to the documentation of this file.
3 #ifndef MATACQTBRAWEVENT_H
4 #define MATACQTBRAWEVENT_H
11 #include "i2o/utils/endian.h"
12 #define UINT32_FROM_LE i2odecodel
13 #define UINT16_FROM_LE i2odecodes
14 #define INT16_FROM_LE i2odecodes
16 #else //assuming little endianness of the machine
18 #define UINT32_FROM_LE
19 #define UINT16_FROM_LE
230 int read32(
const uint32le_t* pData, field32spec_t spec)
const;
332 #endif //MATACQRAWEVENT_H not defined
static const field32spec_t bxId32
static const field32spec_t fov32
unsigned getRunNum() const
static const field32spec_t fedId32
static const field32spec_t h1Marker32
int getTriggerType() const
void setRawData(const unsigned char *buffer, std::size_t bufferSize)
time_t getTimeStamp() const
int getChannelCount() const
int read32(const uint32le_t *pData, field32spec_t spec) const
static const field32spec_t dccLen32
const matacqHeader_t * matacqHeader
MatacqTBRawEvent(const unsigned char *dataBuffer, std::size_t bufferSize)
static const field32spec_t dccErrors32
static const field32spec_t lv132
const uint32le_t * daqHeader
static const field32spec_t runNum32
std::vector< ChannelData > channelData
unsigned getEventId() const
static const field32spec_t boeType32
unsigned getDccLen() const
int getMatacqDataFormatVersion() const
static const field32spec_t triggerType32
unsigned getDaqLen() const
int matacqDataFormatVersion
const std::vector< ChannelData > & getChannelData() const
const int16le_t * samples
int32_t getStatus() const