18 uint32_t wordEventOffset,
22 expectedId_(expectedId) {
48 std::pair<bool, std::string>
res;
54 checkErrors += res.second;
61 checkErrors += res.second;
68 checkErrors += res.second;
72 if (!checkErrors.empty()) {
74 errorString_ +=
"\n ======================================================================\n";
78 errorString_ +=
"\n ======================================================================";
105 std::vector<std::pair<int, bool> >
data;
118 std::vector<int>
data;
virtual std::pair< bool, std::string > checkDataField(std::string name, uint32_t data)
virtual uint32_t getDataField(std::string name)
virtual void increment(uint32_t numb, std::string msg="")
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * mapperFields_
DCCTBDataParser * parser_
std::string getDecString(uint32_t data)
std::map< std::string, uint32_t > errors_
std::vector< int > triggerFlags()
std::vector< std::pair< int, bool > > triggerSamples()
void increment(uint32_t numb)
DCCTBDataMapper * mapper()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc32Fields()
DCCTBEventBlock * dccBlock_
char data[epos_bytes_allocation]
DCCTBTCCBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset, uint32_t expectedId)
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc16Fields()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc68Fields()