CMS 3D CMS Logo

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

◆ Plot1D() [1/2]

OffsetAnalyzerDQM::Plot1D::Plot1D ( )
inline

Definition at line 33 of file OffsetAnalyzerDQM.cc.

33 : name(""), title(""), dir(""), nxbins(0), xlow(0), xhigh(0), plot(nullptr) {}

◆ Plot1D() [2/2]

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

Definition at line 34 of file OffsetAnalyzerDQM.cc.

35  : name(n), title(t), dir(d), nxbins(nx), xlow(x0), xhigh(x1), plot(nullptr) {}

◆ ~Plot1D()

virtual OffsetAnalyzerDQM::Plot1D::~Plot1D ( )
inlinevirtual

Definition at line 48 of file OffsetAnalyzerDQM.cc.

48 {}

Member Function Documentation

◆ book()

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

◆ fill()

virtual void OffsetAnalyzerDQM::Plot1D::fill ( float  value)
inlinevirtual

Definition at line 43 of file OffsetAnalyzerDQM.cc.

43  {
44  assert(plot != nullptr);
45  plot->Fill(value);
46  }

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

Member Data Documentation

◆ dir

std::string OffsetAnalyzerDQM::Plot1D::dir

Definition at line 28 of file OffsetAnalyzerDQM.cc.

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

◆ name

std::string OffsetAnalyzerDQM::Plot1D::name

◆ nxbins

int OffsetAnalyzerDQM::Plot1D::nxbins

Definition at line 29 of file OffsetAnalyzerDQM.cc.

Referenced by book().

◆ plot

MonitorElement* OffsetAnalyzerDQM::Plot1D::plot

◆ title

std::string OffsetAnalyzerDQM::Plot1D::title

Definition at line 28 of file OffsetAnalyzerDQM.cc.

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

◆ xhigh

double OffsetAnalyzerDQM::Plot1D::xhigh

Definition at line 30 of file OffsetAnalyzerDQM.cc.

Referenced by book().

◆ xlow

double OffsetAnalyzerDQM::Plot1D::xlow

Definition at line 30 of file OffsetAnalyzerDQM.cc.

Referenced by book().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
cms::cuda::assert
assert(be >=bs)
OffsetAnalyzerDQM::Plot1D::plot
MonitorElement * plot
Definition: OffsetAnalyzerDQM.cc:31
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
OffsetAnalyzerDQM::Plot1D::xhigh
double xhigh
Definition: OffsetAnalyzerDQM.cc:30
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
OffsetAnalyzerDQM::Plot1D::dir
std::string dir
Definition: OffsetAnalyzerDQM.cc:28
OffsetAnalyzerDQM::Plot1D::nxbins
int nxbins
Definition: OffsetAnalyzerDQM.cc:29
value
Definition: value.py:1
dqm::impl::MonitorElement::setStatOverflows
virtual DQM_DEPRECATED void setStatOverflows(bool value)
Definition: MonitorElement.cc:898
OffsetAnalyzerDQM::Plot1D::title
std::string title
Definition: OffsetAnalyzerDQM.cc:28
OffsetAnalyzerDQM::Plot1D::name
std::string name
Definition: OffsetAnalyzerDQM.cc:28
ztail.d
d
Definition: ztail.py:151
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
OffsetAnalyzerDQM::Plot1D::xlow
double xlow
Definition: OffsetAnalyzerDQM.cc:30
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98