3 #ifndef MATACQTBRAWEVENT_H 4 #define MATACQTBRAWEVENT_H 8 #if 0 //replace 1 by 0 to remove XDAQ dependency. In this case it is assumed 10 #include "i2o/utils/endian.h" 11 #define UINT32_FROM_LE i2odecodel 12 #define UINT16_FROM_LE i2odecodes 13 #define INT16_FROM_LE i2odecodes 15 #else //assuming little endianness of the machine 17 #define UINT32_FROM_LE 18 #define UINT16_FROM_LE 48 operator uint32_t()
const{
55 operator uint16_t()
const{
62 operator int16_t()
const{
345 #endif //MATACQRAWEVENT_H not defined
int getTriggerType() const
static const field32spec_t lv132
static const field32spec_t fov32
void setRawData(const unsigned char *buffer, size_t bufferSize)
unsigned getDaqLen() const
int read32(uint32le_t *pData, field32spec_t spec) const
unsigned getEventId() const
static const field32spec_t boeType32
int getChannelCount() const
static const field32spec_t runNum32
std::vector< ChannelData > channelData
int32_t getStatus() const
int getMatacqDataFormatVersion() const
MatacqTBRawEvent(const unsigned char *dataBuffer, size_t bufferSize)
time_t getTimeStamp() const
static const field32spec_t triggerType32
matacqHeader_t * matacqHeader
int matacqDataFormatVersion
unsigned getRunNum() const
static const field32spec_t h1Marker32
static const field32spec_t bxId32
const std::vector< ChannelData > & getChannelData() const
static const field32spec_t dccLen32
unsigned getDccLen() const
static const field32spec_t fedId32
const int16le_t * samples
static const field32spec_t dccErrors32