CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
hcaldqm::ContainerSingle1D Class Reference

#include <ContainerSingle1D.h>

Inheritance diagram for hcaldqm::ContainerSingle1D:
hcaldqm::Container hcaldqm::ContainerSingleProf1D

Public Member Functions

virtual void book (DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
 
 ContainerSingle1D ()
 
 ContainerSingle1D (std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN))
 
 ContainerSingle1D (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN))
 
 ContainerSingle1D (ContainerSingle1D const &)
 
virtual void extendAxisRange (int)
 
virtual void fill (int)
 
virtual void fill (double)
 
virtual void fill (int, int)
 
virtual void fill (int, double)
 
virtual void fill (double, int)
 
virtual void fill (double, double)
 
virtual void fill (HcalDetId const &)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual double getBinContent (int)
 
virtual double getBinContent (double)
 
virtual double getBinContent (HcalDetId const &)
 
virtual double getBinContent (HcalElectronicsId const &)
 
virtual double getBinContent (HcalTrigTowerDetId const &)
 
virtual double getBinEntries (int)
 
virtual double getBinEntries (double)
 
virtual double getBinEntries (HcalDetId const &)
 
virtual double getBinEntries (HcalElectronicsId const &)
 
virtual double getBinEntries (HcalTrigTowerDetId const &)
 
virtual void initialize (std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void print ()
 
virtual void reset ()
 
virtual void setBinContent (int, int)
 
virtual void setBinContent (int, double)
 
virtual void setBinContent (double, int)
 
virtual void setBinContent (double, double)
 
virtual void setBinContent (HcalDetId const &, int)
 
virtual void setBinContent (HcalDetId const &, double)
 
virtual void setBinContent (HcalElectronicsId const &, int)
 
virtual void setBinContent (HcalElectronicsId const &, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double)
 
virtual void showOverflowX (bool showOverflow)
 
virtual void showOverflowY (bool showOverflow)
 
 ~ContainerSingle1D () override
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &qname)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual ~Container ()
 

Protected Member Functions

virtual void customize ()
 

Protected Attributes

MonitorElement_me
 
quantity::Quantity_qx
 
quantity::Quantity_qy
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Additional Inherited Members

- Public Types inherited from hcaldqm::Container
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Detailed Description

Definition at line 19 of file ContainerSingle1D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingle1D::ContainerSingle1D ( )

Definition at line 6 of file ContainerSingle1D.cc.

6  {
7  _qx = nullptr;
8  _qy = nullptr;
9  }
quantity::Quantity * _qx
quantity::Quantity * _qy
hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingle1D::ContainerSingle1D ( ContainerSingle1D const &  c)

Definition at line 11 of file ContainerSingle1D.cc.

References _qx, _qy, and hcaldqm::quantity::Quantity::makeCopy().

11  : Container(c._folder, c._qname) {
12  _qx = c._qx->makeCopy();
13  _qy = c._qy->makeCopy();
14  }
quantity::Quantity * _qx
quantity::Quantity * _qy
hcaldqm::ContainerSingle1D::~ContainerSingle1D ( )
override

Definition at line 28 of file ContainerSingle1D.cc.

References _qx, and _qy.

28  {
29  if (_qx != nullptr)
30  delete _qx;
31  if (_qy != nullptr)
32  delete _qy;
33  _qx = nullptr;
34  _qy = nullptr;
35  }
quantity::Quantity * _qx
quantity::Quantity * _qy

Member Function Documentation

void hcaldqm::ContainerSingle1D::book ( DQMStore::IBooker ib,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf1D.

Definition at line 57 of file ContainerSingle1D.cc.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, _qx, printConversionInfo::aux, dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), customize(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().

Referenced by QIE10Task::bookHistograms(), TPTask::bookHistograms(), QIE11Task::bookHistograms(), and LaserTask::bookHistograms().

57  {
58  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname);
59  _me = ib.book1D(_qname + (aux.empty() ? aux : "_" + aux),
60  _qname + (aux.empty() ? aux : " " + aux),
61  _qx->nbins(),
62  _qx->min(),
63  _qx->max());
64  customize();
65  }
quantity::Quantity * _qx
virtual double max()
Definition: Quantity.h:60
std::string _folder
Definition: Container.h:37
virtual double min()
Definition: Quantity.h:59
std::string _qname
Definition: Container.h:38
ib
Definition: cuy.py:662
void hcaldqm::ContainerSingle1D::customize ( )
protectedvirtual

Definition at line 67 of file ContainerSingle1D.cc.

