CMS 3D CMS Logo

QTestHandle.h
Go to the documentation of this file.
1 #ifndef QTestHandle_H
2 #define QTestHandle_H
3 
12 #include <string>
13 #include <vector>
14 #include <map>
15 
17 class QTestConfigure;
18 class QTestStatusChecker;
19 
20 class QTestHandle {
21 public:
25  QTestHandle();
27  ~QTestHandle();
29  bool configureTests(const std::string &configFile, DQMStore *bei, bool UseDB = false);
31  void attachTests(DQMStore *bei, bool verboseQT = true);
33  std::pair<std::string, std::string> checkGlobalQTStatus(DQMStore *bei) const;
35  std::map<std::string, std::vector<std::string> > checkDetailedQTStatus(DQMStore *bei) const;
36 
37 private:
42 };
43 
44 #endif
QTestHandle()
Creator.
Definition: QTestHandle.cc:20
std::map< std::string, std::vector< std::string > > checkDetailedQTStatus(DQMStore *bei) const
Checks alarms for single MonitorElements.
Definition: QTestHandle.cc:80
void attachTests(DQMStore *bei, bool verboseQT=true)
Attaches the quality tests to the MonitorElement.
Definition: QTestHandle.cc:55
dqm::harvesting::MonitorElement MonitorElement
Definition: QTestHandle.h:23
~QTestHandle()
Destructor.
Definition: QTestHandle.cc:28
std::pair< std::string, std::string > checkGlobalQTStatus(DQMStore *bei) const
Checks global status of Quality Tests.
Definition: QTestHandle.cc:76
QTestConfigurationParser * qtParser
Definition: QTestHandle.h:38
QTestConfigure * qtConfigurer
Definition: QTestHandle.h:39
QTestStatusChecker * qtChecker
Definition: QTestHandle.h:40
bool testsConfigured
Definition: QTestHandle.h:41
bool configureTests(const std::string &configFile, DQMStore *bei, bool UseDB=false)
Parses Config File and configures the quality tests.
Definition: QTestHandle.cc:34
dqm::harvesting::DQMStore DQMStore
Definition: QTestHandle.h:22