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 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
 

Detailed Description

Definition at line 20 of file ContainerSingle2D.h.

Constructor & Destructor Documentation

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
hcaldqm::ContainerSingle2D::ContainerSingle2D ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN) 
)
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 
)
hcaldqm::ContainerSingle2D::ContainerSingle2D ( ContainerSingle2D const &  c)

Definition at line 28 of file ContainerSingle2D.cc.

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

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
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

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, DQMStore::IBooker::book2D(), customize(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DQMStore::IBooker::setCurrentFolder().

Referenced by TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), TPTask::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RawRunSummary::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
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
std::string _folder
Definition: Container.h:34
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:109
virtual double min()
Definition: Quantity.h:59
std::string _qname
Definition: Container.h:35
void hcaldqm::ContainerSingle2D::customize ( )
protectedvirtual

Definition at line 85 of file ContainerSingle2D.cc.

References _me, _qx, _qy, _qz, hcaldqm::quantity::Quantity::getLabels(), MonitorElement::getTH1(), h, mps_fire::i, hcaldqm::quantity::Quantity::name(), MonitorElement::setAxisTitle(), 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
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
TH1 * getTH1() const
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)
quantity::Quantity * _qx
quantity::Quantity * _qy
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
quantity::Quantity * _qz
void hcaldqm::ContainerSingle2D::extendAxisRange ( int  l)
virtual

Definition at line 524 of file ContainerSingle2D.cc.

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

Referenced by print().

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  }
TH1 * getTH1() const
virtual void setMax(double)
Definition: Quantity.h:64
quantity::Quantity * _qx
void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y 
)
virtual
void hcaldqm::ContainerSingle2D::fill ( int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 107 of file ContainerSingle2D.cc.

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

107 { _me->Fill(_qx->getValue(x), _qy->getValue(y)); }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
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, MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 125 of file ContainerSingle2D.cc.

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

125 { _me->Fill(_qx->getValue(x), _qy->getValue(y), z); }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
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, MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 113 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 115 of file ContainerSingle2D.cc.

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

115 { _me->Fill(_qx->getValue(x), _qy->getValue(y)); }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
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, MonitorElement::Fill(), and hcaldqm::quantity::Quantity::getValue().

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 127 of file ContainerSingle2D.cc.

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

127 { _me->Fill(_qx->getValue(id), _qy->getValue(id)); }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 287 of file ContainerSingle2D.cc.

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

287  {
288  _me->Fill(_qx->getValue(id), _qy->getValue(id));
289  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  did,
HcalElectronicsId const &  eid 
)
virtual
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  did,
HcalElectronicsId const &  eid,
double  x 
)
virtual
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 399 of file ContainerSingle2D.cc.

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

399  {
400  _me->Fill(_qx->getValue(id), _qy->getValue(id));
401  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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, MonitorElement::Fill(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

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  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::getBinContent().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), and MonitorElement::getBinContent().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), and MonitorElement::getBinContent().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), and MonitorElement::getBinContent().

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
double getBinContent(int binx) const
get content of bin (1-D)
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 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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinContent(), and hcaldqm::quantity::Quantity::isCoordinate().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinContent(), and hcaldqm::quantity::Quantity::isCoordinate().

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
double getBinContent(int binx) const
get content of bin (1-D)
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 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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinContent(), and hcaldqm::quantity::Quantity::isCoordinate().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinContent(), and hcaldqm::quantity::Quantity::isCoordinate().

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
double getBinContent(int binx) const
get content of bin (1-D)
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 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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinContent(), and hcaldqm::quantity::Quantity::isCoordinate().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinContent(), and hcaldqm::quantity::Quantity::isCoordinate().

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
double getBinContent(int binx) const
get content of bin (1-D)
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(), MonitorElement::getBinEntries(), and hcaldqm::quantity::Quantity::wofnbins().

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

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

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

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

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

Definition at line 239 of file ContainerSingle2D.cc.

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

239  {
240  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(id));
241  }
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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(), MonitorElement::getBinEntries(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

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 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
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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(), MonitorElement::getBinEntries(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

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 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
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Definition at line 351 of file ContainerSingle2D.cc.

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

351  {
352  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(id));
353  }
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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(), MonitorElement::getBinEntries(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

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 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
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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(), MonitorElement::getBinEntries(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

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 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
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 477 of file ContainerSingle2D.cc.

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

477  {
478  return _me->getBinEntries(_qx->getBin(id) + _qx->wofnbins() * _qy->getBin(id));
479  }
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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(), MonitorElement::getBinEntries(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

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 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
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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(), MonitorElement::getBinEntries(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

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 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
double getBinEntries(int bin) const
get # of bin entries (for profiles)
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, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::quantity::fZAxis, hcaldqm::Container::initialize(), hcaldqm::quantity::Quantity::name(), and hcaldqm::quantity::Quantity::setAxisType().

Referenced by TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), LEDTask::bookHistograms(), TPTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::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:27
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
quantity::Quantity * _qy
#define debug
Definition: HDRShower.cc:19
quantity::Quantity * _qz
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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 57 of file ContainerSingle2D.cc.

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

58  {
60  _qx = qx;
61  _qy = qy;
62  _qz = qz;
66  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:27
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
quantity::Quantity * _qy
#define debug
Definition: HDRShower.cc:19
quantity::Quantity * _qz
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, and DQMStore::IGetter::get().

Referenced by hcaldqm::TPRunSummary::endJob(), and print().

81  {
82  _me = ig.get(subsystem + "/" + _folder + "/" + _qname + "/" + _qname + (aux.empty() ? aux : "_" + aux));
83  }
MonitorElement * get(std::string const &path)
Definition: DQMStore.cc:303
std::string _folder
Definition: Container.h:34
std::string _qname
Definition: Container.h:35
virtual void hcaldqm::ContainerSingle2D::print ( void  )
inlinevirtual
virtual void hcaldqm::ContainerSingle2D::reset ( void  )
inlinevirtual

Definition at line 145 of file ContainerSingle2D.h.

References _me, and MonitorElement::Reset().

145 { _me->Reset(); }
void Reset()
reset ME (ie. contents, errors, etc)
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
int  y,
int  z 
)
virtual
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(), and MonitorElement::setBinContent().

157  {
159  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

160  {
162  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

163  {
165  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

166  {
168  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

169  {
171  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

172  {
174  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

175  {
177  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
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(), and MonitorElement::setBinContent().

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

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

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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

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

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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

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

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
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(), and MonitorElement::setBinContent().

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  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual bool isCoordinate()
Definition: Quantity.h:61
void hcaldqm::ContainerSingle2D::showOverflowZ ( bool  showOverflow)

Definition at line 536 of file ContainerSingle2D.cc.

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

Referenced by print().

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

Member Data Documentation

MonitorElement* hcaldqm::ContainerSingle2D::_me
protected
quantity::Quantity* hcaldqm::ContainerSingle2D::_qx
protected
quantity::Quantity* hcaldqm::ContainerSingle2D::_qy
protected
quantity::Quantity* hcaldqm::ContainerSingle2D::_qz
protected