CMS 3D CMS Logo

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

#include <ContainerSingle2D.h>

Inheritance diagram for hcaldqm::ContainerSingle2D:
hcaldqm::Container hcaldqm::ContainerSingleProf2D

Public Member Functions

virtual void book (DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
 
 ContainerSingle2D ()
 
 ContainerSingle2D (std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN))
 
 ContainerSingle2D (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
 ContainerSingle2D (ContainerSingle2D const &)
 
virtual void extendAxisRange (int)
 
virtual void fill (int, int)
 
virtual void fill (int, double)
 
virtual void fill (int, double, double)
 
virtual void fill (int, int, int)
 
virtual void fill (int, int, double)
 
virtual void fill (double, int)
 
virtual void fill (double, double)
 
virtual void fill (double, double, double)
 
virtual void fill (HcalDetId const &)
 
virtual void fill (HcalDetId const &, int)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, int, int)
 
virtual void fill (HcalDetId const &, int, double)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalElectronicsId const &, int)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, int, int)
 
virtual void fill (HcalElectronicsId const &, int, double)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalDetId const &, HcalElectronicsId const &)
 
virtual void fill (HcalDetId const &, HcalElectronicsId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalTrigTowerDetId const &, int)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, int, int)
 
virtual void fill (HcalTrigTowerDetId const &, int, double)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual double getBinContent (int, int)
 
virtual double getBinContent (int, double)
 
virtual double getBinContent (double, int)
 
virtual double getBinContent (double, double)
 
virtual double getBinContent (HcalDetId const &)
 
virtual double getBinContent (HcalDetId const &, int)
 
virtual double getBinContent (HcalDetId const &, double)
 
virtual double getBinContent (HcalElectronicsId const &)
 
virtual double getBinContent (HcalElectronicsId const &, int)
 
virtual double getBinContent (HcalElectronicsId const &, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &)
 
virtual double getBinContent (HcalTrigTowerDetId const &, int)
 
virtual double getBinContent (HcalTrigTowerDetId const &, double)
 
virtual double getBinEntries (int, int)
 
virtual double getBinEntries (int, double)
 
virtual double getBinEntries (double, int)
 
virtual double getBinEntries (double, double)
 
virtual double getBinEntries (HcalDetId const &)
 
virtual double getBinEntries (HcalDetId const &, int)
 
virtual double getBinEntries (HcalDetId const &, double)
 
virtual double getBinEntries (HcalElectronicsId const &)
 
virtual double getBinEntries (HcalElectronicsId const &, int)
 
virtual double getBinEntries (HcalElectronicsId const &, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &)
 
virtual double getBinEntries (HcalTrigTowerDetId const &, int)
 
virtual double getBinEntries (HcalTrigTowerDetId const &, double)
 
virtual void initialize (std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual void load (DQMStore::IGetter &, std::string subsystem="Hcal", std::string aux="")
 
virtual void print ()
 
virtual void reset ()
 
virtual void setBinContent (int, int, int)
 
virtual void setBinContent (int, double, int)
 
virtual void setBinContent (double, int, int)
 
virtual void setBinContent (double, double, int)
 
virtual void setBinContent (int, int, double)
 
virtual void setBinContent (int, double, double)
 
virtual void setBinContent (double, int, double)
 
virtual void setBinContent (double, double, double)
 
virtual void setBinContent (HcalDetId const &, int)
 
virtual void setBinContent (HcalDetId const &, double)
 
virtual void setBinContent (HcalDetId const &, int, int)
 
virtual void setBinContent (HcalDetId const &, int, double)
 
virtual void setBinContent (HcalDetId const &, double, int)
 
virtual void setBinContent (HcalDetId const &, double, double)
 
virtual void setBinContent (HcalElectronicsId const &, int)
 
virtual void setBinContent (HcalElectronicsId const &, double)
 
virtual void setBinContent (HcalElectronicsId const &, int, int)
 
virtual void setBinContent (HcalElectronicsId const &, int, double)
 
virtual void setBinContent (HcalElectronicsId const &, double, int)
 
virtual void setBinContent (HcalElectronicsId const &, double, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double, double)
 
void showOverflowZ (bool showOverflow)
 
 ~ContainerSingle2D () 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
 
quantity::Quantity_qz
 
- 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 20 of file ContainerSingle2D.h.

Constructor & Destructor Documentation

◆ ContainerSingle2D() [1/4]

hcaldqm::ContainerSingle2D::ContainerSingle2D ( )

Definition at line 7 of file ContainerSingle2D.cc.

7  {
8  _qx = nullptr;
9  _qy = nullptr;
10  _qz = nullptr;
11  }
quantity::Quantity * _qx
quantity::Quantity * _qy
quantity::Quantity * _qz

◆ ContainerSingle2D() [2/4]

hcaldqm::ContainerSingle2D::ContainerSingle2D ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN) 
)

