#include <RPCAMCLinkCounters.h>
Public Types | |
typedef map_type::const_iterator | const_iterator |
typedef map_type::iterator | iterator |
typedef std::map< std::pair< unsigned int, std::uint32_t >, unsigned int > | map_type |
Public Member Functions | |
void | add (unsigned int type, RPCAMCLink const &link, unsigned int count=1) |
std::pair< const_iterator, const_iterator > | getCounters () const |
std::pair< const_iterator, const_iterator > | getCounters (unsigned int type) const |
std::pair< const_iterator, const_iterator > | getCounters (unsigned int lower_type, unsigned int upper_type) const |
void | reset () |
void | reset (unsigned int type) |
void | reset (unsigned int type, RPCAMCLink const &link) |
RPCAMCLinkCounters () | |
Static Public Member Functions | |
static std::string | getTypeName (unsigned int type) |
Static Public Attributes | |
static unsigned int const | amc_data_ = 100 |
static unsigned int const | amc_evc_bc_invalid_ = 101 |
static unsigned int const | amc_link_invalid_ = 104 |
static unsigned int const | amc_max_ = 104 |
static unsigned int const | amc_min_ = 100 |
static unsigned int const | amc_number_mismatch_ = 103 |
static unsigned int const | amc_payload_length_invalid_ = 102 |
static unsigned int const | fed_block_amc_number_invalid_ = 7 |
static unsigned int const | fed_block_length_invalid_ = 6 |
static unsigned int const | fed_event_ = 0 |
static unsigned int const | fed_header_check_fail_ = 1 |
static unsigned int const | fed_header_id_mismatch_ = 2 |
static unsigned int const | fed_max_ = 7 |
static unsigned int const | fed_min_ = 0 |
static unsigned int const | fed_trailer_check_fail_ = 3 |
static unsigned int const | fed_trailer_crc_mismatch_ = 5 |
static unsigned int const | fed_trailer_length_mismatch_ = 4 |
static unsigned int const | input_connector_invalid_ = 205 |
static unsigned int const | input_connector_not_used_ = 206 |
static unsigned int const | input_data_ = 200 |
static unsigned int const | input_eod_ = 203 |
static unsigned int const | input_lb_invalid_ = 204 |
static unsigned int const | input_link_ack_fail_ = 202 |
static unsigned int const | input_link_error_ = 201 |
static unsigned int const | input_max_ = 206 |
static unsigned int const | input_min_ = 200 |
Protected Attributes | |
map_type | type_link_count_ |
Definition at line 10 of file RPCAMCLinkCounters.h.
typedef map_type::const_iterator RPCAMCLinkCounters::const_iterator |
Definition at line 15 of file RPCAMCLinkCounters.h.
typedef map_type::iterator RPCAMCLinkCounters::iterator |
Definition at line 14 of file RPCAMCLinkCounters.h.
typedef std::map<std::pair<unsigned int, std::uint32_t>, unsigned int > RPCAMCLinkCounters::map_type |
Definition at line 13 of file RPCAMCLinkCounters.h.
RPCAMCLinkCounters::RPCAMCLinkCounters | ( | ) |
Definition at line 66 of file RPCAMCLinkCounters.cc.
void RPCAMCLinkCounters::add | ( | unsigned int | type, |
RPCAMCLink const & | link, | ||
unsigned int | count = 1 |
||
) |
Referenced by RPCTwinMuxRawToDigi::processBlock(), RPCTwinMuxRawToDigi::processCDFHeaders(), RPCTwinMuxRawToDigi::processCDFTrailers(), RPCTwinMuxRawToDigi::processRPCRecord(), RPCTwinMuxRawToDigi::processTwinMux(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
std::pair<const_iterator, const_iterator> RPCAMCLinkCounters::getCounters | ( | ) | const |
std::pair<const_iterator, const_iterator> RPCAMCLinkCounters::getCounters | ( | unsigned int | type | ) | const |
std::pair<const_iterator, const_iterator> RPCAMCLinkCounters::getCounters | ( | unsigned int | lower_type, |
unsigned int | upper_type | ||
) | const |
|
static |
Definition at line 3 of file RPCAMCLinkCounters.cc.
References amc_data_, amc_evc_bc_invalid_, amc_link_invalid_, amc_number_mismatch_, amc_payload_length_invalid_, fed_block_amc_number_invalid_, fed_block_length_invalid_, fed_event_, fed_header_check_fail_, fed_header_id_mismatch_, fed_trailer_check_fail_, fed_trailer_crc_mismatch_, fed_trailer_length_mismatch_, input_connector_invalid_, input_connector_not_used_, input_data_, input_eod_, input_lb_invalid_, input_link_ack_fail_, input_link_error_, and AlCaHLTBitMon_QueryRunRegistry::string.
void RPCAMCLinkCounters::reset | ( | ) |
void RPCAMCLinkCounters::reset | ( | unsigned int | type | ) |
void RPCAMCLinkCounters::reset | ( | unsigned int | type, |
RPCAMCLink const & | link | ||
) |
|
static |
Definition at line 36 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 29 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processBlock().
|
static |
Definition at line 35 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 51 of file RPCAMCLinkCounters.h.
|
static |
Definition at line 50 of file RPCAMCLinkCounters.h.
|
static |
Definition at line 32 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processTwinMux().
|
static |
Definition at line 30 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processTwinMux().
|
static |
Definition at line 27 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processTwinMux().
|
static |
Definition at line 25 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processBlock().
|
static |
Definition at line 18 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::produce().
|
static |
Definition at line 19 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processCDFHeaders().
|
static |
Definition at line 20 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processCDFHeaders().
|
static |
Definition at line 49 of file RPCAMCLinkCounters.h.
|
static |
Definition at line 48 of file RPCAMCLinkCounters.h.
|
static |
Definition at line 21 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processCDFTrailers().
|
static |
Definition at line 23 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::produce().
|
static |
Definition at line 22 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processCDFTrailers().
|
static |
Definition at line 43 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 44 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 38 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 41 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 42 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 40 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 39 of file RPCAMCLinkCounters.h.
Referenced by getTypeName(), and RPCTwinMuxRawToDigi::processRPCRecord().
|
static |
Definition at line 53 of file RPCAMCLinkCounters.h.
|
static |
Definition at line 52 of file RPCAMCLinkCounters.h.
|
protected |
Definition at line 70 of file RPCAMCLinkCounters.h.