CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 *qz=new ValueQuantity(quantity::fN))
 
 ContainerSingle2D (std::string const &folder, std::string const &, Quantity *, Quantity *, Quantity *qz=new 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 *qz=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &, Quantity *, Quantity *, Quantity *qz=new 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)
 
virtual ~ContainerSingle2D ()
 
- 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_qx
 
Quantity_qy
 
Quantity_qz
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Detailed Description

Definition at line 21 of file ContainerSingle2D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingle2D::ContainerSingle2D ( )

Definition at line 7 of file ContainerSingle2D.cc.

References _qx, _qy, _qz, and NULL.

8  {
9  _qx = NULL;
10  _qy = NULL;
11  _qz = NULL;
12  }
#define NULL
Definition: scimark2.h:8
hcaldqm::ContainerSingle2D::ContainerSingle2D ( std::string const &  folder,
Quantity qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingle2D::ContainerSingle2D ( std::string const &  folder,
std::string const &  qname,
Quantity qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN),
int  debug = 0 
)
hcaldqm::ContainerSingle2D::ContainerSingle2D ( ContainerSingle2D const &  c)

Definition at line 34 of file ContainerSingle2D.cc.

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

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

Definition at line 42 of file ContainerSingle2D.cc.

References _qx, _qy, _qz, and NULL.

43  {
44  if (_qx!=NULL)
45  delete _qx;
46  if (_qy!=NULL)
47  delete _qy;
48  if (_qz!=NULL)
49  delete _qz;
50  _qx=NULL;
51  _qy=NULL;
52  _qz=NULL;
53  }
#define NULL
Definition: scimark2.h:8

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

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

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

83  {
85  _me = ib.book2D(_qname+(aux==""?aux:"_"+aux),
86  _qname+(aux==""?aux:" "+aux),
87  _qx->nbins(), _qx->min(), _qx->max(),
88  _qy->nbins(), _qy->min(), _qy->max());
89  customize();
90  }
virtual double max()
Definition: Quantity.h:76
std::string _folder
Definition: Container.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
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 99 of file ContainerSingle2D.cc.

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

101  {
102  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
103  _me = store->book2D(_qname+(aux==""?aux:"_"+aux),
104  _qname+(aux==""?aux:" "+aux),
105  _qx->nbins(), _qx->min(), _qx->max(),
106  _qy->nbins(), _qy->min(), _qy->max());
107  customize();
108  }
virtual double max()
Definition: Quantity.h:76
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:1149
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:727
void hcaldqm::ContainerSingle2D::customize ( )
protectedvirtual

Definition at line 110 of file ContainerSingle2D.cc.

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

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

111  {
112  _me->setAxisTitle(_qx->name(), 1);
113  _me->setAxisTitle(_qy->name(), 2);
114  _me->setAxisTitle(_qz->name(), 3);
115 
116  TH1 *h = _me->getTH1();
117  _qx->setBits(h);
118  _qy->setBits(h);
119  _qz->setBits(h);
120 
121  std::vector<std::string> xlabels = _qx->getLabels();
122  std::vector<std::string> ylabels = _qy->getLabels();
123  for (unsigned int i=0; i<xlabels.size(); i++)
124  _me->setBinLabel(i+1, xlabels[i], 1);
125  for (unsigned int i=0; i<ylabels.size(); i++)
126  _me->setBinLabel(i+1, ylabels[i], 2);
127  }
int i
Definition: DBlmapReader.cc:9
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
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)
TH1 * getTH1(void) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void hcaldqm::ContainerSingle2D::extendAxisRange ( int  l)
virtual

Definition at line 692 of file ContainerSingle2D.cc.

References _me, _qx, MonitorElement::getTH1(), hlt_dqm_clientPB-live_cfg::nbins, hcaldqm::quantity::Quantity::nbins(), hcaldqm::quantity::Quantity::setMax(), and x().

693  {
694  if (l<_qx->nbins())
695  return;
696 
697  int x=_qx->nbins();
698  while(l>=x)
699  {
700  _me->getTH1()->LabelsInflate();
701  x*=2;
702  _qx->setMax(x);
703  }
704  }
virtual void setMax(double)
Definition: Quantity.h:81
TH1 * getTH1(void) const
void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y 
)
virtual
void hcaldqm::ContainerSingle2D::fill ( int  x,
double  y 
)
virtual

