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