#include <SiStripInformationExtractor.h>
Public Member Functions | |
void | createImages (DQMStore *dqm_store) |
void | getCondDBHistos (DQMStore *dqm_store, bool &plot_flag, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getGlobalHistos (DQMStore *dqm_store, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getHistosFromPath (DQMStore *dqm_store, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getImage (const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getSingleModuleHistos (DQMStore *dqm_store, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getTrackerMapHistos (DQMStore *dqm_store, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | plotHistosFromLayout (DQMStore *dqm_store) |
void | readAlarmTree (DQMStore *dqm_store, std::string &str_name, xgi::Output *out) |
void | readGlobalHistoList (DQMStore *dqm_store, std::string &dname, xgi::Output *out) |
void | readLayoutNames (DQMStore *dqm_store, xgi::Output *out) |
void | readModuleAndHistoList (DQMStore *dqm_store, std::string &sname, const edm::ESHandle< SiStripDetCabling > &detcabling, xgi::Output *out) |
void | readNonGeomHistoTree (DQMStore *dqm_store, std::string &fld_name, xgi::Output *out) |
void | readQTestSummary (DQMStore *dqm_store, std::string type, xgi::Output *out) |
void | readStatusMessage (DQMStore *dqm_store, std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | readSummaryHistoTree (DQMStore *dqm_store, std::string &str_name, xgi::Output *out) |
SiStripInformationExtractor () | |
~SiStripInformationExtractor () | |
Private Member Functions | |
void | getItemList (const std::multimap< std::string, std::string > &req_map, std::string item_name, std::vector< std::string > &items) |
std::string | getItemValue (const std::multimap< std::string, std::string > &req_map, std::string item_name) |
bool | hasItem (const std::multimap< std::string, std::string > &req_map, std::string item_name) |
void | printAlarmList (DQMStore *dqm_store, std::ostringstream &str_val) |
void | printNonGeomHistoList (DQMStore *dqm_store, std::ostringstream &str_val) |
void | printSummaryHistoList (DQMStore *dqm_store, std::ostringstream &str_val) |
void | readConfiguration () |
void | selectColor (std::string &col, int status) |
void | selectColor (std::string &col, std::vector< QReport * > &reports) |
void | selectImage (std::string &name, int status) |
void | selectImage (std::string &name, std::vector< QReport * > &reports) |
void | setHTMLHeader (xgi::Output *out) |
void | setPlainHeader (xgi::Output *out) |
void | setXMLHeader (xgi::Output *out) |
Private Attributes | |
SiStripHistoPlotter * | histoPlotter_ |
std::map< std::string, std::vector< std::string > > | layoutMap |
SiStripLayoutParser * | layoutParser_ |
bool | readReference_ |
std::vector< std::string > | subdetVec |
Definition at line 25 of file SiStripInformationExtractor.h.
SiStripInformationExtractor::SiStripInformationExtractor | ( | ) |
Definition at line 22 of file SiStripInformationExtractor.cc.
References histoPlotter_, layoutMap, layoutParser_, and readConfiguration().
SiStripInformationExtractor::~SiStripInformationExtractor | ( | ) |
Definition at line 34 of file SiStripInformationExtractor.cc.
References histoPlotter_, and layoutParser_.
void SiStripInformationExtractor::createImages | ( | DQMStore * | dqm_store | ) |
Definition at line 777 of file SiStripInformationExtractor.cc.
References SiStripHistoPlotter::condDBPlotsToMake(), SiStripHistoPlotter::createCondDBPlots(), SiStripHistoPlotter::createPlots(), histoPlotter_, and SiStripHistoPlotter::plotsToMake().
Referenced by SiStripWebInterface::performAction().
void SiStripInformationExtractor::getCondDBHistos | ( | DQMStore * | dqm_store, |
bool & | plot_flag, | ||
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 343 of file SiStripInformationExtractor.cc.
References DQMStore::getContents(), SiStripFolderOrganizer::getFolderName(), getItemValue(), MonitorElement::getName(), hasItem(), histoPlotter_, path(), SiStripHistoPlotter::setNewCondDBPlot(), setXMLHeader(), SiStripUtility::split(), and tablePrinter::width.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::getGlobalHistos | ( | DQMStore * | dqm_store, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 206 of file SiStripInformationExtractor.cc.
References DQMStore::getContents(), getItemList(), getItemValue(), MonitorElement::getName(), histoPlotter_, AlCaRecoCosmics_cfg::name, path(), SiStripHistoPlotter::setNewPlot(), setXMLHeader(), and tablePrinter::width.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::getHistosFromPath | ( | DQMStore * | dqm_store, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 244 of file SiStripInformationExtractor.cc.
References DQMStore::getContents(), getItemValue(), MonitorElement::getName(), histoPlotter_, AlCaRecoCosmics_cfg::name, path(), SiStripHistoPlotter::setNewPlot(), setXMLHeader(), and tablePrinter::width.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::getImage | ( | const std::multimap< std::string, std::string > & | req_map, |
xgi::Output * | out | ||
) |
Definition at line 405 of file SiStripInformationExtractor.cc.
References getItemValue(), SiStripHistoPlotter::getNamedImageBuffer(), histoPlotter_, and path().
Referenced by SiStripWebInterface::handleAnalyserRequest().
|
private |
Definition at line 573 of file SiStripInformationExtractor.cc.
Referenced by getGlobalHistos(), and getSingleModuleHistos().
|
private |
Definition at line 595 of file SiStripInformationExtractor.cc.
References pos, and relativeConstraints::value.
Referenced by getCondDBHistos(), getGlobalHistos(), getHistosFromPath(), getImage(), getSingleModuleHistos(), getTrackerMapHistos(), and readStatusMessage().
void SiStripInformationExtractor::getSingleModuleHistos | ( | DQMStore * | dqm_store, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 164 of file SiStripInformationExtractor.cc.
References DQMStore::getContents(), SiStripFolderOrganizer::getFolderName(), getItemList(), getItemValue(), MonitorElement::getName(), histoPlotter_, AlCaRecoCosmics_cfg::name, path(), SiStripHistoPlotter::setNewPlot(), setXMLHeader(), and tablePrinter::width.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::getTrackerMapHistos | ( | DQMStore * | dqm_store, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 310 of file SiStripInformationExtractor.cc.
References DQMStore::getContents(), SiStripFolderOrganizer::getFolderName(), getItemValue(), MonitorElement::getName(), histoPlotter_, path(), SiStripHistoPlotter::setNewPlot(), setXMLHeader(), and tablePrinter::width.
Referenced by SiStripWebInterface::handleAnalyserRequest().
|
private |
Definition at line 586 of file SiStripInformationExtractor.cc.
References pos.
Referenced by getCondDBHistos().
void SiStripInformationExtractor::plotHistosFromLayout | ( | DQMStore * | dqm_store | ) |
Definition at line 273 of file SiStripInformationExtractor.cc.
References SiStripHistoPlotter::createStaticPlot(), alignmentValidation::fname, DQMStore::get(), MonitorElement::getName(), histoPlotter_, layoutMap, Association::map, and dbtoconf::out.
Referenced by SiStripWebInterface::performAction().
|
private |
Definition at line 115 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::getContents(), MonitorElement::getName(), MonitorElement::getQReports(), DQMStore::getStatus(), DQMStore::getSubdirs(), DQMStore::goUp(), DQMStore::pwd(), and selectImage().
Referenced by readAlarmTree().
|
private |
Definition at line 834 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::getContents(), DQMStore::getSubdirs(), DQMStore::goUp(), AlCaRecoCosmics_cfg::name, and DQMStore::pwd().
Referenced by readNonGeomHistoTree().
|
private |
Definition at line 68 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::getContents(), DQMStore::getSubdirs(), DQMStore::goUp(), AlCaRecoCosmics_cfg::name, and DQMStore::pwd().
Referenced by readSummaryHistoTree().
void SiStripInformationExtractor::readAlarmTree | ( | DQMStore * | dqm_store, |
std::string & | str_name, | ||
xgi::Output * | out | ||
) |
Definition at line 552 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::dirExists(), printAlarmList(), and setPlainHeader().
Referenced by SiStripWebInterface::handleAnalyserRequest().
|
private |
Definition at line 44 of file SiStripInformationExtractor.cc.
References SiStripLayoutParser::getAllLayouts(), DQMParserBase::getDocument(), layoutMap, layoutParser_, and subdetVec.
Referenced by SiStripInformationExtractor().
void SiStripInformationExtractor::readGlobalHistoList | ( | DQMStore * | dqm_store, |
std::string & | dname, | ||
xgi::Output * | out | ||
) |
Definition at line 508 of file SiStripInformationExtractor.cc.
References DQMStore::dirExists(), DQMStore::getContents(), MonitorElement::getName(), and setXMLHeader().
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::readLayoutNames | ( | DQMStore * | dqm_store, |
xgi::Output * | out | ||
) |
Definition at line 420 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::dirExists(), DQMStore::getMEs(), DQMStore::getSubdirs(), layoutMap, Association::map, AlCaRecoCosmics_cfg::name, setXMLHeader(), and subdetVec.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::readModuleAndHistoList | ( | DQMStore * | dqm_store, |
std::string & | sname, | ||
const edm::ESHandle< SiStripDetCabling > & | detcabling, | ||
xgi::Output * | out | ||
) |
Definition at line 466 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::dirExists(), DQMStore::getContents(), SiStripUtility::getModuleFolderList(), MonitorElement::getName(), and setXMLHeader().
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::readNonGeomHistoTree | ( | DQMStore * | dqm_store, |
std::string & | fld_name, | ||
xgi::Output * | out | ||
) |
Definition at line 814 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::dirExists(), printNonGeomHistoList(), and setPlainHeader().
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::readQTestSummary | ( | DQMStore * | dqm_store, |
std::string | type, | ||
xgi::Output * | out | ||
) |
Definition at line 714 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::dirExists(), SiStripUtility::getBadModuleStatus(), DQMStore::getContents(), SiStripUtility::getModuleFolderList(), argparse::message, setHTMLHeader(), and subdetVec.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::readStatusMessage | ( | DQMStore * | dqm_store, |
std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 653 of file SiStripInformationExtractor.cc.
References dqm::qstatus::ERROR, DQMStore::getContents(), getItemValue(), MonitorElement::getName(), MonitorElement::getQReports(), histoPlotter_, AlCaRecoCosmics_cfg::name, dqm::qstatus::OTHER, path(), SiStripHistoPlotter::setNewPlot(), setXMLHeader(), ntuplemaker::status, dqm::qstatus::STATUS_OK, dqm::qstatus::WARNING, and tablePrinter::width.
Referenced by SiStripWebInterface::handleAnalyserRequest().
void SiStripInformationExtractor::readSummaryHistoTree | ( | DQMStore * | dqm_store, |
std::string & | str_name, | ||
xgi::Output * | out | ||
) |
Definition at line 532 of file SiStripInformationExtractor.cc.
References DQMStore::cd(), DQMStore::dirExists(), printSummaryHistoList(), and setPlainHeader().
Referenced by SiStripWebInterface::handleAnalyserRequest().
|
private |
Definition at line 607 of file SiStripInformationExtractor.cc.
References dqm::qstatus::ERROR, dqm::qstatus::OTHER, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.
Referenced by selectColor().
|
private |
Definition at line 617 of file SiStripInformationExtractor.cc.
References selectColor(), and ntuplemaker::status.
|
private |
Definition at line 630 of file SiStripInformationExtractor.cc.
References dqm::qstatus::ERROR, dqm::qstatus::OTHER, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.
Referenced by printAlarmList(), and selectImage().
|
private |
Definition at line 640 of file SiStripInformationExtractor.cc.
References selectImage(), and ntuplemaker::status.
|
private |
Definition at line 784 of file SiStripInformationExtractor.cc.
Referenced by readQTestSummary().
|
private |
Definition at line 804 of file SiStripInformationExtractor.cc.
Referenced by readAlarmTree(), readNonGeomHistoTree(), and readSummaryHistoTree().
|
private |
Definition at line 793 of file SiStripInformationExtractor.cc.
Referenced by getCondDBHistos(), getGlobalHistos(), getHistosFromPath(), getSingleModuleHistos(), getTrackerMapHistos(), readGlobalHistoList(), readLayoutNames(), readModuleAndHistoList(), and readStatusMessage().
|
private |
Definition at line 95 of file SiStripInformationExtractor.h.
Referenced by createImages(), getCondDBHistos(), getGlobalHistos(), getHistosFromPath(), getImage(), getSingleModuleHistos(), getTrackerMapHistos(), plotHistosFromLayout(), readStatusMessage(), SiStripInformationExtractor(), and ~SiStripInformationExtractor().
|
private |
Definition at line 90 of file SiStripInformationExtractor.h.
Referenced by plotHistosFromLayout(), readConfiguration(), readLayoutNames(), and SiStripInformationExtractor().
|
private |
Definition at line 88 of file SiStripInformationExtractor.h.
Referenced by readConfiguration(), SiStripInformationExtractor(), and ~SiStripInformationExtractor().
|
private |
Definition at line 92 of file SiStripInformationExtractor.h.
|
private |
Definition at line 91 of file SiStripInformationExtractor.h.
Referenced by readConfiguration(), readLayoutNames(), and readQTestSummary().