#include <QTestHandle.h>
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Member Functions | |
void | attachTests (DQMStore *bei, bool verboseQT=true) |
Attaches the quality tests to the MonitorElement. More... | |
std::map< std::string, std::vector< std::string > > | checkDetailedQTStatus (DQMStore *bei) const |
Checks alarms for single MonitorElements. More... | |
std::pair< std::string, std::string > | checkGlobalQTStatus (DQMStore *bei) const |
Checks global status of Quality Tests. More... | |
bool | configureTests (const std::string &configFile, DQMStore *bei, bool UseDB=false) |
Parses Config File and configures the quality tests. More... | |
QTestHandle () | |
Creator. More... | |
~QTestHandle () | |
Destructor. More... | |
Private Attributes | |
QTestStatusChecker * | qtChecker |
QTestConfigure * | qtConfigurer |
QTestConfigurationParser * | qtParser |
bool | testsConfigured |
Handles quality tests (configuring, attaching to ME's,
Definition at line 20 of file QTestHandle.h.
Definition at line 22 of file QTestHandle.h.
Definition at line 23 of file QTestHandle.h.
QTestHandle::QTestHandle | ( | ) |
Creator.
Definition at line 20 of file QTestHandle.cc.
References qtChecker, qtConfigurer, qtParser, and testsConfigured.
QTestHandle::~QTestHandle | ( | ) |
Destructor.
Definition at line 28 of file QTestHandle.cc.
References qtChecker, qtConfigurer, and qtParser.
void QTestHandle::attachTests | ( | DQMStore * | bei, |
bool | verboseQT = true |
||
) |
Attaches the quality tests to the MonitorElement.
Definition at line 55 of file QTestHandle.cc.
References genParticles_cff::map, QTestConfigurationParser::meToTestsList(), qtParser, AlCaHLTBitMon_QueryRunRegistry::string, utils_v2::tests, and dqm::dqmstoreimpl::DQMStore::useQTestByMatch().
std::map< std::string, std::vector< std::string > > QTestHandle::checkDetailedQTStatus | ( | DQMStore * | bei | ) | const |
Checks alarms for single MonitorElements.
Definition at line 80 of file QTestHandle.cc.
References QTestStatusChecker::checkDetailedStatus(), and qtChecker.
std::pair< std::string, std::string > QTestHandle::checkGlobalQTStatus | ( | DQMStore * | bei | ) | const |
Checks global status of Quality Tests.
Definition at line 76 of file QTestHandle.cc.
References QTestStatusChecker::checkGlobalStatus(), and qtChecker.
bool QTestHandle::configureTests | ( | const std::string & | configFile, |
DQMStore * | bei, | ||
bool | UseDB = false |
||
) |
Parses Config File and configures the quality tests.
Definition at line 34 of file QTestHandle.cc.
References QTestConfigure::enableTests(), DQMParserBase::getDocument(), DQMParserBase::getNewDocument(), QTestConfigurationParser::parseQTestsConfiguration(), qtConfigurer, qtParser, testsConfigured, and QTestConfigurationParser::testsList().
|
private |
Definition at line 40 of file QTestHandle.h.
Referenced by checkDetailedQTStatus(), checkGlobalQTStatus(), QTestHandle(), and ~QTestHandle().
|
private |
Definition at line 39 of file QTestHandle.h.
Referenced by configureTests(), QTestHandle(), and ~QTestHandle().
|
private |
Definition at line 38 of file QTestHandle.h.
Referenced by attachTests(), configureTests(), QTestHandle(), and ~QTestHandle().
|
private |
Definition at line 41 of file QTestHandle.h.
Referenced by configureTests(), and QTestHandle().