◆ ContainerSingle2D() [3/4]

hcaldqm::ContainerSingle2D::ContainerSingle2D ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)

◆ ContainerSingle2D() [4/4]

hcaldqm::ContainerSingle2D::ContainerSingle2D ( ContainerSingle2D const &  c)

Definition at line 28 of file ContainerSingle2D.cc.

References _qx, _qy, _qz, and HltBtagPostValidation_cff::c.

28  : Container(c._folder, c._qname) {
29  _qx = c._qx->makeCopy();
30  _qy = c._qy->makeCopy();
31  _qz = c._qz->makeCopy();
32  }
quantity::Quantity * _qx
quantity::Quantity * _qy
quantity::Quantity * _qz

◆ ~ContainerSingle2D()

hcaldqm::ContainerSingle2D::~ContainerSingle2D ( )
override

Definition at line 34 of file ContainerSingle2D.cc.

References _qx, _qy, and _qz.

34  {
35  if (_qx != nullptr)
36  delete _qx;
37  if (_qy != nullptr)
38  delete _qy;
39  if (_qz != nullptr)
40  delete _qz;
41  _qx = nullptr;
42  _qy = nullptr;
43  _qz = nullptr;
44  }
quantity::Quantity * _qx
quantity::Quantity * _qy
quantity::Quantity * _qz

Member Function Documentation

◆ book()

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 68 of file ContainerSingle2D.cc.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, _qx, _qy, printConversionInfo::aux, customize(), cuy::ib, hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DigiTask_cfi::subsystem.

Referenced by PedestalTask::bookHistograms(), LEDTask::bookHistograms(), TPTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), and hcaldqm::DigiRunSummary::endJob().

68  {
69  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname);
70  _me = ib.book2D(_qname + (aux.empty() ? aux : "_" + aux),
71  _qname + (aux.empty() ? aux : " " + aux),
72  _qx->nbins(),
73  _qx->min(),
74  _qx->max(),
75  _qy->nbins(),
76  _qy->min(),
77  _qy->max());
78  customize();
79  }
virtual double max()
Definition: Quantity.h:60
quantity::Quantity * _qx
quantity::Quantity * _qy
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:661

◆ customize()

void hcaldqm::ContainerSingle2D::customize ( )
protectedvirtual

Definition at line 85 of file ContainerSingle2D.cc.

References _me, _qx, _qy, _qz, 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::ContainerSingleProf2D::book(), and book().

85  {
86  _me->setAxisTitle(_qx->name(), 1);
87  _me->setAxisTitle(_qy->name(), 2);
88  _me->setAxisTitle(_qz->name(), 3);
89 
90  TH1 *h = _me->getTH1();
91  _qx->setBits(h);
92  _qy->setBits(h);
93  _qz->setBits(h);
94 
95  std::vector<std::string> xlabels = _qx->getLabels();
96  std::vector<std::string> ylabels = _qy->getLabels();
97  for (unsigned int i = 0; i < xlabels.size(); i++) {
98  _me->setBinLabel(i + 1, xlabels[i], 1);
99  }
100  for (unsigned int i = 0; i < ylabels.size(); i++) {
101  _me->setBinLabel(i + 1, ylabels[i], 2);
102  }
103  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
virtual std::string name()
Definition: Quantity.h:34
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
quantity::Quantity * _qx
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
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
quantity::Quantity * _qz
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

◆ extendAxisRange()

void hcaldqm::ContainerSingle2D::extendAxisRange ( int  l)
virtual

Definition at line 524 of file ContainerSingle2D.cc.

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

524  {
525  if (l < _qx->nbins())
526  return;
527 
528  int x = _qx->nbins();
529  while (l >= x) {
530  _me->getTH1()->LabelsInflate();
531  x *= 2;
532  _qx->setMax(x);
533  }
534  }
virtual void setMax(double)
Definition: Quantity.h:64
quantity::Quantity * _qx
virtual TH1 * getTH1() const

◆ fill() [1/28]

void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y 
)
virtual

◆ fill() [2/28]

void hcaldqm::ContainerSingle2D::fill ( int  x,
double  y 
)
virtual

