CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
SiStripHistoPlotter Class Reference

#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< PlotParametercondDBPlotList_
 
std::map< std::string,
std::string > 
namedPictureBuffer_
 
std::vector< PlotParameterplotList_
 

Detailed Description

Definition at line 17 of file SiStripHistoPlotter.h.

Constructor & Destructor Documentation

SiStripHistoPlotter::SiStripHistoPlotter ( )

Definition at line 26 of file SiStripHistoPlotter.cc.

SiStripHistoPlotter::~SiStripHistoPlotter ( )

Definition at line 33 of file SiStripHistoPlotter.cc.

Member Function Documentation

bool SiStripHistoPlotter::condDBPlotsToMake ( )
inline

Definition at line 33 of file SiStripHistoPlotter.h.

References condDBPlotList_.

33 { return ((condDBPlotList_.size() > 0) ? true : false);}
std::vector< PlotParameter > condDBPlotList_
void SiStripHistoPlotter::createCondDBPlots ( DQMStore dqm_store)

Definition at line 326 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::createDummyImage ( const std::string &  name)
private

Definition at line 205 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::createPlots ( DQMStore dqm_store)

Definition at line 56 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::createStaticPlot ( MonitorElement me,
const std::string &  file_name 
)

Definition at line 284 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::fillNamedImageBuffer ( TCanvas *  c1,
const std::string &  name 
)
private

(Documentation under construction).

This method

Definition at line 150 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::getDummyImage ( std::string &  image)
private

Definition at line 213 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::getNamedImageBuffer ( const std::string &  path,
std::string &  image 
)

Definition at line 126 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::getProjection ( MonitorElement me,
TH1F *  tp 
)
private

Definition at line 246 of file SiStripHistoPlotter.cc.

bool SiStripHistoPlotter::hasNamedImage ( const std::string &  name)
private

Definition at line 196 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::makeCondDBPlots ( DQMStore dqm_store,
const PlotParameter par 
)
private

Definition at line 340 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::makePlot ( DQMStore dqm_store,
const PlotParameter par 
)
private

Definition at line 69 of file SiStripHistoPlotter.cc.

bool SiStripHistoPlotter::plotsToMake ( )
inline

Definition at line 32 of file SiStripHistoPlotter.h.

References plotList_.

32 { return ((plotList_.size() > 0) ? true : false);}
std::vector< PlotParameter > plotList_
void SiStripHistoPlotter::setDrawingOption ( TH1 *  hist)
private

Definition at line 229 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::setNewCondDBPlot ( std::string &  path,
std::string &  option,
int  width,
int  height 
)

Definition at line 315 of file SiStripHistoPlotter.cc.

void SiStripHistoPlotter::setNewPlot ( std::string &  path,
std::string &  option,
int  width,
int  height 
)

Definition at line 43 of file SiStripHistoPlotter.cc.

Member Data Documentation

std::vector<PlotParameter> SiStripHistoPlotter::condDBPlotList_
private

Definition at line 60 of file SiStripHistoPlotter.h.

Referenced by condDBPlotsToMake().

std::map<std::string, std::string> SiStripHistoPlotter::namedPictureBuffer_
private

Definition at line 58 of file SiStripHistoPlotter.h.

std::vector<PlotParameter> SiStripHistoPlotter::plotList_
private

Definition at line 59 of file SiStripHistoPlotter.h.

Referenced by plotsToMake().