#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 11 of file RPCRawDataCounts.h.
|
inline |
Definition at line 14 of file RPCRawDataCounts.h.
|
inline |
Definition at line 15 of file RPCRawDataCounts.h.
References relativeConstraints::error, l1t::stage2::layer2::fedId, operator+=(), edm::print(), record, and AlCaHLTBitMon_QueryRunRegistry::string.
void RPCRawDataCounts::addDccRecord | ( | int | fedId, |
const rpcrawtodigi::DataRecord & | record, | ||
int | weight = 1 |
||
) |
Definition at line 44 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 62 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 26 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 67 of file RPCRawDataCounts.cc.
References theBadEvents, theGoodEvents, theReadoutErrors, and theRecordTypes.
std::string RPCRawDataCounts::print | ( | void | ) | const |
Definition at line 87 of file RPCRawDataCounts.cc.
References harvestTrackValidationPlots::str.
|
friend |
Definition at line 27 of file RPCRawDataCounts.h.
|
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+=().
|
private |
Definition at line 29 of file RPCRawDataCounts.h.
Referenced by RPCMonitorRaw::analyze(), and operator+=().
|
private |
Definition at line 28 of file RPCRawDataCounts.h.
Referenced by RPCMonitorRaw::analyze(), and operator+=().