Go to the documentation of this file.
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 freqGHz32
time_t getTimeStamp() const
static int read32(const uint32le_t *pData, field32spec_t spec, bool ovfTrans=false)
static const field32spec_t lv132
int32_t getStatus() const
static const field32spec_t boeType32
static const field32spec_t vernier1_32
static const field32spec_t dccErrors32
int getChannelCount() const
const std::vector< ChannelData > & getChannelData() const
static unsigned getRunNum(unsigned char *data, size_t size)
static const field32spec_t timeStampMicroSec32
void getTimeStamp(struct timeval &t) const
static const field32spec_t laserPower32
static const field32spec_t formatVersion32
static const field32spec_t fedId32
int getTriggerType() const
static unsigned getOrbitId(unsigned char *data, size_t size)
const int16le_t * samples
unsigned getRunNum() const
static const field32spec_t dccLen32
static const field32spec_t fov32
unsigned getDaqLen() const
int getLaserPower() const
static const field32spec_t timeStamp32
unsigned getDccLen() const
void setRawData(const unsigned char *buffer, size_t bufferSize)
std::vector< int > vernier
static const field32spec_t trigType32
int getMatacqDataFormatVersion() const
static const field32spec_t orbitId32
static const field32spec_t emtcDelay32
static const field32spec_t delayA32
std::vector< ChannelData > channelData
static const field32spec_t emtcPhase32
static unsigned getDccLen(unsigned char *data, size_t size)
static const field32spec_t channelCount32
static const field32spec_t postTrig32
const uint32le_t * daqHeader
static const field32spec_t vernier2_32
static const field32spec_t vernier3_32
std::vector< int > getVernier() const
MatacqRawEvent(const unsigned char *dataBuffer, size_t bufferSize)
int matacqDataFormatVersion
static const field32spec_t triggerType32
static const field32spec_t h1Marker32
static const field32spec_t trigRec32
static const field32spec_t runNum32
static const field32spec_t vernier0_32
static const field32spec_t dccId32
uint32_t getOrbitId() const
static const field32spec_t side32
char data[epos_bytes_allocation]
static const field32spec_t color32
static const field32spec_t tTrigPs32
int getAttenuation_dB() const
unsigned getEventId() const
static const field32spec_t attenuation_dB32
static const field32spec_t bxId32