◆ fill() [3/28]

void hcaldqm::ContainerSingle2D::fill ( int  x,
double  y,
double  z 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 109 of file ContainerSingle2D.cc.

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

109  {
110  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
111  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [4/28]

void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y,
int  z 
)
virtual

◆ fill() [5/28]

void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y,
double  z 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 121 of file ContainerSingle2D.cc.

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

121  {
122  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
123  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [6/28]

void hcaldqm::ContainerSingle2D::fill ( double  x,
int  y 
)
virtual

◆ fill() [7/28]

void hcaldqm::ContainerSingle2D::fill ( double  x,
double  y 
)
virtual

◆ fill() [8/28]

void hcaldqm::ContainerSingle2D::fill ( double  x,
double  y,
double  z 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 117 of file ContainerSingle2D.cc.

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

117  {
118  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
119  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [9/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 127 of file ContainerSingle2D.cc.

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

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

◆ fill() [10/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 188 of file ContainerSingle2D.cc.

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

188  {
189  if (_qx->isCoordinate() && _qy->isCoordinate())
190  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
191  else if (_qx->isCoordinate())
192  _me->Fill(_qx->getValue(id), _qy->getValue(x));
193  else if (_qy->isCoordinate())
194  _me->Fill(_qx->getValue(x), _qy->getValue(id));
195  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [11/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 179 of file ContainerSingle2D.cc.

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

179  {
180  if (_qx->isCoordinate() && _qy->isCoordinate())
181  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
182  else if (_qx->isCoordinate())
183  _me->Fill(_qx->getValue(id), _qy->getValue(x));
184  else if (_qy->isCoordinate())
185  _me->Fill(_qx->getValue(x), _qy->getValue(id));
186  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [12/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 206 of file ContainerSingle2D.cc.

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

206  {
207  if (_qx->isCoordinate() && _qy->isCoordinate())
208  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
209  else if (_qx->isCoordinate() && !_qy->isCoordinate())
210  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
211  else if (!_qx->isCoordinate() && _qy->isCoordinate())
212  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
213  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [13/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 215 of file ContainerSingle2D.cc.

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

215  {
216  if (_qx->isCoordinate() && _qy->isCoordinate())
217  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
218  else if (_qx->isCoordinate() && !_qy->isCoordinate())
219  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
220  else if (!_qx->isCoordinate() && _qy->isCoordinate())
221  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
222  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [14/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 197 of file ContainerSingle2D.cc.

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

197  {
198  if (_qx->isCoordinate() && _qy->isCoordinate())
199  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
200  else if (_qx->isCoordinate() && !_qy->isCoordinate())
201  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
202  else if (!_qx->isCoordinate() && _qy->isCoordinate())
203  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
204  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [15/28]

void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 287 of file ContainerSingle2D.cc.

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

287  {
288  _me->Fill(_qx->getValue(id), _qy->getValue(id));
289  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [16/28]

void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 300 of file ContainerSingle2D.cc.

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

300  {
301  if (_qx->isCoordinate() && _qy->isCoordinate())
302  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
303  else if (_qx->isCoordinate())
304  _me->Fill(_qx->getValue(id), _qy->getValue(x));
305  else if (_qy->isCoordinate())
306  _me->Fill(_qx->getValue(x), _qy->getValue(id));
307  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [17/28]

void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 291 of file ContainerSingle2D.cc.

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

291  {
292  if (_qx->isCoordinate() && _qy->isCoordinate())
293  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
294  else if (_qx->isCoordinate())
295  _me->Fill(_qx->getValue(id), _qy->getValue(x));
296  else if (_qy->isCoordinate())
297  _me->Fill(_qx->getValue(x), _qy->getValue(id));
298  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [18/28]

void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 318 of file ContainerSingle2D.cc.

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

318  {
319  if (_qx->isCoordinate() && _qy->isCoordinate())
320  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
321  else if (_qx->isCoordinate() && !_qy->isCoordinate())
322  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
323  else if (!_qx->isCoordinate() && _qy->isCoordinate())
324  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
325  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [19/28]

void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 327 of file ContainerSingle2D.cc.

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

327  {
328  if (_qx->isCoordinate() && _qy->isCoordinate())
329  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
330  else if (_qx->isCoordinate() && !_qy->isCoordinate())
331  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
332  else if (!_qx->isCoordinate() && _qy->isCoordinate())
333  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
334  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [20/28]

void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 309 of file ContainerSingle2D.cc.

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

309  {
310  if (_qx->isCoordinate() && _qy->isCoordinate())
311  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
312  else if (_qx->isCoordinate() && !_qy->isCoordinate())
313  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
314  else if (!_qx->isCoordinate() && _qy->isCoordinate())
315  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
316  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [21/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  did,
HcalElectronicsId const &  eid 
)
virtual

◆ fill() [22/28]

void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  did,
HcalElectronicsId const &  eid,
double  x 
)
virtual

◆ fill() [23/28]

void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 399 of file ContainerSingle2D.cc.

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

399  {
400  _me->Fill(_qx->getValue(id), _qy->getValue(id));
401  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [24/28]

void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 412 of file ContainerSingle2D.cc.

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

412  {
413  if (_qx->isCoordinate() && _qy->isCoordinate())
414  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
415  else if (_qx->isCoordinate())
416  _me->Fill(_qx->getValue(id), _qy->getValue(x));
417  else if (_qy->isCoordinate())
418  _me->Fill(_qx->getValue(x), _qy->getValue(id));
419  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [25/28]

void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 403 of file ContainerSingle2D.cc.

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

403  {
404  if (_qx->isCoordinate() && _qy->isCoordinate())
405  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
406  else if (_qx->isCoordinate())
407  _me->Fill(_qx->getValue(id), _qy->getValue(x));
408  else if (_qy->isCoordinate())
409  _me->Fill(_qx->getValue(x), _qy->getValue(id));
410  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [26/28]

void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 430 of file ContainerSingle2D.cc.

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

430  {
431  if (_qx->isCoordinate() && _qy->isCoordinate())
432  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
433  else if (_qx->isCoordinate() && !_qy->isCoordinate())
434  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
435  else if (!_qx->isCoordinate() && _qy->isCoordinate())
436  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
437  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [27/28]

void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 439 of file ContainerSingle2D.cc.

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

439  {
440  if (_qx->isCoordinate() && _qy->isCoordinate())
441  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
442  else if (_qx->isCoordinate() && !_qy->isCoordinate())
443  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
444  else if (!_qx->isCoordinate() && _qy->isCoordinate())
445  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
446  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [28/28]

void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 421 of file ContainerSingle2D.cc.

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

421  {
422  if (_qx->isCoordinate() && _qy->isCoordinate())
423  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
424  else if (_qx->isCoordinate() && !_qy->isCoordinate())
425  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
426  else if (!_qx->isCoordinate() && _qy->isCoordinate())
427  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
428  }
quantity::Quantity * _qx
void Fill(long long x)
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinContent() [1/13]

double hcaldqm::ContainerSingle2D::getBinContent ( int  x,
int  y 
)
virtual

Definition at line 129 of file ContainerSingle2D.cc.

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

Referenced by hcaldqm::TPRunSummary::endJob().

129  {
130  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
131  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [2/13]

double hcaldqm::ContainerSingle2D::getBinContent ( int  x,
double  y 
)
virtual

Definition at line 132 of file ContainerSingle2D.cc.

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

132  {
133  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
134  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [3/13]

double hcaldqm::ContainerSingle2D::getBinContent ( double  x,
int  y 
)
virtual

Definition at line 135 of file ContainerSingle2D.cc.

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

135  {
136  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
137  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [4/13]

double hcaldqm::ContainerSingle2D::getBinContent ( double  x,
double  y 
)
virtual

Definition at line 138 of file ContainerSingle2D.cc.

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

138  {
139  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
140  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [5/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalDetId const &  id)
virtual

Definition at line 224 of file ContainerSingle2D.cc.

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

224  {
225  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
226  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [6/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 227 of file ContainerSingle2D.cc.

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

227  {
228  if (_qx->isCoordinate())
229  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
230  else
231  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
232  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [7/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 233 of file ContainerSingle2D.cc.

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

233  {
234  if (_qx->isCoordinate())
235  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
236  else
237  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
238  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [8/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalElectronicsId const &  id)
virtual

Definition at line 336 of file ContainerSingle2D.cc.

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

336  {
337  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
338  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [9/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 339 of file ContainerSingle2D.cc.

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

339  {
340  if (_qx->isCoordinate())
341  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
342  else
343  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
344  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [10/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 345 of file ContainerSingle2D.cc.

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

345  {
346  if (_qx->isCoordinate())
347  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
348  else
349  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
350  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [11/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 462 of file ContainerSingle2D.cc.

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

462  {
463  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
464  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [12/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 465 of file ContainerSingle2D.cc.

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

465  {
466  if (_qx->isCoordinate())
467  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
468  else
469  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
470  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [13/13]

double hcaldqm::ContainerSingle2D::getBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 471 of file ContainerSingle2D.cc.

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

471  {
472  if (_qx->isCoordinate())
473  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
474  else
475  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
476  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinEntries() [1/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( int  x,
int  y 
)
virtual

Definition at line 141 of file ContainerSingle2D.cc.

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

Referenced by hcaldqm::TPRunSummary::endJob().

141  {
142  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(y));
143  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [2/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( int  x,
double  y 
)
virtual

Definition at line 144 of file ContainerSingle2D.cc.

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

144  {
145  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(y));
146  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [3/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( double  x,
int  y 
)
virtual

Definition at line 147 of file ContainerSingle2D.cc.

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

147  {
148  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(y));
149  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [4/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( double  x,
double  y 
)
virtual

Definition at line 150 of file ContainerSingle2D.cc.

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

150  {
151  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(y));
152  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [5/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalDetId const &  id)
virtual

Definition at line 239 of file ContainerSingle2D.cc.

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

239  {
240  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(id));
241  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [6/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 242 of file ContainerSingle2D.cc.

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

242  {
243  if (_qx->isCoordinate())
244  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(x));
245  else
246  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(id));
247  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinEntries() [7/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 248 of file ContainerSingle2D.cc.

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

248  {
249  if (_qx->isCoordinate())
250  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(x));
251  else
252  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(id));
253  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinEntries() [8/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Definition at line 351 of file ContainerSingle2D.cc.

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

351  {
352  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(id));
353  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [9/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 354 of file ContainerSingle2D.cc.

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

354  {
355  if (_qx->isCoordinate())
356  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(x));
357  else
358  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(id));
359  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinEntries() [10/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 360 of file ContainerSingle2D.cc.

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

360  {
361  if (_qx->isCoordinate())
362  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(x));
363  else
364  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(id));
365  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinEntries() [11/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 477 of file ContainerSingle2D.cc.

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

477  {
478  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(id));
479  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [12/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 480 of file ContainerSingle2D.cc.

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

480  {
481  if (_qx->isCoordinate())
482  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(x));
483  else
484  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(id));
485  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinEntries() [13/13]

double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 486 of file ContainerSingle2D.cc.

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

486  {
487  if (_qx->isCoordinate())
488  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(x));
489  else
490  return _me->getBinEntries(_qx->getBin(x) + _qx->wofnbins() * _qy->getBin(id));
491  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ initialize() [1/3]

void hcaldqm::ContainerSingle2D::initialize ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 46 of file ContainerSingle2D.cc.

References _qx, _qy, _qz, debug, printsummarytable::folder, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::quantity::fZAxis, hcaldqm::Container::initialize(), hcaldqm::quantity::Quantity::name(), and hcaldqm::quantity::Quantity::setAxisType().

Referenced by PedestalTask::bookHistograms(), LEDTask::bookHistograms(), TPTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::RawRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), and hcaldqm::ContainerSingleProf2D::initialize().

47  {
48  Container::initialize(folder, qz->name() + "vs" + qy->name() + "vs" + qx->name(), debug);
49  _qx = qx;
50  _qy = qy;
51  _qz = qz;
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
quantity::Quantity * _qz

◆ initialize() [2/3]

void hcaldqm::ContainerSingle2D::initialize ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

◆ initialize() [3/3]

virtual void hcaldqm::Container::initialize
inline

Definition at line 30 of file Container.h.

30  {
31  _folder = folder;
32  _qname = qname;
34  }
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
std::string _folder
Definition: Container.h:37
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:38

◆ load()

void hcaldqm::ContainerSingle2D::load ( DQMStore::IGetter ig,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Definition at line 81 of file ContainerSingle2D.cc.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, printConversionInfo::aux, dqm::implementation::IGetter::get(), and DigiTask_cfi::subsystem.

Referenced by hcaldqm::TPRunSummary::endJob().

81  {
82  _me = ig.get(subsystem + "/" + _folder + "/" + _qname + "/" + _qname + (aux.empty() ? aux : "_" + aux));
83  }
std::string _folder
Definition: Container.h:37
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:712
std::string _qname
Definition: Container.h:38

◆ print()

virtual void hcaldqm::ContainerSingle2D::print ( void  )
inlinevirtual

Definition at line 146 of file ContainerSingle2D.h.

References hcaldqm::Container::_qname, and gather_cfg::cout.

146 { std::cout << _qname << std::endl; }
std::string _qname
Definition: Container.h:38

◆ reset()

virtual void hcaldqm::ContainerSingle2D::reset ( void  )
inlinevirtual

Definition at line 145 of file ContainerSingle2D.h.

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

145 { _me->Reset(); }
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.

◆ setBinContent() [1/26]

void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
int  y,
int  z 
)
virtual

◆ setBinContent() [2/26]

void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
double  y,
int  z 
)
virtual

Definition at line 157 of file ContainerSingle2D.cc.

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

157  {
159  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [3/26]

void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  y,
int  z 
)
virtual

Definition at line 160 of file ContainerSingle2D.cc.

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

160  {
162  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [4/26]

void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
int  z 
)
virtual

Definition at line 163 of file ContainerSingle2D.cc.

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

163  {
165  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [5/26]

void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
int  y,
double  z 
)
virtual

Definition at line 166 of file ContainerSingle2D.cc.

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

166  {
168  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [6/26]

void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
double  y,
double  z 
)
virtual

Definition at line 169 of file ContainerSingle2D.cc.

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

169  {
171  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [7/26]

void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  y,
double  z 
)
virtual

Definition at line 172 of file ContainerSingle2D.cc.

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

172  {
174  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [8/26]

void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
double  z 
)
virtual

Definition at line 175 of file ContainerSingle2D.cc.

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

175  {
177  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [9/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 255 of file ContainerSingle2D.cc.

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

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

◆ setBinContent() [10/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 258 of file ContainerSingle2D.cc.

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

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

◆ setBinContent() [11/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
virtual

Definition at line 261 of file ContainerSingle2D.cc.

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

261  {
262  if (_qx->isCoordinate())
263  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
264  else
265  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
266  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [12/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Definition at line 267 of file ContainerSingle2D.cc.

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

267  {
268  if (_qx->isCoordinate())
269  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
270  else
271  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
272  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [13/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
virtual

Definition at line 273 of file ContainerSingle2D.cc.

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

273  {
274  if (_qx->isCoordinate())
275  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
276  else
277  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
278  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [14/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 279 of file ContainerSingle2D.cc.

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

279  {
280  if (_qx->isCoordinate())
281  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
282  else
283  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
284  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [15/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 367 of file ContainerSingle2D.cc.

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

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

◆ setBinContent() [16/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 370 of file ContainerSingle2D.cc.

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

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

◆ setBinContent() [17/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Definition at line 373 of file ContainerSingle2D.cc.

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

373  {
374  if (_qx->isCoordinate())
375  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
376  else
377  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
378  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [18/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Definition at line 379 of file ContainerSingle2D.cc.

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

379  {
380  if (_qx->isCoordinate())
381  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
382  else
383  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
384  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [19/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
virtual

Definition at line 385 of file ContainerSingle2D.cc.

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

385  {
386  if (_qx->isCoordinate())
387  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
388  else
389  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
390  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [20/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Definition at line 391 of file ContainerSingle2D.cc.

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

391  {
392  if (_qx->isCoordinate())
393  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
394  else
395  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
396  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [21/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 493 of file ContainerSingle2D.cc.

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

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

◆ setBinContent() [22/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 496 of file ContainerSingle2D.cc.

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

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

◆ setBinContent() [23/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Definition at line 499 of file ContainerSingle2D.cc.

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

499  {
500  if (_qx->isCoordinate())
501  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
502  else
503  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
504  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [24/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Definition at line 505 of file ContainerSingle2D.cc.

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

505  {
506  if (_qx->isCoordinate())
507  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
508  else
509  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
510  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [25/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
virtual

Definition at line 511 of file ContainerSingle2D.cc.

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

511  {
512  if (_qx->isCoordinate())
513  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
514  else
515  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
516  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ setBinContent() [26/26]

void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 517 of file ContainerSingle2D.cc.

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

517  {
518  if (_qx->isCoordinate())
519  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
520  else
521  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
522  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ showOverflowZ()

void hcaldqm::ContainerSingle2D::showOverflowZ ( bool  showOverflow)

Definition at line 536 of file ContainerSingle2D.cc.

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

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

Member Data Documentation

◆ _me

MonitorElement* hcaldqm::ContainerSingle2D::_me
protected

◆ _qx

quantity::Quantity* hcaldqm::ContainerSingle2D::_qx
protected

◆ _qy

quantity::Quantity* hcaldqm::ContainerSingle2D::_qy
protected

◆ _qz

quantity::Quantity* hcaldqm::ContainerSingle2D::_qz
protected