#include <QTestConfigurationParser.h>
Public Member Functions | |
std::map< std::string, std::vector< std::string > > | meToTestsList () const |
Returns the map between the MonitoElemnt and the list of tests requested for it. More... | |
bool | parseQTestsConfiguration () |
Methor that parses the xml file configFile, returns false if no errors are encountered. More... | |
QTestConfigurationParser () | |
Creator. More... | |
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. More... | |
~QTestConfigurationParser () override | |
Destructor. More... | |
Public Member Functions inherited from DQMParserBase | |
int | countNodes (std::string tagName) |
Returns the number of nodes with given name. More... | |
xercesc::DOMDocument * | doc () |
DOM Document. More... | |
DQMParserBase () | |
Creator. More... | |
void | getDocument (std::string configFile, bool UseDB=false) |
Methor that parses the xml file configFile. More... | |
void | getNewDocument (std::string configFile, bool UseDB=false) |
Parses a new Document. More... | |
virtual | ~DQMParserBase () |
Destructor. More... | |
Private Member Functions | |
bool | checkParameters (std::string qtestName, std::string qtestType) |
std::map< std::string, std::string > | getParams (xercesc::DOMElement *qtestElement, std::string test) |
int | instances () |
bool | monitorElementTestsMap () |
bool | qtestsConfig () |
Private Attributes | |
std::map< std::string, std::vector< std::string > > | mapMonitorElementTests |
QTestParameterNames * | qtestParamNames |
std::map< std::string, std::map< std::string, std::string > > | testsRequested |
std::vector< std::string > | testsToDisable |
Static Private Attributes | |
static int | s_numberOfInstances = 0 |
Additional Inherited Members | |
Protected Attributes inherited from DQMParserBase | |
xercesc::XercesDOMParser * | parser |
Parses the xml file with the configuration of quality tests and the map between quality tests and MonitorElement
Definition at line 22 of file QTestConfigurationParser.h.
QTestConfigurationParser::QTestConfigurationParser | ( | ) |
Creator.
Definition at line 17 of file QTestConfigurationParser.cc.
References MillePedeFileConverter_cfg::e, and cms::concurrency::xercesInitialize().
|
override |
Destructor.
Definition at line 32 of file QTestConfigurationParser.cc.
|
private |
Definition at line 123 of file QTestConfigurationParser.cc.
Referenced by instances().
|
private |
Definition at line 100 of file QTestConfigurationParser.cc.
References qtxml::_toDOMS(), qtxml::_toString(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by meToTestsList().
|
inlineprivate |
Definition at line 40 of file QTestConfigurationParser.h.
References checkParameters(), s_numberOfInstances, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Returns the map between the MonitoElemnt and the list of tests requested for it.
Definition at line 34 of file QTestConfigurationParser.h.
References getParams(), mapMonitorElementTests, monitorElementTestsMap(), qtestsConfig(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by QTestHandle::attachTests().
|
private |
Get ME name
Loop on linkTagsNum
Definition at line 146 of file QTestConfigurationParser.cc.
References qtxml::_toDOMS(), qtxml::_toString(), common_cff::doc, mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::tt.
Referenced by meToTestsList().
bool QTestConfigurationParser::parseQTestsConfiguration | ( | ) |
Methor that parses the xml file configFile, returns false if no errors are encountered.
Definition at line 37 of file QTestConfigurationParser.cc.
Referenced by QTestHandle::configureTests().
|
private |
Get Node
Get QTEST name
Get Qtest TYPE
Definition at line 47 of file QTestConfigurationParser.cc.
References qtxml::_toDOMS(), qtxml::_toString(), common_cff::doc, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by meToTestsList().
|
inline |
Returns the Quality Tests list with their parameters obtained from the xml file.
Definition at line 32 of file QTestConfigurationParser.h.
References testsRequested.
Referenced by QTestHandle::configureTests().
|
private |
Definition at line 49 of file QTestConfigurationParser.h.
Referenced by meToTestsList().
|
private |
Definition at line 52 of file QTestConfigurationParser.h.
|
staticprivate |
Definition at line 46 of file QTestConfigurationParser.h.
Referenced by instances().
|
private |
Definition at line 48 of file QTestConfigurationParser.h.
Referenced by testsList().
|
private |
Definition at line 50 of file QTestConfigurationParser.h.