CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
OffsetAnalyzerDQM::Plot1D Struct Reference
Inheritance diagram for OffsetAnalyzerDQM::Plot1D:
OffsetAnalyzerDQM::PlotProfile

Public Member Functions

virtual void book (DQMStore::IBooker &booker)
 
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

std::string dir
 
std::string name
 
int nxbins
 
MonitorElementplot
 
std::string title
 
double xhigh
 
double xlow
 

Detailed Description

Definition at line 27 of file OffsetAnalyzerDQM.cc.

Constructor & Destructor Documentation

OffsetAnalyzerDQM::Plot1D::Plot1D ( )
inline
OffsetAnalyzerDQM::Plot1D::Plot1D ( const std::string &  n,
const std::string &  t,
const std::string &  d,
int  nx,
double  x0,
double  x1 
)
inline
virtual OffsetAnalyzerDQM::Plot1D::~Plot1D ( )
inlinevirtual

Definition at line 48 of file OffsetAnalyzerDQM.cc.

48 {}

Member Function Documentation

virtual void OffsetAnalyzerDQM::Plot1D::book ( DQMStore::IBooker booker)
inlinevirtual

Reimplemented in OffsetAnalyzerDQM::PlotProfile.

Definition at line 37 of file OffsetAnalyzerDQM.cc.

References dqm::implementation::IBooker::book1D(), dir, name, nxbins, plot, dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::impl::MonitorElement::setStatOverflows(), title, xhigh, and xlow.

37  {
38  booker.setCurrentFolder(dir);
39  plot = booker.book1D(name, title, nxbins, xlow, xhigh);
40  plot->setStatOverflows(kTRUE);
41  }
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
virtual DQM_DEPRECATED void setStatOverflows(bool value)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
virtual void OffsetAnalyzerDQM::Plot1D::fill ( float  value)
inlinevirtual

Definition at line 43 of file OffsetAnalyzerDQM.cc.

References cms::cuda::assert(), dqm::impl::MonitorElement::Fill(), and plot.

43  {
44  assert(plot != nullptr);
45  plot->Fill(value);
46  }
assert(be >=bs)
void Fill(long long x)

Member Data Documentation

std::string OffsetAnalyzerDQM::Plot1D::dir

Definition at line 28 of file OffsetAnalyzerDQM.cc.

Referenced by book(), and OffsetAnalyzerDQM::PlotProfile::book().

std::string OffsetAnalyzerDQM::Plot1D::name
int OffsetAnalyzerDQM::Plot1D::nxbins

Definition at line 29 of file OffsetAnalyzerDQM.cc.

Referenced by book().

MonitorElement* OffsetAnalyzerDQM::Plot1D::plot
std::string OffsetAnalyzerDQM::Plot1D::title

Definition at line 28 of file OffsetAnalyzerDQM.cc.

Referenced by book(), and OffsetAnalyzerDQM::PlotProfile::book().

double OffsetAnalyzerDQM::Plot1D::xhigh

Definition at line 30 of file OffsetAnalyzerDQM.cc.

Referenced by book().

double OffsetAnalyzerDQM::Plot1D::xlow

Definition at line 30 of file OffsetAnalyzerDQM.cc.

Referenced by book().