14 #include "boost/scoped_ptr.hpp"
49 std::map<std::string, std::map<std::string, std::string> > testsONList
65 std::map<std::string, std::vector<std::string> > mapMeToTests
69 for (std::map<
std::string, std::vector<std::string> >::iterator itr = mapMeToTests.begin();
70 itr != mapMeToTests.end();
74 const std::vector<std::string> &
tests = itr->second;
76 for (std::vector<std::string>::const_iterator testsItr = tests.begin();
77 testsItr != tests.end(); ++testsItr){
81 <<
" ==>> Invalid qtest xml: Link '"<< meName
82 <<
"', QTest '"<< *testsItr <<
"' - no matching ME! <<== ";
88 std::pair<std::string,std::string>
94 std::map< std::string, std::vector<std::string> >
void getDocument(std::string configFile, bool UseDB=false)
Methor that parses the xml file configFile.
std::map< std::string, std::vector< std::string > > checkDetailedQTStatus(DQMStore *bei) const
Checks alarms for single MonitorElements.
bool parseQTestsConfiguration()
Methor that parses the xml file configFile, returns false if no errors are encountered.
void attachTests(DQMStore *bei, bool verboseQT=true)
Attaches the quality tests to the MonitorElement.
~QTestHandle()
Destructor.
std::pair< std::string, std::string > checkGlobalQTStatus(DQMStore *bei) const
Checks global status of Quality Tests.
QTestConfigurationParser * qtParser
std::map< std::string, std::map< std::string, std::string > > testsList() const
Returns the Quality Tests list with their parameters obtained from the xml file.
QTestConfigure * qtConfigurer
void getNewDocument(std::string configFile, bool UseDB=false)
Parses a new Document.
std::map< std::string, std::vector< std::string > > meToTestsList() const
Returns the map between the MonitoElemnt and the list of tests requested for it.
QTestStatusChecker * qtChecker
int useQTestByMatch(const std::string &pattern, const std::string &qtname)
attach quality test <qc> to monitor elements matching <pattern>.
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 ...
bool configureTests(const std::string &configFile, DQMStore *bei, bool UseDB=false)
Parses Config File and configures the quality tests.
std::map< std::string, std::vector< std::string > > checkDetailedStatus(DQMStore *bei)
Check status of quality tests for individual ME's.