CMS 3D CMS Logo

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

#include <ContainerSingle1D.h>

Inheritance diagram for hcaldqm::ContainerSingle1D:
hcaldqm::Container hcaldqm::ContainerSingleProf1D

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="")
 
 ContainerSingle1D ()
 
 ContainerSingle1D (std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN))
 
 ContainerSingle1D (std::string const &folder, std::string const &, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN))
 
 ContainerSingle1D (ContainerSingle1D const &)
 
virtual void extendAxisRange (int)
 
virtual void fill (int)
 
virtual void fill (double)
 
virtual void fill (int, int)
 
virtual void fill (int, double)
 
virtual void fill (double, int)
 
virtual void fill (double, double)
 
virtual void fill (HcalDetId const &)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual double getBinContent (int)
 
virtual double getBinContent (double)
 
virtual double getBinContent (HcalDetId const &)
 
virtual double getBinContent (HcalElectronicsId const &)
 
virtual double getBinContent (HcalTrigTowerDetId const &)
 
virtual double getBinEntries (int)
 
virtual double getBinEntries (double)
 
virtual double getBinEntries (HcalDetId const &)
 
virtual double getBinEntries (HcalElectronicsId const &)
 
virtual double getBinEntries (HcalTrigTowerDetId const &)
 
virtual void initialize (std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void print ()
 
virtual void reset ()
 
virtual void setBinContent (int, int)
 
virtual void setBinContent (int, double)
 
virtual void setBinContent (double, int)
 
virtual void setBinContent (double, double)
 
virtual void setBinContent (HcalDetId const &, int)
 
virtual void setBinContent (HcalDetId const &, double)
 
virtual void setBinContent (HcalElectronicsId const &, int)
 
virtual void setBinContent (HcalElectronicsId const &, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double)
 
 ~ContainerSingle1D () 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_qx
 
Quantity_qy
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Detailed Description

Definition at line 20 of file ContainerSingle1D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingle1D::ContainerSingle1D ( )

Definition at line 7 of file ContainerSingle1D.cc.

8  {
9  _qx = nullptr;
10  _qy = nullptr;
11  }
hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
std::string const &  qname,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingle1D::ContainerSingle1D ( ContainerSingle1D const &  c)

Definition at line 13 of file ContainerSingle1D.cc.

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

13  :
14  Container(c._folder, c._qname)
15  {
16  _qx = c._qx->makeCopy();
17  _qy = c._qy->makeCopy();
18  }
hcaldqm::ContainerSingle1D::~ContainerSingle1D ( )
override

Definition at line 37 of file ContainerSingle1D.cc.

References _qx, and _qy.

38  {
39  if (_qx!=nullptr)
40  delete _qx;
41  if (_qy!=nullptr)
42  delete _qy;
43  _qx = nullptr;
44  _qy = nullptr;
45  }

Member Function Documentation

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

Reimplemented in hcaldqm::ContainerSingleProf1D.

Definition at line 68 of file ContainerSingle1D.cc.

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

Referenced by QIE10Task::bookHistograms(), TPTask::bookHistograms(), and QIE11Task::bookHistograms().

70  {
71  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
72  _me = ib.book1D(_qname+(aux==""?aux:"_"+aux),
73  _qname+(aux==""?aux:" "+aux),
74  _qx->nbins(), _qx->min(), _qx->max());
75  customize();
76  }
virtual double max()
Definition: Quantity.h:76
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
std::string _folder
Definition: Container.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
void hcaldqm::ContainerSingle1D::book ( DQMStore store,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf1D.

Definition at line 78 of file ContainerSingle1D.cc.

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

80  {
81  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
82  _me = store->book1D(_qname+(aux==""?aux:"_"+aux),
83  _qname+(aux==""?aux:" "+aux),
84  _qx->nbins(), _qx->min(), _qx->max());
85  customize();
86  }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:882
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
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:588
void hcaldqm::ContainerSingle1D::customize ( )
protectedvirtual

Definition at line 88 of file ContainerSingle1D.cc.

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

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

89  {
90  _me->setAxisTitle(_qx->name(), 1);
91  _me->setAxisTitle(_qy->name(), 2);
92 
93  TH1 *h = _me->getTH1();
94  _qx->setBits(h);
95  _qy->setBits(h);
96 
97  std::vector<std::string> xlabels = _qx->getLabels();
98  for (unsigned int i=0; i<xlabels.size(); i++)
99  _me->setBinLabel(i+1, xlabels[i], 1);
100  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:65
virtual std::string name()
Definition: Quantity.h:47
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)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void hcaldqm::ContainerSingle1D::extendAxisRange ( int  l)
virtual

Definition at line 294 of file ContainerSingle1D.cc.

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

295  {
296  if (l<_qx->nbins())
297  return;
298 
299  int x=_qx->nbins();
300  while(l>=x)
301  {
302  _me->getTH1()->LabelsInflate();
303  x*=2;
304  _qx->setMax(x);
305  }
306  }
TH1 * getTH1() const
virtual void setMax(double)
Definition: Quantity.h:81
void hcaldqm::ContainerSingle1D::fill ( int  x)
virtual
void hcaldqm::ContainerSingle1D::fill ( double  x)
virtual

Definition at line 107 of file ContainerSingle1D.cc.

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

108  {
109  _me->Fill(_qx->getValue(x));
110  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( int  x,
int  y 
)
virtual

Definition at line 112 of file ContainerSingle1D.cc.

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

113  {
114  _me->Fill(_qx->getValue(x), _qy->getValue(y));
115  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( int  x,
double  y 
)
virtual

Definition at line 117 of file ContainerSingle1D.cc.

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

118  {
119  _me->Fill(_qx->getValue(x), _qy->getValue(y));
120  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( double  x,
int  y 
)
virtual

Definition at line 122 of file ContainerSingle1D.cc.

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

123  {
124  _me->Fill(_qx->getValue(x), _qy->getValue(y));
125  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( double  x,
double  y 
)
virtual

Definition at line 127 of file ContainerSingle1D.cc.

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

128  {
129  _me->Fill(_qx->getValue(x), _qy->getValue(y));
130  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id)
virtual

Definition at line 165 of file ContainerSingle1D.cc.

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

166  {
167  _me->Fill(_qx->getValue(id));
168  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 170 of file ContainerSingle1D.cc.

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

171  {
172  if (_qx->isCoordinate())
173  _me->Fill(_qx->getValue(id), _qy->getValue(x));
174  else
175  _me->Fill(_qx->getValue(x));
176  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 178 of file ContainerSingle1D.cc.

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

180  {
181  if (_qx->isCoordinate())
182  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
183  else
184  _me->Fill(_qy->getValue(x), _qy->getValue(y));
185  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id)
virtual

Definition at line 207 of file ContainerSingle1D.cc.

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

208  {
209  _me->Fill(_qx->getValue(id));
210  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 212 of file ContainerSingle1D.cc.

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

214  {
215  if (_qx->isCoordinate())
216  _me->Fill(_qx->getValue(id), _qy->getValue(x));
217  else
218  _me->Fill(_qx->getValue(x));
219  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Definition at line 221 of file ContainerSingle1D.cc.

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

223  {
224  if (_qx->isCoordinate())
225  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
226  else
227  _me->Fill(_qy->getValue(x), _qy->getValue(y));
228  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 250 of file ContainerSingle1D.cc.

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

251  {
252  _me->Fill(_qx->getValue(id));
253  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 255 of file ContainerSingle1D.cc.

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

257  {
258  if (_qx->isCoordinate())
259  _me->Fill(_qx->getValue(id), _qy->getValue(x));
260  else
261  _me->Fill(_qx->getValue(x));
262  }
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 264 of file ContainerSingle1D.cc.

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

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

Definition at line 132 of file ContainerSingle1D.cc.

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

133  {
134  return _me->getBinContent(_qx->getBin(x));
135  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( double  x)
virtual

Definition at line 136 of file ContainerSingle1D.cc.

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

137  {
138  return _me->getBinContent(_qx->getBin(x));
139  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( HcalDetId const &  id)
virtual

Definition at line 187 of file ContainerSingle1D.cc.

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

188  {
189  return _me->getBinContent(_qx->getBin(id));
190  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( HcalElectronicsId const &  id)
virtual

Definition at line 230 of file ContainerSingle1D.cc.

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

231  {
232  return _me->getBinContent(_qx->getBin(id));
233  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinContent ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 274 of file ContainerSingle1D.cc.

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

275  {
276  return _me->getBinContent(_qx->getBin(id));
277  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinContent(int binx) const
get content of bin (1-D)
double hcaldqm::ContainerSingle1D::getBinEntries ( int  x)
virtual

Definition at line 140 of file ContainerSingle1D.cc.

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

141  {
142  return _me->getBinEntries(_qx->getBin(x));
143  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( double  x)
virtual

Definition at line 144 of file ContainerSingle1D.cc.

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

145  {
146  return _me->getBinEntries(_qx->getBin(x));
147  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( HcalDetId const &  id)
virtual

Definition at line 191 of file ContainerSingle1D.cc.

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

192  {
193  return _me->getBinEntries(_qx->getBin(id));
194  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Definition at line 234 of file ContainerSingle1D.cc.

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

235  {
236  return _me->getBinEntries(_qx->getBin(id));
237  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
double hcaldqm::ContainerSingle1D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 278 of file ContainerSingle1D.cc.

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

279  {
280  return _me->getBinEntries(_qx->getBin(id));
281  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
double getBinEntries(int bin) const
get # of bin entries (for profiles)
void hcaldqm::ContainerSingle1D::initialize ( std::string const &  folder,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual
void hcaldqm::ContainerSingle1D::initialize ( std::string const &  folder,
std::string const &  qname,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerSingleProf1D.

Definition at line 57 of file ContainerSingle1D.cc.

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

60  {
62  _qx = qx;
63  _qy = qy;
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
virtual void hcaldqm::ContainerSingle1D::print ( void  )
inlinevirtual

Definition at line 100 of file ContainerSingle1D.h.

References gather_cfg::cout.

100 {std::cout << _qname << std::endl;}
std::string _qname
Definition: Container.h:43
virtual void hcaldqm::ContainerSingle1D::reset ( void  )
inlinevirtual

Definition at line 99 of file ContainerSingle1D.h.

99 {_me->Reset();}
void Reset()
reset ME (ie. contents, errors, etc)
void hcaldqm::ContainerSingle1D::setBinContent ( int  x,
int  y 
)
virtual

Definition at line 148 of file ContainerSingle1D.cc.

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

149  {
150  _me->setBinContent(_qx->getBin(x), y);
151  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle1D::setBinContent ( int  x,
double  y 
)
virtual

Definition at line 152 of file ContainerSingle1D.cc.

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

153  {
154  _me->setBinContent(_qx->getBin(x), y);
155  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle1D::setBinContent ( double  x,
int  y 
)
virtual

Definition at line 156 of file ContainerSingle1D.cc.

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

157  {
158  _me->setBinContent(_qx->getBin(x), y);
159  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle1D::setBinContent ( double  x,
double  y 
)
virtual

Definition at line 160 of file ContainerSingle1D.cc.

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

161  {
162  _me->setBinContent(_qx->getBin(x), y);
163  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle1D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 196 of file ContainerSingle1D.cc.

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

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

Definition at line 201 of file ContainerSingle1D.cc.

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

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

Definition at line 239 of file ContainerSingle1D.cc.

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

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

Definition at line 244 of file ContainerSingle1D.cc.

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

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

Definition at line 283 of file ContainerSingle1D.cc.

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

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

Definition at line 288 of file ContainerSingle1D.cc.

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

290  {
291  _me->setBinContent(_qx->getBin(id), x);
292  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53

Member Data Documentation

MonitorElement* hcaldqm::ContainerSingle1D::_me
protected
Quantity* hcaldqm::ContainerSingle1D::_qx
protected
Quantity* hcaldqm::ContainerSingle1D::_qy
protected