#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 const &path, std::string const &option, int width, int height) |
void | setNewPlot (std::string const &path, std::string const &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 const *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.
|
inline |
Definition at line 41 of file SiStripHistoPlotter.h.
References condDBPlotList_.
void SiStripHistoPlotter::createCondDBPlots | ( | DQMStore * | dqm_store | ) |
Definition at line 334 of file SiStripHistoPlotter.cc.
References condDBPlotList_, createDummyImage(), hasNamedImage(), makeCondDBPlots(), dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 206 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 54 of file SiStripHistoPlotter.cc.
References createDummyImage(), hasNamedImage(), makePlot(), dataset::name, plotList_, and AlCaHLTBitMon_QueryRunRegistry::string.
void SiStripHistoPlotter::createStaticPlot | ( | MonitorElement * | me, |
const std::string & | file_name | ||
) |
Definition at line 288 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.
|
private |
(Documentation under construction).
This method
Definition at line 153 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 214 of file SiStripHistoPlotter.cc.
References recoMuon::in, mps_splice::line, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createDummyImage().
void SiStripHistoPlotter::getNamedImageBuffer | ( | const std::string & | path, |
std::string & | image | ||
) |
Definition at line 129 of file SiStripHistoPlotter.cc.
References gather_cfg::cout, and namedPictureBuffer_.
|
private |
Definition at line 247 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 197 of file SiStripHistoPlotter.cc.
References namedPictureBuffer_.
Referenced by createCondDBPlots(), createPlots(), fillNamedImageBuffer(), and setNewPlot().
|
private |
Definition at line 350 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 67 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 36 of file SiStripHistoPlotter.h.
References plotList_.
|
private |
void SiStripHistoPlotter::setNewCondDBPlot | ( | std::string const & | path, |
std::string const & | option, | ||
int | width, | ||
int | height | ||
) |
Definition at line 322 of file SiStripHistoPlotter.cc.
References condDBPlotList_, eostools::move(), TSGForRoadSearch_cfi::option, callgraph::path, and ApeEstimator_cff::width.
void SiStripHistoPlotter::setNewPlot | ( | std::string const & | path, |
std::string const & | option, | ||
int | width, | ||
int | height | ||
) |
Definition at line 41 of file SiStripHistoPlotter.cc.
References createDummyImage(), hasNamedImage(), eostools::move(), dataset::name, TSGForRoadSearch_cfi::option, callgraph::path, plotList_, AlCaHLTBitMon_QueryRunRegistry::string, and ApeEstimator_cff::width.
|
private |
Definition at line 66 of file SiStripHistoPlotter.h.
Referenced by condDBPlotsToMake(), createCondDBPlots(), and setNewCondDBPlot().
|
private |
Definition at line 64 of file SiStripHistoPlotter.h.
Referenced by createDummyImage(), fillNamedImageBuffer(), getNamedImageBuffer(), and hasNamedImage().
|
private |
Definition at line 65 of file SiStripHistoPlotter.h.
Referenced by createPlots(), plotsToMake(), and setNewPlot().