References _me, _qx, _qy, hcaldqm::quantity::Quantity::getLabels(), dqm::legacy::MonitorElement::getTH1(), h, mps_fire::i, hcaldqm::quantity::Quantity::name(), dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), and hcaldqm::quantity::Quantity::setBits().

Referenced by hcaldqm::ContainerSingleProf1D::book(), and book().

67  {
68  _me->setAxisTitle(_qx->name(), 1);
69  _me->setAxisTitle(_qy->name(), 2);
70 
71  TH1 *h = _me->getTH1();
72  _qx->setBits(h);
73  _qy->setBits(h);
74 
75  std::vector<std::string> xlabels = _qx->getLabels();
76  for (unsigned int i = 0; i < xlabels.size(); i++)
77  _me->setBinLabel(i + 1, xlabels[i], 1);
78  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
virtual std::string name()
Definition: Quantity.h:34
quantity::Quantity * _qx
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
quantity::Quantity * _qy
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
virtual TH1 * getTH1() const
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void hcaldqm::ContainerSingle1D::extendAxisRange ( int  l)
virtual

Definition at line 191 of file ContainerSingle1D.cc.

References _me, _qx, dqm::legacy::MonitorElement::getTH1(), LaserClient_cfi::nbins, hcaldqm::quantity::Quantity::nbins(), and hcaldqm::quantity::Quantity::setMax().

Referenced by print().

191  {
192  if (l < _qx->nbins())
193  return;
194 
195  int x = _qx->nbins();
196  while (l >= x) {
197  _me->getTH1()->LabelsInflate();
198  x *= 2;
199  _qx->setMax(x);
200  }
201  }
quantity::Quantity * _qx
virtual void setMax(double)
Definition: Quantity.h:64
virtual TH1 * getTH1() const
void hcaldqm::ContainerSingle1D::fill ( int  x)
virtual
void hcaldqm::ContainerSingle1D::fill ( double  x)
virtual

Definition at line 82 of file ContainerSingle1D.cc.

References _me, _qx, dqm::impl::MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

82 { _me->Fill(_qx->getValue(x)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
void hcaldqm::ContainerSingle1D::fill ( int  x,
int  y 
)
virtual
void hcaldqm::ContainerSingle1D::fill ( int  x,
double  y 
)
virtual
void hcaldqm::ContainerSingle1D::fill ( double  x,
int  y 
)
virtual
void hcaldqm::ContainerSingle1D::fill ( double  x,
double  y 
)
virtual
void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id)
virtual

Definition at line 101 of file ContainerSingle1D.cc.

References _me, _qx, dqm::impl::MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

101 { _me->Fill(_qx->getValue(id)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 103 of file ContainerSingle1D.cc.

References _me, _qx, _qy, dqm::impl::MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

103  {
104  if (_qx->isCoordinate())
105  _me->Fill(_qx->getValue(id), _qy->getValue(x));
106  else
107  _me->Fill(_qx->getValue(x));
108  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 110 of file ContainerSingle1D.cc.

References _me, _qx, _qy, dqm::impl::MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

110  {
111  if (_qx->isCoordinate())
112  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
113  else
114  _me->Fill(_qy->getValue(x), _qy->getValue(y));
115  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id)
virtual

Definition at line 131 of file ContainerSingle1D.cc.

References _me, _qx, dqm::impl::MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

131 { _me->Fill(_qx->getValue(id)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 133 of file ContainerSingle1D.cc.

References _me, _qx, _qy, dqm::impl::MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

133  {
134  if (_qx->isCoordinate())
135  _me->Fill(_qx->getValue(id), _qy->getValue(x));
136  else
137  _me->Fill(_qx->getValue(x));
138  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Definition at line 140 of file ContainerSingle1D.cc.

References _me, _qx, _qy, dqm::impl::MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

140  {
141  if (_qx->isCoordinate())
142  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
143  else
144  _me->Fill(_qy->getValue(x), _qy->getValue(y));
145  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 161 of file ContainerSingle1D.cc.

References _me, _qx, dqm::impl::MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

161 { _me->Fill(_qx->getValue(id)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 163 of file ContainerSingle1D.cc.

References _me, _qx, _qy, dqm::impl::MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

163  {
164  if (_qx->isCoordinate())
165  _me->Fill(_qx->getValue(id), _qy->getValue(x));
166  else
167  _me->Fill(_qx->getValue(x));
168  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 170 of file ContainerSingle1D.cc.

References _me, _qx, _qy, dqm::impl::MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

170  {
171  if (_qx->isCoordinate())
172  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
173  else
174  _me->Fill(_qy->getValue(x), _qy->getValue(y));
175  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
double hcaldqm::ContainerSingle1D::getBinContent ( int  x)
virtual

Definition at line 92 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinContent().

92 { return _me->getBinContent(_qx->getBin(x)); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( double  x)
virtual

Definition at line 93 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinContent().

93 { return _me->getBinContent(_qx->getBin(x)); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( HcalDetId const &  id)
virtual

Definition at line 117 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinContent().

117  {
118  return _me->getBinContent(_qx->getBin(id));
119  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( HcalElectronicsId const &  id)
virtual

Definition at line 147 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinContent().

147  {
148  return _me->getBinContent(_qx->getBin(id));
149  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 177 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinContent().

177  {
178  return _me->getBinContent(_qx->getBin(id));
179  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinEntries ( int  x)
virtual

Definition at line 94 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinEntries().

94 { return _me->getBinEntries(_qx->getBin(x)); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( double  x)
virtual

Definition at line 95 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinEntries().

95 { return _me->getBinEntries(_qx->getBin(x)); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( HcalDetId const &  id)
virtual

Definition at line 120 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinEntries().

120  {
121  return _me->getBinEntries(_qx->getBin(id));
122  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Definition at line 150 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinEntries().

150  {
151  return _me->getBinEntries(_qx->getBin(id));
152  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 180 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::getBinEntries().

180  {
181  return _me->getBinEntries(_qx->getBin(id));
182  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
void hcaldqm::ContainerSingle1D::initialize ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual
void hcaldqm::ContainerSingle1D::initialize ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf1D.

Definition at line 48 of file ContainerSingle1D.cc.

References _qx, _qy, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::Container::initialize(), and hcaldqm::quantity::Quantity::setAxisType().

49  {
51  _qx = qx;
52  _qy = qy;
55  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:30
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
quantity::Quantity * _qy
#define debug
Definition: HDRShower.cc:19
virtual void hcaldqm::ContainerSingle1D::print ( void  )
inlinevirtual
virtual void hcaldqm::ContainerSingle1D::reset ( void  )
inlinevirtual

Definition at line 93 of file ContainerSingle1D.h.

References _me, and dqm::impl::MonitorElement::Reset().

93 { _me->Reset(); }
virtual void Reset()
reset ME (ie. contents, errors, etc)
void hcaldqm::ContainerSingle1D::setBinContent ( int  x,
int  y 
)
virtual

Definition at line 96 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

96 { _me->setBinContent(_qx->getBin(x), y); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( int  x,
double  y 
)
virtual

Definition at line 97 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

97 { _me->setBinContent(_qx->getBin(x), y); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( double  x,
int  y 
)
virtual

Definition at line 98 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

98 { _me->setBinContent(_qx->getBin(x), y); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( double  x,
double  y 
)
virtual

Definition at line 99 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

99 { _me->setBinContent(_qx->getBin(x), y); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 124 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

124  {
125  _me->setBinContent(_qx->getBin(id), x);
126  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 127 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

127  {
128  _me->setBinContent(_qx->getBin(id), x);
129  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 154 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

154  {
155  _me->setBinContent(_qx->getBin(id), x);
156  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 157 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

157  {
158  _me->setBinContent(_qx->getBin(id), x);
159  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 184 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

184  {
185  _me->setBinContent(_qx->getBin(id), x);
186  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 187 of file ContainerSingle1D.cc.

References _me, _qx, hcaldqm::quantity::Quantity::getBin(), and dqm::impl::MonitorElement::setBinContent().

187  {
188  _me->setBinContent(_qx->getBin(id), x);
189  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void hcaldqm::ContainerSingle1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 203 of file ContainerSingle1D.cc.

References _qx, and hcaldqm::quantity::Quantity::showOverflow().

Referenced by LaserTask::bookHistograms(), and print().

203 { _qx->showOverflow(showOverflow); }
quantity::Quantity * _qx
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68
void hcaldqm::ContainerSingle1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 205 of file ContainerSingle1D.cc.

References _qy, and hcaldqm::quantity::Quantity::showOverflow().

Referenced by print().

205 { _qy->showOverflow(showOverflow); }
quantity::Quantity * _qy
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68

Member Data Documentation

MonitorElement* hcaldqm::ContainerSingle1D::_me
protected
quantity::Quantity* hcaldqm::ContainerSingle1D::_qx
protected
quantity::Quantity* hcaldqm::ContainerSingle1D::_qy
protected