#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 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 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 45 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 21 of file QTestStatusChecker.cc.
References dqm::qstatus::ERROR, DQMStore::getStatus(), dqm::qstatus::OTHER, ntuplemaker::status, and dqm::qstatus::WARNING.
Referenced by QTestHandle::checkGlobalQTStatus().
std::vector< std::string > QTestStatusChecker::fullPathNames | ( | DQMStore * | bei | ) |
Definition at line 102 of file QTestStatusChecker.cc.
References relmon_rootfiles_spy::contents, TrackerOfflineValidation_Dqm_cff::dirName, DQMStore::getContents(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by checkDetailedStatus().
void QTestStatusChecker::processAlarms | ( | const std::vector< std::string > & | allPathNames, |
DQMStore * | bei | ||
) |
Definition at line 55 of file QTestStatusChecker.cc.
References detailedWarnings, DQMStore::get(), MonitorElement::getQErrors(), MonitorElement::getQOthers(), MonitorElement::getQWarnings(), MonitorElement::hasError(), MonitorElement::hasOtherReport(), MonitorElement::hasWarning(), zeeHLT_cff::report, AlCaHLTBitMon_QueryRunRegistry::string, and runonSM::text.
Referenced by checkDetailedStatus().
|
private |
Definition at line 37 of file QTestStatusChecker.h.
Referenced by checkDetailedStatus(), and processAlarms().