#include <DCCTCCBlock.h>
Public Member Functions | |
DCCTBTCCBlock (DCCTBEventBlock *dccBlock, DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEnd, uint32_t wordEventOffset, uint32_t expectedId) | |
std::vector< int > | triggerFlags () |
std::vector< std::pair< int, bool > > | triggerSamples () |
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, const 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 | tccFields { BXMASK = 0xFFF, L1MASK = 0xFFF, BPOSITION_BLOCKID = 29, BLOCKID = 3, BPOSITION_FGVB = 8, ETMASK = 0xFF } |
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_ |
uint32_t | expectedId_ |
Protected Attributes inherited from DCCTBBlockPrototype | |
const uint32_t * | beginOfBuffer_ |
bool | blockError_ |
uint32_t | blockSize_ |
std::string | blockString_ |
std::map< std::string, uint32_t > | dataFields_ |
const 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 24 of file DCCTCCBlock.h.
|
protected |
Define TCC block fields BXMASK (mask for BX, 12bit) L1MASK (mask for LV1, 12 bit) BPOSITION_BLOCKID (bit position for TCC block id, bit=61/29 for 64/32bit words BLOCKID (TCC block id B'011' = 3)
Enumerator | |
---|---|
BXMASK | |
L1MASK | |
BPOSITION_BLOCKID | |
BLOCKID | |
BPOSITION_FGVB | |
ETMASK |
Definition at line 63 of file DCCTCCBlock.h.
DCCTBTCCBlock::DCCTBTCCBlock | ( | DCCTBEventBlock * | dccBlock, |
DCCTBDataParser * | parser, | ||
const uint32_t * | buffer, | ||
uint32_t | numbBytes, | ||
uint32_t | wordsToEnd, | ||
uint32_t | wordEventOffset, | ||
uint32_t | expectedId | ||
) |
Class constructor
Definition at line 13 of file DCCTCCBlock.cc.
References dataCheck(), DCCTBDataParser::debug(), DCCTBBlockPrototype::errors_, DCCTBDataParser::mapper(), DCCTBBlockPrototype::mapperFields_, DCCTBDataParser::numbTTs(), DCCTBBlockPrototype::parseData(), DCCTBBlockPrototype::parser_, DCCTBDataMapper::tcc16Fields(), DCCTBDataMapper::tcc32Fields(), and DCCTBDataMapper::tcc68Fields().
|
protected |
Checks header's data
Definition at line 43 of file DCCTCCBlock.cc.
References DCCTBBlockPrototype::blockError_, BXMASK, DCCTBBlockPrototype::checkDataField(), dccBlock_, DCCTBBlockPrototype::errors_, DCCTBBlockPrototype::errorString_, expectedId_, DCCTBBlockPrototype::getDataField(), DCCTBDataParser::getDecString(), L1MASK, DCCTBBlockPrototype::name_, DCCTBBlockPrototype::parser_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DCCTBTCCBlock().
|
protected |
Definition at line 86 of file DCCTCCBlock.cc.
References BLOCKID, BPOSITION_BLOCKID, DCCTBBlockPrototype::dataP_, DCCTBDataParser::debug(), DCCTBBlockPrototype::errors_, DCCTBBlockPrototype::increment(), DCCTBBlockPrototype::parser_, and DCCTBBlockPrototype::wordCounter_.
std::vector< int > DCCTBTCCBlock::triggerFlags | ( | ) |
Definition at line 124 of file DCCTCCBlock.cc.
References data, DCCTBBlockPrototype::getDataField(), DCCTBDataParser::getDecString(), mps_fire::i, DCCTBBlockPrototype::name(), DCCTBDataParser::numbTTs(), DCCTBBlockPrototype::parser_, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector< std::pair< int, bool > > DCCTBTCCBlock::triggerSamples | ( | ) |
Definition at line 107 of file DCCTCCBlock.cc.
References BPOSITION_FGVB, data, ETMASK, DCCTBBlockPrototype::getDataField(), DCCTBDataParser::getDecString(), mps_fire::i, DCCTBBlockPrototype::name(), DCCTBDataParser::numbTTs(), DCCTBBlockPrototype::parser_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 72 of file DCCTCCBlock.h.
Referenced by dataCheck().
|
protected |
Definition at line 73 of file DCCTCCBlock.h.
Referenced by dataCheck().