![]() |
![]() |
#include <QTestStatusChecker.h>
Public Member Functions | |
std::map< std::string, std::vector< std::string > > | checkDetailedStatus (DQMStore *bei) |
Check status of quality tests for individual ME's. More... | |
std::pair< std::string, std::string > | checkGlobalStatus (DQMStore *bei) |
Check global status of Quality tests, returns a pair of string: message and color relative to global status. More... | |
std::vector< std::string > | fullPathNames (DQMStore *bei) |
void | processAlarms (const std::vector< std::string > &allPathNames, DQMStore *bei) |
QTestStatusChecker () | |
Creator. More... | |
~QTestStatusChecker () | |
Destructor. More... | |
Private Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Private Attributes | |
std::map< std::string, std::vector< std::string > > | detailedWarnings |
Class that checks the staus of Quality tests (takes a pointer to the DQMStore) and fills string maps containing the alarms
Definition at line 18 of file QTestStatusChecker.h.
|
private |
Definition at line 19 of file QTestStatusChecker.h.
|
private |
Definition at line 20 of file QTestStatusChecker.h.
QTestStatusChecker::QTestStatusChecker | ( | ) |
QTestStatusChecker::~QTestStatusChecker | ( | ) |
std::map< std::string, std::vector< std::string > > QTestStatusChecker::checkDetailedStatus | ( | DQMStore * | bei | ) |
Check status of quality tests for individual ME's.
Definition at line 40 of file QTestStatusChecker.cc.
References detailedWarnings, fullPathNames(), and processAlarms().
Referenced by QTestHandle::checkDetailedQTStatus().
std::pair< std::string, std::string > QTestStatusChecker::checkGlobalStatus | ( | DQMStore * | bei | ) |
Check global status of Quality tests, returns a pair of string: message and color relative to global status.
Definition at line 16 of file QTestStatusChecker.cc.
References dqm::qstatus::ERROR, dqm::dqmstoreimpl::DQMStore::getStatus(), dqm::qstatus::OTHER, mps_update::status, and dqm::qstatus::WARNING.
Referenced by QTestHandle::checkGlobalQTStatus().
std::vector< std::string > QTestStatusChecker::fullPathNames | ( | DQMStore * | bei | ) |
Definition at line 88 of file QTestStatusChecker.cc.
References relmon_rootfiles_spy::contents, TrackerOfflineValidation_Dqm_cff::dirName, reco_skim_cfg_mod::fullpath, dqm::dqmstoreimpl::DQMStore::getContents(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by checkDetailedStatus().
void QTestStatusChecker::processAlarms | ( | const std::vector< std::string > & | allPathNames, |
DQMStore * | bei | ||
) |
Definition at line 48 of file QTestStatusChecker.cc.
References detailedWarnings, dqm::dqmstoreimpl::DQMStore::get(), dqm::impl::MonitorElement::getQErrors(), dqm::impl::MonitorElement::getQOthers(), dqm::impl::MonitorElement::getQWarnings(), dqm::impl::MonitorElement::hasError(), dqm::impl::MonitorElement::hasOtherReport(), dqm::impl::MonitorElement::hasWarning(), hlt_dqm_clientPB-live_cfg::me, edmIntegrityCheck::report, AlCaHLTBitMon_QueryRunRegistry::string, and runonSM::text.
Referenced by checkDetailedStatus().
|
private |
Definition at line 36 of file QTestStatusChecker.h.
Referenced by checkDetailedStatus(), and processAlarms().