#include <RPCRawDataCounts.h>
Public Member Functions | |
void | addDccRecord (int fedId, const rpcrawtodigi::DataRecord &record, int weight=1) |
void | addReadoutError (int fedId, const rpcrawtodigi::ReadoutError &error, int weight=1) |
int | fedBxRecords (int fedId) const |
int | fedErrorRecords (int fedId) const |
int | fedFormatErrors (int fedId) const |
void | operator+= (const RPCRawDataCounts &) |
std::string | print () const |
RPCRawDataCounts () | |
~RPCRawDataCounts () | |
Private Attributes | |
std::map< std::pair< int, int >, int > | theBadEvents |
std::map< std::pair< int, int >, int > | theGoodEvents |
std::map< std::pair< int, int >, int > | theReadoutErrors |
std::map< std::pair< int, int >, int > | theRecordTypes |
Friends | |
class | RPCMonitorRaw |
Definition at line 15 of file RPCRawDataCounts.h.
|
inline |
Definition at line 17 of file RPCRawDataCounts.h.
|
inline |
Definition at line 18 of file RPCRawDataCounts.h.
References relativeConstraints::error, l1tstage2_dqm_sourceclient-live_cfg::fedId, operator+=(), edm::print(), record, and AlCaHLTBitMon_QueryRunRegistry::string.
void RPCRawDataCounts::addDccRecord | ( | int | fedId, |
const rpcrawtodigi::DataRecord & | record, | ||
int | weight = 1 |
||
) |
Definition at line 45 of file RPCRawDataCounts.cc.
References rpcrawtodigi::DataRecord::RCDM, rpcrawtodigi::DataRecord::RDDM, rpcrawtodigi::DataRecord::RDM, rpcrawtodigi::DataRecord::StartOfTbLinkInputNumberData, rpcrawtodigi::DataRecord::type(), and mps_merge::weight.
void RPCRawDataCounts::addReadoutError | ( | int | fedId, |
const rpcrawtodigi::ReadoutError & | error, | ||
int | weight = 1 |
||
) |
Definition at line 70 of file RPCRawDataCounts.cc.
References rpcrawtodigi::ReadoutError::rawCode().
Referenced by RPCRecordFormatter::recordUnpack().
int RPCRawDataCounts::fedBxRecords | ( | int | fedId | ) | const |
Definition at line 19 of file RPCRawDataCounts.cc.
References rpcrawtodigi::DataRecord::StartOfBXData.
Referenced by RPCFEDIntegrity::analyze().
int RPCRawDataCounts::fedErrorRecords | ( | int | fedId | ) | const |
Definition at line 35 of file RPCRawDataCounts.cc.
References rpcrawtodigi::DataRecord::Empty.
Referenced by RPCFEDIntegrity::analyze().
int RPCRawDataCounts::fedFormatErrors | ( | int | fedId | ) | const |
Definition at line 25 of file RPCRawDataCounts.cc.
References rpcrawtodigi::ReadoutError::InconsistentDataSize, and rpcrawtodigi::ReadoutError::NoProblem.
Referenced by RPCFEDIntegrity::analyze().
void RPCRawDataCounts::operator+= | ( | const RPCRawDataCounts & | o | ) |
Definition at line 74 of file RPCRawDataCounts.cc.
References theBadEvents, theGoodEvents, theReadoutErrors, and theRecordTypes.
std::string RPCRawDataCounts::print | ( | void | ) | const |
Definition at line 92 of file RPCRawDataCounts.cc.
References str.
|
friend |
Definition at line 29 of file RPCRawDataCounts.h.
|
private |
Definition at line 33 of file RPCRawDataCounts.h.
Referenced by RPCMonitorRaw::analyze(), and operator+=().
|
private |
Definition at line 32 of file RPCRawDataCounts.h.
Referenced by RPCMonitorRaw::analyze(), and operator+=().
|
private |
Definition at line 31 of file RPCRawDataCounts.h.
Referenced by RPCMonitorRaw::analyze(), and operator+=().
|
private |
Definition at line 30 of file RPCRawDataCounts.h.
Referenced by RPCMonitorRaw::analyze(), and operator+=().