CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
OffsetAnalyzerDQM::PlotProfile Struct Reference
Inheritance diagram for OffsetAnalyzerDQM::PlotProfile:
OffsetAnalyzerDQM::Plot1D

Public Member Functions

void book (DQMStore::IBooker &booker) override
 
void fill2D (double value1, double value2)
 
 PlotProfile ()
 
 PlotProfile (const std::string &n, const std::string &t, const std::string &d, int nx, double x0, double x1, const std::vector< double > &vx, int ny, double y0, double y1)
 
- Public Member Functions inherited from OffsetAnalyzerDQM::Plot1D
virtual void fill (float value)
 
 Plot1D ()
 
 Plot1D (const std::string &n, const std::string &t, const std::string &d, int nx, double x0, double x1)
 
virtual ~Plot1D ()
 

Public Attributes

int nybins
 
std::vector< double > xbins
 
double yhigh
 
double ylow
 
- Public Attributes inherited from OffsetAnalyzerDQM::Plot1D
std::string dir
 
std::string name
 
int nxbins
 
MonitorElementplot
 
std::string title
 
double xhigh
 
double xlow
 

Detailed Description

Definition at line 51 of file OffsetAnalyzerDQM.cc.

Constructor & Destructor Documentation

◆ PlotProfile() [1/2]

OffsetAnalyzerDQM::PlotProfile::PlotProfile ( )
inline

◆ PlotProfile() [2/2]

OffsetAnalyzerDQM::PlotProfile::PlotProfile ( const std::string &  n,
const std::string &  t,
const std::string &  d,
int  nx,
double  x0,
double  x1,
const std::vector< double > &  vx,
int  ny,
double  y0,
double  y1 
)
inline

Member Function Documentation

◆ book()

void OffsetAnalyzerDQM::PlotProfile::book ( DQMStore::IBooker booker)
inlineoverridevirtual

Reimplemented from OffsetAnalyzerDQM::Plot1D.

Definition at line 68 of file OffsetAnalyzerDQM.cc.

References dqm::implementation::IBooker::bookProfile(), OffsetAnalyzerDQM::Plot1D::dir, OffsetAnalyzerDQM::Plot1D::name, nybins, OffsetAnalyzerDQM::Plot1D::plot, dqm::implementation::NavigatorBase::setCurrentFolder(), OffsetAnalyzerDQM::Plot1D::title, xbins, yhigh, and ylow.

68  {
69  booker.setCurrentFolder(dir);
70  plot = booker.bookProfile(name, title, xbins.size() - 1, &xbins[0], nybins, ylow, yhigh, " ");
71  }
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:399

◆ fill2D()

void OffsetAnalyzerDQM::PlotProfile::fill2D ( double  value1,
double  value2 
)
inline

Member Data Documentation

◆ nybins

int OffsetAnalyzerDQM::PlotProfile::nybins

Definition at line 53 of file OffsetAnalyzerDQM.cc.

Referenced by book().

◆ xbins

std::vector<double> OffsetAnalyzerDQM::PlotProfile::xbins

Definition at line 52 of file OffsetAnalyzerDQM.cc.

Referenced by book().

◆ yhigh

double OffsetAnalyzerDQM::PlotProfile::yhigh

Definition at line 54 of file OffsetAnalyzerDQM.cc.

Referenced by book().

◆ ylow

double OffsetAnalyzerDQM::PlotProfile::ylow

Definition at line 54 of file OffsetAnalyzerDQM.cc.

Referenced by book().