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 8 of file ContainerSingle2D.cc.

9  {
10  _qx = nullptr;
11  _qy = nullptr;
12  _qz = nullptr;
13  }
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 35 of file ContainerSingle2D.cc.

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

35  :
36  Container(c._folder, c._qname)
37  {
38  _qx = c._qx->makeCopy();
39  _qy = c._qy->makeCopy();
40  _qz = c._qz->makeCopy();
41  }
quantity::Quantity * _qx
quantity::Quantity * _qy
quantity::Quantity * _qz
hcaldqm::ContainerSingle2D::~ContainerSingle2D ( )
override

Definition at line 43 of file ContainerSingle2D.cc.

References _qx, _qy, and _qz.

44  {
45  if (_qx!=nullptr)
46  delete _qx;
47  if (_qy!=nullptr)
48  delete _qy;
49  if (_qz!=nullptr)
50  delete _qz;
51  _qx=nullptr;
52  _qy=nullptr;
53  _qz=nullptr;
54  }
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 82 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(), QIE10Task::bookHistograms(), TPTask::bookHistograms(), QIE11Task::bookHistograms(), LEDTask::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), and hcaldqm::DigiRunSummary::endJob().

84  {
85  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
86  _me = ib.book2D(_qname+(aux.empty()?aux:"_"+aux),
87  _qname+(aux.empty()?aux:" "+aux),
88  _qx->nbins(), _qx->min(), _qx->max(),
89  _qy->nbins(), _qy->min(), _qy->max());
90  customize();
91  }
virtual double max()
Definition: Quantity.h:76
quantity::Quantity * _qx
quantity::Quantity * _qy
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
std::string _folder
Definition: Container.h:42
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:109
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
void hcaldqm::ContainerSingle2D::customize ( )
protectedvirtual

Definition at line 100 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().

