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="")
 
virtual void book (DQMStore *, 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 9 of file ContainerSingle2D.cc.

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

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

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

Definition at line 44 of file ContainerSingle2D.cc.

References _qx, _qy, and _qz.

45  {
46  if (_qx!=nullptr)
47  delete _qx;
48  if (_qy!=nullptr)
49  delete _qy;
50  if (_qz!=nullptr)
51  delete _qz;
52  _qx=nullptr;
53  _qy=nullptr;
54  _qz=nullptr;
55  }
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 83 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().

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

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 101 of file ContainerSingle2D.cc.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, _qx, _qy, printConversionInfo::aux, DQMStore::book2D(), customize(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DQMStore::setCurrentFolder().

103  {
104  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
105  _me = store->book2D(_qname+(aux.empty()?aux:"_"+aux),
106  _qname+(aux.empty()?aux:" "+aux),
107  _qx->nbins(), _qx->min(), _qx->max(),
108  _qy->nbins(), _qy->min(), _qy->max());
109  customize();
110  }
virtual double max()
Definition: Quantity.h:76
quantity::Quantity * _qx
quantity::Quantity * _qy
std::string _folder
Definition: Container.h:42
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:965
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:545
void hcaldqm::ContainerSingle2D::customize ( )
protectedvirtual

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

113  {
114  _me->setAxisTitle(_qx->name(), 1);
115  _me->setAxisTitle(_qy->name(), 2);
116  _me->setAxisTitle(_qz->name(), 3);
117 
118  TH1 *h = _me->getTH1();
119  _qx->setBits(h);
120  _qy->setBits(h);
121  _qz->setBits(h);
122 
123  std::vector<std::string> xlabels = _qx->getLabels();
124  std::vector<std::string> ylabels = _qy->getLabels();
125  for (unsigned int i=0; i<xlabels.size(); i++) {
126  _me->setBinLabel(i+1, xlabels[i], 1);
127  }
128  for (unsigned int i=0; i<ylabels.size(); i++) {
129  _me->setBinLabel(i+1, ylabels[i], 2);
130  }
131  }
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 696 of file ContainerSingle2D.cc.

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

Referenced by print().

697  {
698  if (l<_qx->nbins())
699  return;
700 
701  int x=_qx->nbins();
702  while(l>=x)
703  {
704  _me->getTH1()->LabelsInflate();
705  x*=2;
706  _qx->setMax(x);
707  }
708  }
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 138 of file ContainerSingle2D.cc.

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

139  {
140  _me->Fill(_qx->getValue(x), _qy->getValue(y));
141  }
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 143 of file ContainerSingle2D.cc.

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

144  {
145  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
146  }
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 168 of file ContainerSingle2D.cc.

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

169  {
170  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
171  }
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 163 of file ContainerSingle2D.cc.

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

164  {
165  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
166  }
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 148 of file ContainerSingle2D.cc.

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

149  {
150  _me->Fill(_qx->getValue(x), _qy->getValue(y));
151  }
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 153 of file ContainerSingle2D.cc.

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

154  {
155  _me->Fill(_qx->getValue(x), _qy->getValue(y));
156  }
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 158 of file ContainerSingle2D.cc.

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

159  {
160  _me->Fill(_qx->getValue(x), _qy->getValue(y), z);
161  }
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 173 of file ContainerSingle2D.cc.

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

174  {
175  _me->Fill(_qx->getValue(id), _qy->getValue(id));
176  }
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 258 of file ContainerSingle2D.cc.

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

259  {
260  if (_qx->isCoordinate() && _qy->isCoordinate())
261  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
262  else if (_qx->isCoordinate())
263  _me->Fill(_qx->getValue(id), _qy->getValue(x));
264  else if (_qy->isCoordinate())
265  _me->Fill(_qx->getValue(x), _qy->getValue(id));
266  }
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 248 of file ContainerSingle2D.cc.

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

249  {
250  if (_qx->isCoordinate() && _qy->isCoordinate())
251  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
252  else if (_qx->isCoordinate())
253  _me->Fill(_qx->getValue(id), _qy->getValue(x));
254  else if (_qy->isCoordinate())
255  _me->Fill(_qx->getValue(x), _qy->getValue(id));
256  }
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 279 of file ContainerSingle2D.cc.

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

281  {
282  if (_qx->isCoordinate() && _qy->isCoordinate())
283  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
284  else if (_qx->isCoordinate() && !_qy->isCoordinate())
285  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
286  else if (!_qx->isCoordinate() && _qy->isCoordinate())
287  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
288  }
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 290 of file ContainerSingle2D.cc.

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

292  {
293  if (_qx->isCoordinate() && _qy->isCoordinate())
294  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
295  else if (_qx->isCoordinate() && !_qy->isCoordinate())
296  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
297  else if (!_qx->isCoordinate() && _qy->isCoordinate())
298  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
299  }
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 268 of file ContainerSingle2D.cc.

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

270  {
271  if (_qx->isCoordinate() && _qy->isCoordinate())
272  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
273  else if (_qx->isCoordinate() && !_qy->isCoordinate())
274  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
275  else if (!_qx->isCoordinate() && _qy->isCoordinate())
276  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
277  }
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 386 of file ContainerSingle2D.cc.

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

387  {
388  _me->Fill(_qx->getValue(id), _qy->getValue(id));
389  }
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 402 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())
408  _me->Fill(_qx->getValue(id), _qy->getValue(x));
409  else if (_qy->isCoordinate())
410  _me->Fill(_qx->getValue(x), _qy->getValue(id));
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 ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 391 of file ContainerSingle2D.cc.

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

393  {
394  if (_qx->isCoordinate() && _qy->isCoordinate())
395  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
396  else if (_qx->isCoordinate())
397  _me->Fill(_qx->getValue(id), _qy->getValue(x));
398  else if (_qy->isCoordinate())
399  _me->Fill(_qx->getValue(x), _qy->getValue(id));
400  }
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 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,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 437 of file ContainerSingle2D.cc.

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

440  {
441  if (_qx->isCoordinate() && _qy->isCoordinate())
442  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
443  else if (_qx->isCoordinate() && !_qy->isCoordinate())
444  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
445  else if (!_qx->isCoordinate() && _qy->isCoordinate())
446  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
447  }
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 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 ( 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 534 of file ContainerSingle2D.cc.

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

535  {
536  _me->Fill(_qx->getValue(id), _qy->getValue(id));
537  }
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 550 of file ContainerSingle2D.cc.

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

552  {
553  if (_qx->isCoordinate() && _qy->isCoordinate())
554  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
555  else if (_qx->isCoordinate())
556  _me->Fill(_qx->getValue(id), _qy->getValue(x));
557  else if (_qy->isCoordinate())
558  _me->Fill(_qx->getValue(x), _qy->getValue(id));
559  }
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 539 of file ContainerSingle2D.cc.

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

541  {
542  if (_qx->isCoordinate() && _qy->isCoordinate())
543  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
544  else if (_qx->isCoordinate())
545  _me->Fill(_qx->getValue(id), _qy->getValue(x));
546  else if (_qy->isCoordinate())
547  _me->Fill(_qx->getValue(x), _qy->getValue(id));
548  }
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 572 of file ContainerSingle2D.cc.

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

574  {
575  if (_qx->isCoordinate() && _qy->isCoordinate())
576  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
577  else if (_qx->isCoordinate() && !_qy->isCoordinate())
578  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
579  else if (!_qx->isCoordinate() && _qy->isCoordinate())
580  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
581  }
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 583 of file ContainerSingle2D.cc.

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

585  {
586  if (_qx->isCoordinate() && _qy->isCoordinate())
587  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
588  else if (_qx->isCoordinate() && !_qy->isCoordinate())
589  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
590  else if (!_qx->isCoordinate() && _qy->isCoordinate())
591  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
592  }
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 561 of file ContainerSingle2D.cc.

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

563  {
564  if (_qx->isCoordinate() && _qy->isCoordinate())
565  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
566  else if (_qx->isCoordinate() && !_qy->isCoordinate())
567  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
568  else if (!_qx->isCoordinate() && _qy->isCoordinate())
569  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
570  }
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 178 of file ContainerSingle2D.cc.

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

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

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 ( int  x,
double  y 
)
virtual

Definition at line 182 of file ContainerSingle2D.cc.

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

183  {
184  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
185  }
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 186 of file ContainerSingle2D.cc.

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

187  {
188  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
189  }
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 190 of file ContainerSingle2D.cc.

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

191  {
192  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
193  }
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 301 of file ContainerSingle2D.cc.

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

302  {
303  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
304  }
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 305 of file ContainerSingle2D.cc.

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

307  {
308  if (_qx->isCoordinate())
309  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
310  else
311  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
312  }
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 313 of file ContainerSingle2D.cc.

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

315  {
316  if (_qx->isCoordinate())
317  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
318  else
319  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
320  }
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 449 of file ContainerSingle2D.cc.

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

450  {
451  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
452  }
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 453 of file ContainerSingle2D.cc.

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

455  {
456  if (_qx->isCoordinate())
457  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
458  else
459  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
460  }
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 461 of file ContainerSingle2D.cc.

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

463  {
464  if (_qx->isCoordinate())
465  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
466  else
467  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
468  }
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 612 of file ContainerSingle2D.cc.

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

613  {
614  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
615  }
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 616 of file ContainerSingle2D.cc.

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

618  {
619  if (_qx->isCoordinate())
620  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
621  else
622  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
623  }
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 624 of file ContainerSingle2D.cc.

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

626  {
627  if (_qx->isCoordinate())
628  return _me->getBinContent(_qx->getBin(id), _qy->getBin(x));
629  else
630  return _me->getBinContent(_qx->getBin(x), _qy->getBin(id));
631  }
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 194 of file ContainerSingle2D.cc.

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

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

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 ( int  x,
double  y 
)
virtual

Definition at line 198 of file ContainerSingle2D.cc.

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

199  {
200  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
201  }
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 202 of file ContainerSingle2D.cc.

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

203  {
204  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
205  }
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 206 of file ContainerSingle2D.cc.

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

207  {
208  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
209  }
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 321 of file ContainerSingle2D.cc.

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

322  {
323  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()* _qy->getBin(id));
324  }
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 325 of file ContainerSingle2D.cc.

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

327  {
328  if (_qx->isCoordinate())
329  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
330  else
331  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
332  }
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 333 of file ContainerSingle2D.cc.

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

335  {
336  if (_qx->isCoordinate())
337  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
338  else
339  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
340  }
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 469 of file ContainerSingle2D.cc.

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

470  {
471  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(id));
472  }
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 473 of file ContainerSingle2D.cc.

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

