11 uint32_t wordEventOffset)
12 :
DCCTBBlockPrototype(parser,
"SRP", buffer, numbBytes, wordsToEnd, wordEventOffset), dccBlock_(dccBlock) {
39 std::pair<bool, std::string> res;
43 checkErrors += res.second;
48 checkErrors += res.second;
54 checkErrors += res.second;
58 if (!checkErrors.empty()) {
59 errorString_ +=
"\n ======================================================================\n";
62 errorString_ +=
"\n ======================================================================";
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 > * srp32Fields()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * mapperFields_
DCCTBDataParser * parser_
void increment(uint32_t numb)
std::map< std::string, uint32_t > errors_
DCCTBEventBlock * dccBlock_
DCCTBDataMapper * mapper()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp16Fields()
static std::atomic< unsigned int > counter
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp68Fields()
DCCTBSRPBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset)