3 #ifndef MATACQTBRAWEVENT_H 4 #define MATACQTBRAWEVENT_H 9 #if 0 //replace 1 by 0 to remove XDAQ dependency. In this case it is assumed 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 49 operator uint32_t()
const{
56 operator uint16_t()
const{
63 operator int16_t()
const{
346 #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