Definition at line 134 of file ContainerSingle2D.cc.

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

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

Definition at line 139 of file ContainerSingle2D.cc.

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

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

Definition at line 164 of file ContainerSingle2D.cc.

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

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

Definition at line 159 of file ContainerSingle2D.cc.

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

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

Definition at line 144 of file ContainerSingle2D.cc.

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

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

Definition at line 149 of file ContainerSingle2D.cc.

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

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

Definition at line 154 of file ContainerSingle2D.cc.

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

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

Definition at line 169 of file ContainerSingle2D.cc.

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

170  {
171  _me->Fill(_qx->getValue(id), _qy->getValue(id));
172  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 254 of file ContainerSingle2D.cc.

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

255  {
256  if (_qx->isCoordinate() && _qy->isCoordinate())
257  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
258  else if (_qx->isCoordinate())
259  _me->Fill(_qx->getValue(id), _qy->getValue(x));
260  else if (_qy->isCoordinate())
261  _me->Fill(_qx->getValue(x), _qy->getValue(id));
262  }
void Fill(long long x)
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

Definition at line 244 of file ContainerSingle2D.cc.

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

245  {
246  if (_qx->isCoordinate() && _qy->isCoordinate())
247  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
248  else if (_qx->isCoordinate())
249  _me->Fill(_qx->getValue(id), _qy->getValue(x));
250  else if (_qy->isCoordinate())
251  _me->Fill(_qx->getValue(x), _qy->getValue(id));
252  }
void Fill(long long x)
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

Definition at line 275 of file ContainerSingle2D.cc.

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

277  {
278  if (_qx->isCoordinate() && _qy->isCoordinate())
279  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
280  else if (_qx->isCoordinate() && !_qy->isCoordinate())
281  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
282  else if (!_qx->isCoordinate() && _qy->isCoordinate())
283  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
284  }
void Fill(long long x)
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

Definition at line 286 of file ContainerSingle2D.cc.

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

288  {
289  if (_qx->isCoordinate() && _qy->isCoordinate())
290  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
291  else if (_qx->isCoordinate() && !_qy->isCoordinate())
292  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
293  else if (!_qx->isCoordinate() && _qy->isCoordinate())
294  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
295  }
void Fill(long long x)
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

Definition at line 264 of file ContainerSingle2D.cc.

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

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

Definition at line 382 of file ContainerSingle2D.cc.

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

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

Definition at line 398 of file ContainerSingle2D.cc.

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

400  {
401  if (_qx->isCoordinate() && _qy->isCoordinate())
402  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
403  else if (_qx->isCoordinate())
404  _me->Fill(_qx->getValue(id), _qy->getValue(x));
405  else if (_qy->isCoordinate())
406  _me->Fill(_qx->getValue(x), _qy->getValue(id));
407  }
void Fill(long long x)
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

Definition at line 387 of file ContainerSingle2D.cc.

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

389  {
390  if (_qx->isCoordinate() && _qy->isCoordinate())
391  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
392  else if (_qx->isCoordinate())
393  _me->Fill(_qx->getValue(id), _qy->getValue(x));
394  else if (_qy->isCoordinate())
395  _me->Fill(_qx->getValue(x), _qy->getValue(id));
396  }
void Fill(long long x)
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

Definition at line 421 of file ContainerSingle2D.cc.

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

424  {
425  if (_qx->isCoordinate() && _qy->isCoordinate())
426  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
427  else if (_qx->isCoordinate() && !_qy->isCoordinate())
428  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
429  else if (!_qx->isCoordinate() && _qy->isCoordinate())
430  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
431  }
void Fill(long long x)
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

Definition at line 433 of file ContainerSingle2D.cc.

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

436  {
437  if (_qx->isCoordinate() && _qy->isCoordinate())
438  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
439  else if (_qx->isCoordinate() && !_qy->isCoordinate())
440  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
441  else if (!_qx->isCoordinate() && _qy->isCoordinate())
442  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
443  }
void Fill(long long x)
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

Definition at line 409 of file ContainerSingle2D.cc.

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

412  {
413  if (_qx->isCoordinate() && _qy->isCoordinate())
414  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
415  else if (_qx->isCoordinate() && !_qy->isCoordinate())
416  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
417  else if (!_qx->isCoordinate() && _qy->isCoordinate())
418  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
419  }
void Fill(long long x)
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

Definition at line 530 of file ContainerSingle2D.cc.

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

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

Definition at line 546 of file ContainerSingle2D.cc.

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

548  {
549  if (_qx->isCoordinate() && _qy->isCoordinate())
550  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
551  else if (_qx->isCoordinate())
552  _me->Fill(_qx->getValue(id), _qy->getValue(x));
553  else if (_qy->isCoordinate())
554  _me->Fill(_qx->getValue(x), _qy->getValue(id));
555  }
void Fill(long long x)
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

Definition at line 535 of file ContainerSingle2D.cc.

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

537  {
538  if (_qx->isCoordinate() && _qy->isCoordinate())
539  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
540  else if (_qx->isCoordinate())
541  _me->Fill(_qx->getValue(id), _qy->getValue(x));
542  else if (_qy->isCoordinate())
543  _me->Fill(_qx->getValue(x), _qy->getValue(id));
544  }
void Fill(long long x)
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

Definition at line 568 of file ContainerSingle2D.cc.

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

570  {
571  if (_qx->isCoordinate() && _qy->isCoordinate())
572  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
573  else if (_qx->isCoordinate() && !_qy->isCoordinate())
574  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
575  else if (!_qx->isCoordinate() && _qy->isCoordinate())
576  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
577  }
void Fill(long long x)
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

Definition at line 579 of file ContainerSingle2D.cc.

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

581  {
582  if (_qx->isCoordinate() && _qy->isCoordinate())
583  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
584  else if (_qx->isCoordinate() && !_qy->isCoordinate())
585  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
586  else if (!_qx->isCoordinate() && _qy->isCoordinate())
587  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
588  }
void Fill(long long x)
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

Definition at line 557 of file ContainerSingle2D.cc.

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

559  {
560  if (_qx->isCoordinate() && _qy->isCoordinate())
561  _me->Fill(_qx->getValue(id), _qy->getValue(id), x);
562  else if (_qx->isCoordinate() && !_qy->isCoordinate())
563  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
564  else if (!_qx->isCoordinate() && _qy->isCoordinate())
565  _me->Fill(_qx->getValue(x), _qy->getValue(id), y);
566  }
void Fill(long long x)
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 174 of file ContainerSingle2D.cc.

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

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

175  {
176  return _me->getBinContent(_qx->getBin(x), _qy->getBin(y));
177  }
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 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  }
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 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  }
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 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  }
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 297 of file ContainerSingle2D.cc.

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