101  {
102  _me->setAxisTitle(_qx->name(), 1);
103  _me->setAxisTitle(_qy->name(), 2);
104  _me->setAxisTitle(_qz->name(), 3);
105 
106  TH1 *h = _me->getTH1();
107  _qx->setBits(h);
108  _qy->setBits(h);
109  _qz->setBits(h);
110 
111  std::vector<std::string> xlabels = _qx->getLabels();
112  std::vector<std::string> ylabels = _qy->getLabels();
113  for (unsigned int i=0; i<xlabels.size(); i++) {
114  _me->setBinLabel(i+1, xlabels[i], 1);
115  }
116  for (unsigned int i=0; i<ylabels.size(); i++) {
117  _me->setBinLabel(i+1, ylabels[i], 2);
118  }
119  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:65
virtual std::string name()
Definition: Quantity.h:47
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:78
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 684 of file ContainerSingle2D.cc.

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

Referenced by print().

685  {
686  if (l<_qx->nbins())
687  return;
688 
689  int x=_qx->nbins();
690  while(l>=x)
691  {
692  _me->getTH1()->LabelsInflate();
693  x*=2;
694  _qx->setMax(x);
695  }
696  }
TH1 * getTH1() const
virtual void setMax(double)
Definition: Quantity.h:81
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 126 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 131 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 156 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 151 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 136 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 141 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 146 of file ContainerSingle2D.cc.

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

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 161 of file ContainerSingle2D.cc.

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

162  {
163  _me->Fill(_qx->getValue(id), _qy->getValue(id));
164  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 246 of file ContainerSingle2D.cc.

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

247  {
248  if (_qx->isCoordinate() && _qy->isCoordinate())
249  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
250  else if (_qx->isCoordinate())
251  _me->Fill(_qx->getValue(id), _qy->getValue(x));
252  else if (_qy->isCoordinate())
253  _me->Fill(_qx->getValue(x), _qy->getValue(id));
254  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 236 of file ContainerSingle2D.cc.

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

237  {
238  if (_qx->isCoordinate() && _qy->isCoordinate())
239  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
240  else if (_qx->isCoordinate())
241  _me->Fill(_qx->getValue(id), _qy->getValue(x));
242  else if (_qy->isCoordinate())
243  _me->Fill(_qx->getValue(x), _qy->getValue(id));
244  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 267 of file ContainerSingle2D.cc.

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

269  {
270  if (_qx->isCoordinate() && _qy->isCoordinate())
271  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
272  else if (_qx->isCoordinate() && !_qy->isCoordinate())
273  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
274  else if (!_qx->isCoordinate() && _qy->isCoordinate())
275  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
276  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 278 of file ContainerSingle2D.cc.

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

280  {
281  if (_qx->isCoordinate() && _qy->isCoordinate())
282  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
283  else if (_qx->isCoordinate() && !_qy->isCoordinate())
284  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
285  else if (!_qx->isCoordinate() && _qy->isCoordinate())
286  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
287  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 256 of file ContainerSingle2D.cc.

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

258  {
259  if (_qx->isCoordinate() && _qy->isCoordinate())
260  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
261  else if (_qx->isCoordinate() && !_qy->isCoordinate())
262  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
263  else if (!_qx->isCoordinate() && _qy->isCoordinate())
264  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
265  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 374 of file ContainerSingle2D.cc.

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

375  {
376  _me->Fill(_qx->getValue(id), _qy->getValue(id));
377  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 390 of file ContainerSingle2D.cc.

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

392  {
393  if (_qx->isCoordinate() && _qy->isCoordinate())
394  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
395  else if (_qx->isCoordinate())
396  _me->Fill(_qx->getValue(id), _qy->getValue(x));
397  else if (_qy->isCoordinate())
398  _me->Fill(_qx->getValue(x), _qy->getValue(id));
399  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 379 of file ContainerSingle2D.cc.

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

381  {
382  if (_qx->isCoordinate() && _qy->isCoordinate())
383  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
384  else if (_qx->isCoordinate())
385  _me->Fill(_qx->getValue(id), _qy->getValue(x));
386  else if (_qy->isCoordinate())
387  _me->Fill(_qx->getValue(x), _qy->getValue(id));
388  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 413 of file ContainerSingle2D.cc.

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

416  {
417  if (_qx->isCoordinate() && _qy->isCoordinate())
418  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
419  else if (_qx->isCoordinate() && !_qy->isCoordinate())
420  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
421  else if (!_qx->isCoordinate() && _qy->isCoordinate())
422  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
423  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 425 of file ContainerSingle2D.cc.

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

428  {
429  if (_qx->isCoordinate() && _qy->isCoordinate())
430  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
431  else if (_qx->isCoordinate() && !_qy->isCoordinate())
432  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
433  else if (!_qx->isCoordinate() && _qy->isCoordinate())
434  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
435  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 401 of file ContainerSingle2D.cc.

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

404  {
405  if (_qx->isCoordinate() && _qy->isCoordinate())
406  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
407  else if (_qx->isCoordinate() && !_qy->isCoordinate())
408  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
409  else if (!_qx->isCoordinate() && _qy->isCoordinate())
410  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
411  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
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 522 of file ContainerSingle2D.cc.

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

523  {
524  _me->Fill(_qx->getValue(id), _qy->getValue(id));
525  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 538 of file ContainerSingle2D.cc.

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

540  {
541  if (_qx->isCoordinate() && _qy->isCoordinate())
542  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
543  else if (_qx->isCoordinate())
544  _me->Fill(_qx->getValue(id), _qy->getValue(x));
545  else if (_qy->isCoordinate())
546  _me->Fill(_qx->getValue(x), _qy->getValue(id));
547  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 527 of file ContainerSingle2D.cc.

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

529  {
530  if (_qx->isCoordinate() && _qy->isCoordinate())
531  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
532  else if (_qx->isCoordinate())
533  _me->Fill(_qx->getValue(id), _qy->getValue(x));
534  else if (_qy->isCoordinate())
535  _me->Fill(_qx->getValue(x), _qy->getValue(id));
536  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 560 of file ContainerSingle2D.cc.

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

562  {
563  if (_qx->isCoordinate() && _qy->isCoordinate())
564  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
565  else if (_qx->isCoordinate() && !_qy->isCoordinate())
566  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
567  else if (!_qx->isCoordinate() && _qy->isCoordinate())
568  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
569  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 571 of file ContainerSingle2D.cc.

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

573  {
574  if (_qx->isCoordinate() && _qy->isCoordinate())
575  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
576  else if (_qx->isCoordinate() && !_qy->isCoordinate())
577  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
578  else if (!_qx->isCoordinate() && _qy->isCoordinate())
579  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
580  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 549 of file ContainerSingle2D.cc.

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

551  {
552  if (_qx->isCoordinate() && _qy->isCoordinate())
553  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
554  else if (_qx->isCoordinate() && !_qy->isCoordinate())
555  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
556  else if (!_qx->isCoordinate() && _qy->isCoordinate())
557  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
558  }
void Fill(long long x)
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::ContainerSingle2D::getBinContent ( int  x,
int  y 
)
virtual

Definition at line 166 of file ContainerSingle2D.cc.

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

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

167  {
168  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
169  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( int  x,
double  y 
)
virtual

Definition at line 170 of file ContainerSingle2D.cc.

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

171  {
172  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
173  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( double  x,
int  y 
)
virtual

Definition at line 174 of file ContainerSingle2D.cc.

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

175  {
176  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
177  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( double  x,
double  y 
)
virtual

Definition at line 178 of file ContainerSingle2D.cc.

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

179  {
180  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
181  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalDetId const &  id)
virtual

Definition at line 289 of file ContainerSingle2D.cc.

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

290  {
291  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
292  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 293 of file ContainerSingle2D.cc.

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

295  {
296  if (_qx->isCoordinate())
297  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
298  else
299  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
300  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 301 of file ContainerSingle2D.cc.

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

303  {
304  if (_qx->isCoordinate())
305  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
306  else
307  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
308  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalElectronicsId const &  id)
virtual

Definition at line 437 of file ContainerSingle2D.cc.

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

438  {
439  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
440  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 441 of file ContainerSingle2D.cc.

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

443  {
444  if (_qx->isCoordinate())
445  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
446  else
447  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
448  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 449 of file ContainerSingle2D.cc.

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

451  {
452  if (_qx->isCoordinate())
453  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
454  else
455  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
456  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 600 of file ContainerSingle2D.cc.

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

601  {
602  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
603  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 604 of file ContainerSingle2D.cc.

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

606  {
607  if (_qx->isCoordinate())
608  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
609  else
610  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
611  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 612 of file ContainerSingle2D.cc.

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

614  {
615  if (_qx->isCoordinate())
616  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
617  else
618  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
619  }
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle2D::getBinEntries ( int  x,
int  y 
)
virtual

Definition at line 182 of file ContainerSingle2D.cc.

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

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

183  {
184  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
185  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( int  x,
double  y 
)
virtual

Definition at line 186 of file ContainerSingle2D.cc.

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

187  {
188  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
189  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( double  x,
int  y 
)
virtual

Definition at line 190 of file ContainerSingle2D.cc.

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

191  {
192  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
193  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( double  x,
double  y 
)
virtual

Definition at line 194 of file ContainerSingle2D.cc.

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

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

Definition at line 309 of file ContainerSingle2D.cc.

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

310  {
311  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()* _qy->getBin(id));
312  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 313 of file ContainerSingle2D.cc.

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

315  {
316  if (_qx->isCoordinate())
317  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
318  else
319  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
320  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 321 of file ContainerSingle2D.cc.

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

323  {
324  if (_qx->isCoordinate())
325  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
326  else
327  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
328  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Definition at line 457 of file ContainerSingle2D.cc.

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

458  {
459  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(id));
460  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 461 of file ContainerSingle2D.cc.

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

463  {
464  if (_qx->isCoordinate())
465  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
466  else
467  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
468  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 469 of file ContainerSingle2D.cc.

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

471  {
472  if (_qx->isCoordinate())
473  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
474  else
475  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
476  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 620 of file ContainerSingle2D.cc.

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

621  {
622  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(id));
623  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 624 of file ContainerSingle2D.cc.

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

626  {
627  if (_qx->isCoordinate())
628  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
629  else
630  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
631  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle2D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 632 of file ContainerSingle2D.cc.

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

634  {
635  if (_qx->isCoordinate())
636  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
637  else
638  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
639  }
virtual int wofnbins()
Definition: Quantity.h:74
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77
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 56 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(), TPTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), LEDTask::bookHistograms(), RawTask::bookHistograms(), UMNioTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), and hcaldqm::ContainerSingleProf2D::initialize().

58  {
59  Container::initialize(folder, qz->name()+"vs"+qy->name()+"vs"+
60  qx->name(), debug);
61  _qx = qx;
62  _qy = qy;
63  _qz = qz;
67  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
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 69 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().

72  {
74  _qx = qx;
75  _qy = qy;
76  _qz = qz;
80  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
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 93 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().

95  {
96  _me = ig.get(subsystem+"/"+_folder+"/"+_qname+"/"+
97  _qname+(aux.empty()?aux:"_"+aux));
98  }
MonitorElement * get(std::string const &path)
Definition: DQMStore.cc:303
std::string _folder
Definition: Container.h:42
std::string _qname
Definition: Container.h:43
virtual void hcaldqm::ContainerSingle2D::print ( void  )
inlinevirtual
virtual void hcaldqm::ContainerSingle2D::reset ( void  )
inlinevirtual

Definition at line 144 of file ContainerSingle2D.h.

References _me, and MonitorElement::Reset().

144 {_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 203 of file ContainerSingle2D.cc.

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

204  {
206  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  y,
int  z 
)
virtual

Definition at line 207 of file ContainerSingle2D.cc.

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

208  {
210  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
int  z 
)
virtual

Definition at line 211 of file ContainerSingle2D.cc.

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

213  {
215  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
int  y,
double  z 
)
virtual

Definition at line 216 of file ContainerSingle2D.cc.

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

217  {
219  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
double  y,
double  z 
)
virtual

Definition at line 220 of file ContainerSingle2D.cc.

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

222  {
224  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  y,
double  z 
)
virtual

Definition at line 225 of file ContainerSingle2D.cc.

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

227  {
229  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
double  z 
)
virtual

Definition at line 230 of file ContainerSingle2D.cc.

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

232  {
234  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 330 of file ContainerSingle2D.cc.

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

332  {
333  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
334  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 335 of file ContainerSingle2D.cc.

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

337  {
338  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
339  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
virtual

Definition at line 340 of file ContainerSingle2D.cc.

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

342  {
343  if (_qx->isCoordinate())
344  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
345  else
346  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
347  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Definition at line 348 of file ContainerSingle2D.cc.

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

350  {
351  if (_qx->isCoordinate())
352  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
353  else
354  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
355  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
virtual

Definition at line 356 of file ContainerSingle2D.cc.

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

358  {
359  if (_qx->isCoordinate())
360  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
361  else
362  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
363  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 364 of file ContainerSingle2D.cc.

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

366  {
367  if (_qx->isCoordinate())
368  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
369  else
370  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
371  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 478 of file ContainerSingle2D.cc.

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

480  {
481  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
482  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 483 of file ContainerSingle2D.cc.

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

485  {
486  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
487  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Definition at line 488 of file ContainerSingle2D.cc.

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

490  {
491  if (_qx->isCoordinate())
492  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
493  else
494  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Definition at line 496 of file ContainerSingle2D.cc.

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

498  {
499  if (_qx->isCoordinate())
500  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
501  else
502  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
503  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
virtual

Definition at line 504 of file ContainerSingle2D.cc.

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

506  {
507  if (_qx->isCoordinate())
508  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
509  else
510  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
511  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Definition at line 512 of file ContainerSingle2D.cc.

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

514  {
515  if (_qx->isCoordinate())
516  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
517  else
518  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
519  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 641 of file ContainerSingle2D.cc.

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

643  {
644  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
645  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 646 of file ContainerSingle2D.cc.

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

648  {
649  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
650  }
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:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Definition at line 651 of file ContainerSingle2D.cc.

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

653  {
654  if (_qx->isCoordinate())
655  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
656  else
657  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
658  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Definition at line 659 of file ContainerSingle2D.cc.

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

661  {
662  if (_qx->isCoordinate())
663  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
664  else
665  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
666  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
virtual

Definition at line 667 of file ContainerSingle2D.cc.

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

669  {
670  if (_qx->isCoordinate())
671  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
672  else
673  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
674  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 675 of file ContainerSingle2D.cc.

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

677  {
678  if (_qx->isCoordinate())
679  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
680  else
681  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
682  }
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:53
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle2D::showOverflowZ ( bool  showOverflow)

Definition at line 698 of file ContainerSingle2D.cc.

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

Referenced by print().

698  {
699  _qz->showOverflow(showOverflow);
700  }
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85
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