Go to the documentation of this file.
38 const int daqHeaderLen = 16;
39 pData16 += daqHeaderLen /
sizeof(pData16[0]);
43 tTrigPs = *((
const int32_t*)pData16);
50 for (
int iCh = 0; iCh < nCh; ++iCh) {
63 int padding = (4 - (pData16 - begin16)) % 4;
68 fragLen = trailer32[1] & 0xFFFFFF;
75 const int nHeaders = 3;
83 const int trailerLen = 4;
84 pData16 += trailerLen;
88 if ((pData16 - begin16) != (4 *
fragLen)) {
92 if ((
size_t)(pData16 - begin16) >
maxSize) {
93 throw std::runtime_error(
std::string(
"Corrupted or truncated data"));
104 int mask = spec32.
mask;
105 while ((mask & 0
x1) == 0) {
static const field32spec_t bxId32
static const field32spec_t fov32
static const field32spec_t fedId32
static const field32spec_t h1Marker32
void setRawData(const unsigned char *buffer, std::size_t bufferSize)
int getChannelCount() const
int read32(const uint32le_t *pData, field32spec_t spec) const
static const field32spec_t dccLen32
const matacqHeader_t * matacqHeader
static const field32spec_t dccErrors32
static const field32spec_t lv132
const uint32le_t * daqHeader
static const field32spec_t runNum32
std::vector< ChannelData > channelData
static const field32spec_t boeType32
int getMatacqDataFormatVersion() const
static const field32spec_t triggerType32