#include <SiStripHistoPlotter.h>
Classes | |
struct | PlotParameter |
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Member Functions | |
bool | condDBPlotsToMake () |
void | createCondDBPlots (DQMStore *dqm_store) |
void | createPlots (DQMStore *dqm_store) |
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 15 of file SiStripHistoPlotter.h.
Definition at line 18 of file SiStripHistoPlotter.h.
Definition at line 17 of file SiStripHistoPlotter.h.
SiStripHistoPlotter::SiStripHistoPlotter | ( | ) |
Definition at line 25 of file SiStripHistoPlotter.cc.
SiStripHistoPlotter::~SiStripHistoPlotter | ( | ) |
Definition at line 32 of file SiStripHistoPlotter.cc.
|
inline |
void SiStripHistoPlotter::createCondDBPlots | ( | DQMStore * | dqm_store | ) |
Definition at line 285 of file SiStripHistoPlotter.cc.
References condDBPlotList_, createDummyImage(), hasNamedImage(), makeCondDBPlots(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 199 of file SiStripHistoPlotter.cc.
References getDummyImage(), Skims_PA_cff::name, namedPictureBuffer_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createCondDBPlots(), createPlots(), and setNewPlot().
void SiStripHistoPlotter::createPlots | ( | DQMStore * | dqm_store | ) |
Definition at line 52 of file SiStripHistoPlotter.cc.
References createDummyImage(), hasNamedImage(), makePlot(), Skims_PA_cff::name, plotList_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
(Documentation under construction).
This method
Definition at line 145 of file SiStripHistoPlotter.cc.
References visDQMUpload::buf, alignmentValidation::c1, gather_cfg::cout, hasNamedImage(), mps_fire::i, Skims_PA_cff::name, and namedPictureBuffer_.
Referenced by makeCondDBPlots(), and makePlot().
|
private |
Definition at line 207 of file SiStripHistoPlotter.cc.
References contentValuesFiles::fullPath, 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 122 of file SiStripHistoPlotter.cc.
References gather_cfg::cout, namedPictureBuffer_, and castor_dqm_sourceclient_file_cfg::path.
|
private |
Definition at line 240 of file SiStripHistoPlotter.cc.
References mps_fire::i, dqmiolumiharvest::j, hlt_dqm_clientPB-live_cfg::me, AlCaHLTBitMon_QueryRunRegistry::string, MonitorElementData::TH1F, MonitorElementData::TH2F, cmsswSequenceInfo::tp, and MonitorElementData::TPROFILE.
Referenced by makePlot().
|
private |
Definition at line 189 of file SiStripHistoPlotter.cc.
References Skims_PA_cff::name, and namedPictureBuffer_.
Referenced by createCondDBPlots(), createPlots(), fillNamedImageBuffer(), and setNewPlot().
|
private |
Definition at line 300 of file SiStripHistoPlotter.cc.
References svgfig::canvas(), SiStripHistoPlotter::PlotParameter::CHeight, SiStripHistoPlotter::PlotParameter::CWidth, fillNamedImageBuffer(), dqm::implementation::IGetter::getContents(), timingPdfMaker::histo, hlt_dqm_clientPB-live_cfg::me, SiStripHistoPlotter::PlotParameter::Option, fileinputsource_cfi::option, SiStripHistoPlotter::PlotParameter::Path, SiStripUtility::split(), AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
Referenced by createCondDBPlots().
|
private |
Definition at line 66 of file SiStripHistoPlotter.cc.
References svgfig::canvas(), SiStripHistoPlotter::PlotParameter::CHeight, SiStripHistoPlotter::PlotParameter::CWidth, fillNamedImageBuffer(), dqm::implementation::IGetter::get(), SiStripUtility::getMEStatus(), SiStripUtility::getMEStatusColor(), getProjection(), timingPdfMaker::histo, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, SiStripHistoPlotter::PlotParameter::Option, SiStripHistoPlotter::PlotParameter::Path, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, MonitorElementData::TH1F, MonitorElementData::TH2F, MonitorElementData::TPROFILE, MonitorElementData::TPROFILE2D, and groupFilesInBlocks::tt.
Referenced by createPlots().
|
inline |
|
private |
void SiStripHistoPlotter::setNewCondDBPlot | ( | std::string const & | path, |
std::string const & | option, | ||
int | width, | ||
int | height | ||
) |
Definition at line 275 of file SiStripHistoPlotter.cc.
References condDBPlotList_, eostools::move(), fileinputsource_cfi::option, castor_dqm_sourceclient_file_cfg::path, and ApeEstimator_cff::width.
void SiStripHistoPlotter::setNewPlot | ( | std::string const & | path, |
std::string const & | option, | ||
int | width, | ||
int | height | ||
) |
Definition at line 39 of file SiStripHistoPlotter.cc.
References createDummyImage(), hasNamedImage(), eostools::move(), Skims_PA_cff::name, fileinputsource_cfi::option, castor_dqm_sourceclient_file_cfg::path, plotList_, AlCaHLTBitMon_QueryRunRegistry::string, and ApeEstimator_cff::width.
|
private |
Definition at line 51 of file SiStripHistoPlotter.h.
Referenced by condDBPlotsToMake(), createCondDBPlots(), and setNewCondDBPlot().
|
private |
Definition at line 49 of file SiStripHistoPlotter.h.
Referenced by createDummyImage(), fillNamedImageBuffer(), getNamedImageBuffer(), and hasNamedImage().
|
private |
Definition at line 50 of file SiStripHistoPlotter.h.
Referenced by createPlots(), plotsToMake(), and setNewPlot().