3 #ifndef MATACQRAWEVENT_H 4 #define MATACQRAWEVENT_H 12 #include "i2o/utils/endian.h" 13 #define UINT32_FROM_LE i2odecodel 14 #define UINT16_FROM_LE i2odecodes 15 #define INT16_FROM_LE i2odecodes 17 #else //assuming little endianness of the machine 19 #define UINT32_FROM_LE 20 #define UINT16_FROM_LE 360 static int read32(
const uint32le_t* pData, field32spec_t spec,
bool ovfTrans =
false);
505 #endif //MATACQRAWEVENT_H not defined
static const field32spec_t vernier1_32
static const field32spec_t fedId32
static const field32spec_t boeType32
static unsigned getRunNum(unsigned char *data, size_t size)
static int read32(const uint32le_t *pData, field32spec_t spec, bool ovfTrans=false)
time_t getTimeStamp() const
const int16le_t * samples
int getChannelCount() const
static unsigned getOrbitId(unsigned char *data, size_t size)
static const field32spec_t runNum32
unsigned getDccLen() const
static const field32spec_t timeStamp32
const uint32le_t * daqHeader
static const field32spec_t trigType32
static const field32spec_t tTrigPs32
std::vector< int > vernier
static const field32spec_t channelCount32
const std::vector< ChannelData > & getChannelData() const
unsigned getDaqLen() const
static const field32spec_t emtcPhase32
void setRawData(const unsigned char *buffer, size_t bufferSize)
static const field32spec_t dccLen32
std::vector< int > getVernier() const
static const field32spec_t fov32
static const field32spec_t attenuation_dB32
static const field32spec_t lv132
static const field32spec_t vernier0_32
int matacqDataFormatVersion
static const field32spec_t vernier3_32
static unsigned getDccLen(unsigned char *data, size_t size)
static const field32spec_t postTrig32
int getLaserPower() const
static const field32spec_t timeStampMicroSec32
static const field32spec_t trigRec32
static const field32spec_t vernier2_32
static const field32spec_t emtcDelay32
static const field32spec_t side32
unsigned getEventId() const
static const field32spec_t dccId32
static const field32spec_t triggerType32
static const field32spec_t color32
char data[epos_bytes_allocation]
MatacqRawEvent(const unsigned char *dataBuffer, size_t bufferSize)
static const field32spec_t delayA32
int getTriggerType() const
void getTimeStamp(struct timeval &t) const
unsigned getRunNum() const
static const field32spec_t orbitId32
std::vector< ChannelData > channelData
uint32_t getOrbitId() const
static const field32spec_t formatVersion32
static const field32spec_t dccErrors32
static const field32spec_t h1Marker32
static const field32spec_t freqGHz32
static const field32spec_t laserPower32
int getMatacqDataFormatVersion() const
int32_t getStatus() const
int getAttenuation_dB() const
static const field32spec_t bxId32