298  {
299  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
300  }
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 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  }
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 309 of file ContainerSingle2D.cc.

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

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

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

446  {
447  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
448  }
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 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  }
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 457 of file ContainerSingle2D.cc.

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

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

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

609  {
610  return _me->getBinContent(_qx->getBin(id), _qy->getBin(id));
611  }
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 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  }
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 620 of file ContainerSingle2D.cc.

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

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

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

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

191  {
192  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(y));
193  }
virtual int wofnbins()
Definition: Quantity.h:74
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 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
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 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
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 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
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 317 of file ContainerSingle2D.cc.

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

318  {
319  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()* _qy->getBin(id));
320  }
virtual int wofnbins()
Definition: Quantity.h:74
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 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
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 329 of file ContainerSingle2D.cc.

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

331  {
332  if (_qx->isCoordinate())
333  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
334  else
335  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
336  }
virtual int wofnbins()
Definition: Quantity.h:74
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 465 of file ContainerSingle2D.cc.

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

466  {
467  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(id));
468  }
virtual int wofnbins()
Definition: Quantity.h:74
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 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
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 477 of file ContainerSingle2D.cc.

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

479  {
480  if (_qx->isCoordinate())
481  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
482  else
483  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
484  }
virtual int wofnbins()
Definition: Quantity.h:74
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 628 of file ContainerSingle2D.cc.

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

