12 uint32_t wordEventOffset
13 ) :
DCCTBBlockPrototype(parser,
"SRP", buffer, numbBytes,wordsToEnd,wordEventOffset), dccBlock_(dccBlock){
39 std::pair <bool,std::string> res;
42 if(!res.first){ checkErrors += res.second; (
errors_[
"SRP::HEADER"])++; }
44 if(!res.first){ checkErrors += res.second; (
errors_[
"SRP::HEADER"])++; }
48 if(!res.first){ checkErrors += res.second; (
errors_[
"SRP::HEADER"])++; }
52 errorString_ +=
"\n ======================================================================\n";
55 errorString_ +=
"\n ======================================================================";
virtual std::pair< bool, std::string > checkDataField(std::string name, uint32_t data)
virtual uint32_t getDataField(std::string name)
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * mapperFields_
virtual void increment(uint32_t numb, std::string msg="")
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp32Fields()
DCCTBDataParser * parser_
void increment(uint32_t numb)
DCCTBSRPBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset)
DCCTBEventBlock * dccBlock_
DCCTBDataMapper * mapper()
std::map< std::string, uint32_t > errors_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp16Fields()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp68Fields()