#include <DCCSRPBlock.h>
Public Member Functions | |
DCCTBSRPBlock (DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset) | |
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 | srpFields { BXMASK = 0xFFF, L1MASK = 0xFFF, BPOSITION_BLOCKID = 29, BLOCKID = 4 } |
Protected Member Functions | |
void | dataCheck () |
void | increment (uint32_t numb) |
Protected Member Functions inherited from DCCTBBlockPrototype | |
std::string | formatString (std::string myString, uint32_t minPositions) |
Protected Attributes | |
DCCTBEventBlock * | dccBlock_ |
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_ |
Definition at line 21 of file DCCSRPBlock.h.
|
protected |
Enumerator | |
---|---|
BXMASK | |
L1MASK | |
BPOSITION_BLOCKID | |
BLOCKID |
Definition at line 42 of file DCCSRPBlock.h.
DCCTBSRPBlock::DCCTBSRPBlock | ( | DCCTBEventBlock * | dccBlock, |
DCCTBDataParser * | parser, | ||
uint32_t * | buffer, | ||
uint32_t | numbBytes, | ||
uint32_t | wordsToEnd, | ||
uint32_t | wordEventOffset | ||
) |
Definition at line 6 of file DCCSRPBlock.cc.
References dataCheck(), DCCTBDataParser::debug(), DCCTBBlockPrototype::errors_, DCCTBDataParser::mapper(), DCCTBBlockPrototype::mapperFields_, DCCTBDataParser::numbSRF(), DCCTBBlockPrototype::parseData(), DCCTBBlockPrototype::parser_, DCCTBDataMapper::srp16Fields(), DCCTBDataMapper::srp32Fields(), and DCCTBDataMapper::srp68Fields().
|
protected |
Definition at line 35 of file DCCSRPBlock.cc.
References DCCTBBlockPrototype::blockError_, BXMASK, DCCTBBlockPrototype::checkDataField(), dccBlock_, DCCTBBlockPrototype::errors_, DCCTBBlockPrototype::errorString_, DCCTBBlockPrototype::getDataField(), L1MASK, DCCTBBlockPrototype::name_, DCCTBBlockPrototype::parser_, and DCCTBDataParser::srpId().
Referenced by DCCTBSRPBlock().
|
protected |
Definition at line 63 of file DCCSRPBlock.cc.
References BLOCKID, BPOSITION_BLOCKID, DCCTBBlockPrototype::dataP_, DCCTBDataParser::debug(), DCCTBBlockPrototype::errors_, DCCTBBlockPrototype::increment(), DCCTBBlockPrototype::parser_, and DCCTBBlockPrototype::wordCounter_.
|
protected |
Definition at line 49 of file DCCSRPBlock.h.
Referenced by dataCheck().