#include <QTestHandle.h>
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.
QTestHandle::QTestHandle | ( | ) |
Creator.
Definition at line 21 of file QTestHandle.cc.
References qtChecker, qtConfigurer, qtParser, and testsConfigured.
QTestHandle::~QTestHandle | ( | ) |
Destructor.
Definition at line 31 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 65 of file QTestHandle.cc.
References genParticles_cff::map, QTestConfigurationParser::meToTestsList(), qtParser, AlCaHLTBitMon_QueryRunRegistry::string, utils_v2::tests, and DQMStore::useQTestByMatch().
std::map< std::string, std::vector< std::string > > QTestHandle::checkDetailedQTStatus | ( | DQMStore * | bei | ) | const |
Checks alarms for single MonitorElements.
Definition at line 100 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 94 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 38 of file QTestHandle.cc.
References QTestConfigure::enableTests(), DQMParserBase::getDocument(), DQMParserBase::getNewDocument(), QTestConfigurationParser::parseQTestsConfiguration(), qtConfigurer, qtParser, testsConfigured, and QTestConfigurationParser::testsList().
|
private |
Definition at line 38 of file QTestHandle.h.
Referenced by checkDetailedQTStatus(), checkGlobalQTStatus(), QTestHandle(), and ~QTestHandle().
|
private |
Definition at line 37 of file QTestHandle.h.
Referenced by configureTests(), QTestHandle(), and ~QTestHandle().
|
private |
Definition at line 36 of file QTestHandle.h.
Referenced by attachTests(), configureTests(), QTestHandle(), and ~QTestHandle().
|
private |
Definition at line 39 of file QTestHandle.h.
Referenced by configureTests(), and QTestHandle().