19 uint32_t wordEventOffset,
20 uint32_t expectedId) :
21 DCCTBBlockPrototype(parser,
"TCC", buffer, numbBytes, wordsToEnd, wordEventOffset),dccBlock_(dccBlock), expectedId_(expectedId){
44 std::pair <bool,std::string> res;
50 checkErrors += res.second;
57 checkErrors += res.second;
64 checkErrors += res.second;
71 errorString_ +=
"\n ======================================================================\n";
74 errorString_ +=
"\n ======================================================================";
108 std::vector< std::pair<int,bool> >
data;
114 data.push_back (tpg);
125 std::vector<int>
data;
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="")
DCCTBDataParser * parser_
std::string getDecString(uint32_t data)
std::vector< int > triggerFlags()
std::vector< std::pair< int, bool > > triggerSamples()
DCCTBTCCBlock(DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset, uint32_t expectedId)
void increment(uint32_t numb)
DCCTBDataMapper * mapper()
std::map< std::string, uint32_t > errors_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc32Fields()
DCCTBEventBlock * dccBlock_
char data[epos_bytes_allocation]
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc16Fields()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc68Fields()