#include <DCCTrailerBlock.h>
Public Member Functions | |
void | dataCheck () |
DCCTBTrailerBlock (DCCTBDataParser *parser, uint32_t *buffer, uint32_t numbBytes, uint32_t wToEnd, uint32_t wordEventOffset, uint32_t expectedLength, uint32_t expectedCRC) | |
Public Member Functions inherited from DCCTBBlockPrototype | |
bool | blockError () |
virtual std::pair< bool, std::string > | checkDataField (std::string name, uint32_t data) |
virtual std::pair< bool, std::string > | compare (DCCTBBlockPrototype *block) |
DCCTBBlockPrototype (DCCTBDataParser *parser, std::string name, uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEndOfEvent, uint32_t wordEventOffset=0) | |
virtual void | displayData (std::ostream &os=std::cout) |
std::map< std::string, uint32_t > & | errorCounters () |
std::string & | errorString () |
virtual uint32_t | getDataField (std::string name) |
virtual uint32_t | getDataWord (uint32_t wordPosition, uint32_t bitPosition, uint32_t mask) |
DCCTBDataParser * | getParser () |
virtual void | increment (uint32_t numb, std::string msg="") |
std::string | name () |
virtual void | parseData () |
virtual void | seeIfIsPossibleToIncrement (uint32_t numb, std::string msg="") |
virtual void | setDataField (std::string name, uint32_t data) |
uint32_t | size () |
uint32_t | wOffset () |
virtual | ~DCCTBBlockPrototype () |
Protected Types | |
enum | traillerFields { EOE = 0xA } |
Protected Attributes | |
uint32_t | expectedCRC_ |
uint32_t | expectedLength_ |
Protected Attributes inherited from DCCTBBlockPrototype | |
uint32_t * | beginOfBuffer_ |
bool | blockError_ |
uint32_t | blockSize_ |
std::string | blockString_ |
std::map< std::string, uint32_t > | dataFields_ |
uint32_t * | dataP_ |
std::map< std::string, uint32_t > | errors_ |
std::string | errorString_ |
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * | mapperFields_ |
std::string | name_ |
DCCTBDataParser * | parser_ |
std::string | processingString_ |
uint32_t | wordCounter_ |
uint32_t | wordEventOffset_ |
uint32_t | wordsToEndOfEvent_ |
Additional Inherited Members | |
Protected Member Functions inherited from DCCTBBlockPrototype | |
std::string | formatString (std::string myString, uint32_t minPositions) |
Definition at line 11 of file DCCTrailerBlock.h.
|
protected |
DCCTBTrailerBlock::DCCTBTrailerBlock | ( | DCCTBDataParser * | parser, |
uint32_t * | buffer, | ||
uint32_t | numbBytes, | ||
uint32_t | wToEnd, | ||
uint32_t | wordEventOffset, | ||
uint32_t | expectedLength, | ||
uint32_t | expectedCRC | ||
) |
Definition at line 4 of file DCCTrailerBlock.cc.
References dataCheck(), DCCTBBlockPrototype::errors_, DCCTBDataParser::mapper(), DCCTBBlockPrototype::mapperFields_, DCCTBBlockPrototype::parseData(), DCCTBBlockPrototype::parser_, and DCCTBDataMapper::trailerFields().
void DCCTBTrailerBlock::dataCheck | ( | ) |
Definition at line 32 of file DCCTrailerBlock.cc.
References DCCTBBlockPrototype::blockError_, DCCTBBlockPrototype::checkDataField(), EOE, DCCTBBlockPrototype::errors_, DCCTBBlockPrototype::errorString_, expectedLength_, DCCTBBlockPrototype::name_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DCCTBTrailerBlock().
|
protected |
Definition at line 32 of file DCCTrailerBlock.h.
|
protected |
Definition at line 31 of file DCCTrailerBlock.h.
Referenced by dataCheck().