#include <SiStripHistoPlotter.h>
Classes | |
struct | PlotParameter |
Public Member Functions | |
bool | condDBPlotsToMake () |
void | createCondDBPlots (DQMStore *dqm_store) |
void | createPlots (DQMStore *dqm_store) |
void | createStaticPlot (MonitorElement *me, const std::string &file_name) |
void | getNamedImageBuffer (const std::string &path, std::string &image) |
bool | plotsToMake () |
void | setNewCondDBPlot (std::string &path, std::string &option, int width, int height) |
void | setNewPlot (std::string &path, std::string &option, int width, int height) |
SiStripHistoPlotter () | |
~SiStripHistoPlotter () | |
Private Member Functions | |
void | createDummyImage (const std::string &name) |
void | fillNamedImageBuffer (TCanvas *c1, const std::string &name) |
(Documentation under construction). More... | |
void | getDummyImage (std::string &image) |
void | getProjection (MonitorElement *me, TH1F *tp) |
bool | hasNamedImage (const std::string &name) |
void | makeCondDBPlots (DQMStore *dqm_store, const PlotParameter &par) |
void | makePlot (DQMStore *dqm_store, const PlotParameter &par) |
void | setDrawingOption (TH1 *hist) |
Private Attributes | |
std::vector< PlotParameter > | condDBPlotList_ |
std::map< std::string, std::string > | namedPictureBuffer_ |
std::vector< PlotParameter > | plotList_ |
Definition at line 17 of file SiStripHistoPlotter.h.
SiStripHistoPlotter::SiStripHistoPlotter | ( | ) |
Definition at line 26 of file SiStripHistoPlotter.cc.
SiStripHistoPlotter::~SiStripHistoPlotter | ( | ) |
Definition at line 33 of file SiStripHistoPlotter.cc.
References condDBPlotList_, and plotList_.
|
inline |
Definition at line 33 of file SiStripHistoPlotter.h.
References condDBPlotList_.
Referenced by SiStripInformationExtractor::createImages().
void SiStripHistoPlotter::createCondDBPlots | ( | DQMStore * | dqm_store | ) |
Definition at line 326 of file SiStripHistoPlotter.cc.
References condDBPlotList_, createDummyImage(), hasNamedImage(), makeCondDBPlots(), dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripInformationExtractor::createImages().
|
private |
Definition at line 205 of file SiStripHistoPlotter.cc.
References getDummyImage(), namedPictureBuffer_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createCondDBPlots(), createPlots(), and setNewPlot().
void SiStripHistoPlotter::createPlots | ( | DQMStore * | dqm_store | ) |
Definition at line 56 of file SiStripHistoPlotter.cc.
References createDummyImage(), hasNamedImage(), makePlot(), dataset::name, plotList_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripInformationExtractor::createImages().
void SiStripHistoPlotter::createStaticPlot | ( | MonitorElement * | me, |
const std::string & | file_name | ||
) |
Definition at line 284 of file SiStripHistoPlotter.cc.
References svgfig::canvas(), mps_check::command, cmsPerfSuiteHarvest::file_name, MonitorElement::getRefRootObject(), MonitorElement::getRefTH1(), MonitorElement::getTH1(), dataset::name, setDrawingOption(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripInformationExtractor::plotHistosFromLayout().
|
private |
(Documentation under construction).
This method
Definition at line 150 of file SiStripHistoPlotter.cc.
References gather_cfg::cout, hasNamedImage(), mps_fire::i, dataset::name, namedPictureBuffer_, and mathSSE::return().
Referenced by makeCondDBPlots(), and makePlot().
|
private |
Definition at line 213 of file SiStripHistoPlotter.cc.
References recoMuon::in, geometryCSVtoXML::line, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createDummyImage().
void SiStripHistoPlotter::getNamedImageBuffer | ( | const std::string & | path, |
std::string & | image | ||
) |
Definition at line 126 of file SiStripHistoPlotter.cc.
References gather_cfg::cout, and namedPictureBuffer_.
|
private |
Definition at line 246 of file SiStripHistoPlotter.cc.
References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::getTH1F(), MonitorElement::getTH2F(), MonitorElement::getTitle(), MonitorElement::getTProfile(), mps_fire::i, MonitorElement::kind(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makePlot().
|
private |
Definition at line 196 of file SiStripHistoPlotter.cc.
References namedPictureBuffer_.
Referenced by createCondDBPlots(), createPlots(), fillNamedImageBuffer(), and setNewPlot().
|
private |
Definition at line 340 of file SiStripHistoPlotter.cc.
References svgfig::canvas(), SiStripHistoPlotter::PlotParameter::CHeight, SiStripHistoPlotter::PlotParameter::CWidth, fillNamedImageBuffer(), DQMStore::getContents(), MonitorElement::getName(), MonitorElement::getTH1(), trackerHits::histo, TSGForRoadSearch_cfi::option, SiStripHistoPlotter::PlotParameter::Option, SiStripHistoPlotter::PlotParameter::Path, SiStripUtility::split(), AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by createCondDBPlots().
|
private |
Definition at line 69 of file SiStripHistoPlotter.cc.
References svgfig::canvas(), SiStripHistoPlotter::PlotParameter::CHeight, SiStripHistoPlotter::PlotParameter::CWidth, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, fillNamedImageBuffer(), DQMStore::get(), SiStripUtility::getMEStatus(), SiStripUtility::getMEStatusColor(), getProjection(), MonitorElement::getTH1(), trackerHits::histo, MonitorElement::kind(), dataset::name, SiStripHistoPlotter::PlotParameter::Option, SiStripHistoPlotter::PlotParameter::Path, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and groupFilesInBlocks::tt.
Referenced by createPlots().
|
inline |
Definition at line 32 of file SiStripHistoPlotter.h.
References plotList_.
Referenced by SiStripInformationExtractor::createImages().
|
private |
void SiStripHistoPlotter::setNewCondDBPlot | ( | std::string & | path, |
std::string & | option, | ||
int | width, | ||
int | height | ||
) |
Definition at line 315 of file SiStripHistoPlotter.cc.
References SiStripHistoPlotter::PlotParameter::CHeight, condDBPlotList_, SiStripHistoPlotter::PlotParameter::CWidth, TSGForRoadSearch_cfi::option, SiStripHistoPlotter::PlotParameter::Option, callgraph::path, SiStripHistoPlotter::PlotParameter::Path, and ApeEstimator_cff::width.
void SiStripHistoPlotter::setNewPlot | ( | std::string & | path, |
std::string & | option, | ||
int | width, | ||
int | height | ||
) |
Definition at line 43 of file SiStripHistoPlotter.cc.
References SiStripHistoPlotter::PlotParameter::CHeight, createDummyImage(), SiStripHistoPlotter::PlotParameter::CWidth, hasNamedImage(), dataset::name, TSGForRoadSearch_cfi::option, SiStripHistoPlotter::PlotParameter::Option, callgraph::path, SiStripHistoPlotter::PlotParameter::Path, plotList_, AlCaHLTBitMon_QueryRunRegistry::string, and ApeEstimator_cff::width.
|
private |
Definition at line 60 of file SiStripHistoPlotter.h.
Referenced by condDBPlotsToMake(), createCondDBPlots(), setNewCondDBPlot(), and ~SiStripHistoPlotter().
|
private |
Definition at line 58 of file SiStripHistoPlotter.h.
Referenced by createDummyImage(), fillNamedImageBuffer(), getNamedImageBuffer(), and hasNamedImage().
|
private |
Definition at line 59 of file SiStripHistoPlotter.h.
Referenced by createPlots(), plotsToMake(), setNewPlot(), and ~SiStripHistoPlotter().