Parses the "summary plot" xml configuration file. More...
#include <SummaryPlotXmlParser.h>
Public Member Functions | |
void | parseXML (const std::string &xml_file) |
void | print (std::stringstream &) const |
std::vector< SummaryPlot > | summaryPlots (const sistrip::RunType &) |
SummaryPlotXmlParser () | |
virtual | ~SummaryPlotXmlParser () |
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 Attributes | |
std::map< sistrip::RunType, std::vector< SummaryPlot > > | plots_ |
Static Private Attributes | |
static const std::string | granularityAttr_ = "granularity" |
static const std::string | levelAttr_ = "level" |
static const std::string | monitorableAttr_ = "monitorable" |
static const std::string | presentationAttr_ = "presentation" |
static const std::string | rootTag_ = "root" |
static const std::string | runTypeAttr_ = "name" |
static const std::string | runTypeTag_ = "RunType" |
static const std::string | summaryPlotTag_ = "SummaryPlot" |
static const std::string | viewAttr_ = "view" |
Additional Inherited Members | |
Protected Attributes inherited from DQMParserBase | |
xercesc::XercesDOMParser * | parser |
Parses the "summary plot" xml configuration file.
Definition at line 25 of file SummaryPlotXmlParser.h.
SummaryPlotXmlParser::SummaryPlotXmlParser | ( | ) |
Default constructor.
Definition at line 23 of file SummaryPlotXmlParser.cc.
References f, and cms::concurrency::xercesInitialize().
|
inlinevirtual |
void SummaryPlotXmlParser::parseXML | ( | const std::string & | xml_file | ) |
Fill the map with the required tag/names and values
Definition at line 48 of file SummaryPlotXmlParser.cc.
References asciidump::attr, asciidump::doc, alignCSCRings::e, HTMLExport::elem(), testEve_cfg::level, python.rootplot.argparse::message, sistrip::mlDqmClient_, LaserDQM_cfi::mon, python.Node::node, plotResiduals::plot(), fetchall_from_DQM_v2::release, dbtoconf::root, SiStripEnumsAndStrings::runType(), and contentValuesCheck::ss.
Referenced by SiStripCommissioningOfflineClient::beginRun().
void SummaryPlotXmlParser::print | ( | std::stringstream & | ss | ) | const |
Debug print method.
Definition at line 201 of file SummaryPlotXmlParser.cc.
References SiStripEnumsAndStrings::runType().
Referenced by operator<<().
std::vector< SummaryPlot > SummaryPlotXmlParser::summaryPlots | ( | const sistrip::RunType & | run_type | ) |
Returns SummaryPlot objects for given commissioning task.
Definition at line 33 of file SummaryPlotXmlParser.cc.
References sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
staticprivate |
Definition at line 66 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 65 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 62 of file SummaryPlotXmlParser.h.
|
private |
Container holding the SummaryPlot objects.
Definition at line 53 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 63 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 56 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 58 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 57 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 61 of file SummaryPlotXmlParser.h.
|
staticprivate |
Definition at line 64 of file SummaryPlotXmlParser.h.