#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 22 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 30 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 64 of file QTestHandle.cc.
References firstTime, python.multivaluedict::map(), QTestConfigurationParser::meToTestsList(), qtParser, utils_v2::tests, and DQMStore::useQTestByMatch().
Referenced by SiPixelActionExecutor::setupQTests().
std::map< std::string, std::vector< std::string > > QTestHandle::checkDetailedQTStatus | ( | DQMStore * | bei | ) | const |
Checks alarms for single MonitorElements.
Definition at line 97 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 91 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 37 of file QTestHandle.cc.
References QTestConfigure::enableTests(), DQMParserBase::getDocument(), DQMParserBase::getNewDocument(), QTestConfigurationParser::parseQTestsConfiguration(), qtConfigurer, qtParser, testsConfigured, and QTestConfigurationParser::testsList().
Referenced by SiPixelActionExecutor::setupQTests().
|
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().