475  {
476  if (_qx->isCoordinate())
477  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
478  else
479  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
480  }
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 481 of file ContainerSingle2D.cc.

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

483  {
484  if (_qx->isCoordinate())
485  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
486  else
487  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
488  }
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 632 of file ContainerSingle2D.cc.

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

633  {
634  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(id));
635  }
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 636 of file ContainerSingle2D.cc.

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

638  {
639  if (_qx->isCoordinate())
640  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
641  else
642  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
643  }
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 644 of file ContainerSingle2D.cc.

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

646  {
647  if (_qx->isCoordinate())
648  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
649  else
650  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
651  }
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 57 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().

59  {
60  Container::initialize(folder, qz->name()+"vs"+qy->name()+"vs"+
61  qx->name(), debug);
62  _qx = qx;
63  _qy = qy;
64  _qz = qz;
68  }
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 70 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().

73  {
75  _qx = qx;
76  _qy = qy;
77  _qz = qz;
81  }
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 94 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().

96  {
97  _me = ig.get(subsystem+"/"+_folder+"/"+_qname+"/"+
98  _qname+(aux.empty()?aux:"_"+aux));
99  }
MonitorElement * get(const std::string &path)
Definition: DQMStore.cc:302
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 148 of file ContainerSingle2D.h.

References _me, and MonitorElement::Reset().