629  {
630  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(id));
631  }
virtual int wofnbins()
Definition: Quantity.h:74
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 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
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 640 of file ContainerSingle2D.cc.

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

642  {
643  if (_qx->isCoordinate())
644  return _me->getBinEntries(_qx->getBin(id)+_qx->wofnbins()*_qy->getBin(x));
645  else
646  return _me->getBinEntries(_qx->getBin(x)+_qx->wofnbins()*_qy->getBin(id));
647  }
virtual int wofnbins()
Definition: Quantity.h:74
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 qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

Definition at line 55 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(), QIE10Task::bookHistograms(), TPTask::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), and hcaldqm::ContainerSingleProf2D::initialize().

57  {
58  Container::initialize(folder, qz->name()+"vs"+qy->name()+"vs"+
59  qx->name(), debug);
60  _qx = qx;
61  _qy = qy;
62  _qz = qz;
66  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
#define debug
Definition: HDRShower.cc:19
tuple folder
Histograms Source for live online DQM in P5
void hcaldqm::ContainerSingle2D::initialize ( std::string const &  folder,
std::string const &  qname,
Quantity qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf2D.

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

71  {
73  _qx = qx;
74  _qy = qy;
75  _qz = qz;
79  }
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
#define debug
Definition: HDRShower.cc:19
tuple folder
Histograms Source for live online DQM in P5
void hcaldqm::ContainerSingle2D::load ( DQMStore::IGetter ig,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Definition at line 92 of file ContainerSingle2D.cc.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, and DQMStore::IGetter::get().

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

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

Definition at line 150 of file ContainerSingle2D.h.

References gather_cfg::cout.

150 {std::cout << _qname << std::endl;}
std::string _qname
Definition: Container.h:43
tuple cout
Definition: gather_cfg.py:145
virtual void hcaldqm::ContainerSingle2D::reset ( void  )
inlinevirtual

Definition at line 149 of file ContainerSingle2D.h.

149 {_me->Reset();}
void Reset(void)
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 211 of file ContainerSingle2D.cc.

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

212  {
214  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  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)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
int  z 
)
virtual

Definition at line 219 of file ContainerSingle2D.cc.

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

221  {
223  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
int  y,
double  z 
)
virtual

Definition at line 224 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)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
double  y,
double  z 
)
virtual

Definition at line 228 of file ContainerSingle2D.cc.

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

230  {
232  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  y,
double  z 
)
virtual

Definition at line 233 of file ContainerSingle2D.cc.

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

235  {
237  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
double  z 
)
virtual

Definition at line 238 of file ContainerSingle2D.cc.

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

240  {
242  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 338 of file ContainerSingle2D.cc.

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

340  {
341  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
342  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 343 of file ContainerSingle2D.cc.

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

345  {
346  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
347  }
void setBinContent(int binx, double content)
set content of bin (1-D)
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 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)
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 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)
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 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)
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 372 of file ContainerSingle2D.cc.

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

374  {
375  if (_qx->isCoordinate())
376  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
377  else
378  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
379  }
void setBinContent(int binx, double content)
set content of bin (1-D)
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 486 of file ContainerSingle2D.cc.

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

488  {
489  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
490  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 491 of file ContainerSingle2D.cc.

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

493  {
494  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
495  }
void setBinContent(int binx, double content)
set content of bin (1-D)
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 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)
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 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)
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 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)
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 520 of file ContainerSingle2D.cc.

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

522  {
523  if (_qx->isCoordinate())
524  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
525  else
526  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
527  }
void setBinContent(int binx, double content)
set content of bin (1-D)
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 649 of file ContainerSingle2D.cc.

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

651  {
652  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
653  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 654 of file ContainerSingle2D.cc.

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

656  {
657  _me->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
658  }
void setBinContent(int binx, double content)
set content of bin (1-D)
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 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)
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 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)
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 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)
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 683 of file ContainerSingle2D.cc.

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

685  {
686  if (_qx->isCoordinate())
687  _me->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
688  else
689  _me->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
690  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
virtual bool isCoordinate()
Definition: Quantity.h:77

Member Data Documentation

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