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
int getTriggerType() const
static const field32spec_t lv132
static const field32spec_t fov32
unsigned getDaqLen() const
unsigned getEventId() const
static const field32spec_t boeType32
int read32(const uint32le_t *pData, field32spec_t spec) const
int getChannelCount() const
static const field32spec_t runNum32
std::vector< ChannelData > channelData
int32_t getStatus() const
int getMatacqDataFormatVersion() const
time_t getTimeStamp() const
const uint32le_t * daqHeader
MatacqTBRawEvent(const unsigned char *dataBuffer, std::size_t bufferSize)
static const field32spec_t triggerType32
int matacqDataFormatVersion
unsigned getRunNum() const
static const field32spec_t h1Marker32
static const field32spec_t bxId32
const matacqHeader_t * matacqHeader
const std::vector< ChannelData > & getChannelData() const
static const field32spec_t dccLen32
void setRawData(const unsigned char *buffer, std::size_t bufferSize)
unsigned getDccLen() const
static const field32spec_t fedId32
const int16le_t * samples
static const field32spec_t dccErrors32