148 {_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 215 of file ContainerSingle2D.cc.

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

216  {
218  }
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 219 of file ContainerSingle2D.cc.

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

220  {
222  }
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 223 of file ContainerSingle2D.cc.

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

225  {
227  }
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 228 of file ContainerSingle2D.cc.

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

229  {
231  }
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 232 of file ContainerSingle2D.cc.

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

234  {
236  }
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 237 of file ContainerSingle2D.cc.

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

239  {
241  }
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 242 of file ContainerSingle2D.cc.

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

244  {
246  }
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 342 of file ContainerSingle2D.cc.

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

344  {
345  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
346  }
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 347 of file ContainerSingle2D.cc.

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

349  {
350  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
351  }
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 352 of file ContainerSingle2D.cc.

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

354  {
355  if (_qx->isCoordinate())
356  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
357  else
358  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
359  }
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 360 of file ContainerSingle2D.cc.

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

362  {
363  if (_qx->isCoordinate())
364  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
365  else
366  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
367  }
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 368 of file ContainerSingle2D.cc.

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

370  {
371  if (_qx->isCoordinate())
372  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
373  else
374  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
375  }
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 376 of file ContainerSingle2D.cc.

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

378  {
379  if (_qx->isCoordinate())
380  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
381  else
382  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
383  }
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 490 of file ContainerSingle2D.cc.

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

492  {
493  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
494  }
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 495 of file ContainerSingle2D.cc.

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

497  {
498  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
499  }
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 500 of file ContainerSingle2D.cc.

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

502  {
503  if (_qx->isCoordinate())
504  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
505  else
506  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
507  }
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 508 of file ContainerSingle2D.cc.

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

510  {
511  if (_qx->isCoordinate())
512  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
513  else
514  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
515  }
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 516 of file ContainerSingle2D.cc.

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

518  {
519  if (_qx->isCoordinate())
520  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
521  else
522  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
523  }
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 524 of file ContainerSingle2D.cc.

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

526  {
527  if (_qx->isCoordinate())
528  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
529  else
530  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
531  }
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 653 of file ContainerSingle2D.cc.

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

655  {
656  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
657  }
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 658 of file ContainerSingle2D.cc.

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

660  {
661  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
662  }
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 663 of file ContainerSingle2D.cc.

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

665  {
666  if (_qx->isCoordinate())
667  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
668  else
669  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
670  }
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 671 of file ContainerSingle2D.cc.

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

673  {
674  if (_qx->isCoordinate())
675  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
676  else
677  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
678  }
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 679 of file ContainerSingle2D.cc.

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

681  {
682  if (_qx->isCoordinate())
683  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
684  else
685  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
686  }
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 687 of file ContainerSingle2D.cc.

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

689  {
690  if (_qx->isCoordinate())
691  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
692  else
693  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
694  }
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 710 of file ContainerSingle2D.cc.

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

Referenced by print().

710  {
711  _qz->showOverflow(showOverflow);
712  }
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