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="")
 
 ContainerSingle1D ()
 
 ContainerSingle1D (std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN))
 
 ContainerSingle1D (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *qy=new quantity::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 *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *qy=new quantity::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)
 
virtual void showOverflowX (bool showOverflow)
 
virtual void showOverflowY (bool showOverflow)
 
 ~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::Quantity_qx
 
quantity::Quantity_qy
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Detailed Description

Definition at line 19 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  }
quantity::Quantity * _qx
quantity::Quantity * _qy
hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::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  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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  }
quantity::Quantity * _qx
quantity::Quantity * _qy

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, printConversionInfo::aux, 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(), QIE11Task::bookHistograms(), and LaserTask::bookHistograms().

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

Definition at line 78 of file ContainerSingle1D.cc.

References _me, _qx, _qy, 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::ContainerSingleProf1D::book(), and book().

79  {
80  _me->setAxisTitle(_qx->name(), 1);
81  _me->setAxisTitle(_qy->name(), 2);
82 
83  TH1 *h = _me->getTH1();
84  _qx->setBits(h);
85  _qy->setBits(h);
86 
87  std::vector<std::string> xlabels = _qx->getLabels();
88  for (unsigned int i=0; i<xlabels.size(); i++)
89  _me->setBinLabel(i+1, xlabels[i], 1);
90  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:65
virtual std::string name()
Definition: Quantity.h:47
quantity::Quantity * _qx
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:78
quantity::Quantity * _qy
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 284 of file ContainerSingle1D.cc.

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

Referenced by print().

285  {
286  if (l<_qx->nbins())
287  return;
288 
289  int x=_qx->nbins();
290  while(l>=x)
291  {
292  _me->getTH1()->LabelsInflate();
293  x*=2;
294  _qx->setMax(x);
295  }
296  }
quantity::Quantity * _qx
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 97 of file ContainerSingle1D.cc.

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

98  {
99  _me->Fill(_qx->getValue(x));
100  }
quantity::Quantity * _qx
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 102 of file ContainerSingle1D.cc.

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

103  {
104  _me->Fill(_qx->getValue(x), _qy->getValue(y));
105  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 107 of file ContainerSingle1D.cc.

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

108  {
109  _me->Fill(_qx->getValue(x), _qy->getValue(y));
110  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 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  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 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  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 155 of file ContainerSingle1D.cc.

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

156  {
157  _me->Fill(_qx->getValue(id));
158  }
quantity::Quantity * _qx
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 160 of file ContainerSingle1D.cc.

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

161  {
162  if (_qx->isCoordinate())
163  _me->Fill(_qx->getValue(id), _qy->getValue(x));
164  else
165  _me->Fill(_qx->getValue(x));
166  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 168 of file ContainerSingle1D.cc.

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

170  {
171  if (_qx->isCoordinate())
172  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
173  else
174  _me->Fill(_qy->getValue(x), _qy->getValue(y));
175  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 197 of file ContainerSingle1D.cc.

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

198  {
199  _me->Fill(_qx->getValue(id));
200  }
quantity::Quantity * _qx
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 202 of file ContainerSingle1D.cc.

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

204  {
205  if (_qx->isCoordinate())
206  _me->Fill(_qx->getValue(id), _qy->getValue(x));
207  else
208  _me->Fill(_qx->getValue(x));
209  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 211 of file ContainerSingle1D.cc.

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

213  {
214  if (_qx->isCoordinate())
215  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
216  else
217  _me->Fill(_qy->getValue(x), _qy->getValue(y));
218  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 240 of file ContainerSingle1D.cc.

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

241  {
242  _me->Fill(_qx->getValue(id));
243  }
quantity::Quantity * _qx
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 245 of file ContainerSingle1D.cc.

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

247  {
248  if (_qx->isCoordinate())
249  _me->Fill(_qx->getValue(id), _qy->getValue(x));
250  else
251  _me->Fill(_qx->getValue(x));
252  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 254 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), y);
260  else
261  _me->Fill(_qy->getValue(x), _qy->getValue(y));
262  }
quantity::Quantity * _qx
quantity::Quantity * _qy
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 122 of file ContainerSingle1D.cc.

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

123  {
124  return _me->getBinContent(_qx->getBin(x));
125  }
quantity::Quantity * _qx
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 126 of file ContainerSingle1D.cc.

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

127  {
128  return _me->getBinContent(_qx->getBin(x));
129  }
quantity::Quantity * _qx
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 177 of file ContainerSingle1D.cc.

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

178  {
179  return _me->getBinContent(_qx->getBin(id));
180  }
quantity::Quantity * _qx
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 220 of file ContainerSingle1D.cc.

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

221  {
222  return _me->getBinContent(_qx->getBin(id));
223  }
quantity::Quantity * _qx
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 264 of file ContainerSingle1D.cc.

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

265  {
266  return _me->getBinContent(_qx->getBin(id));
267  }
quantity::Quantity * _qx
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 130 of file ContainerSingle1D.cc.

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

131  {
132  return _me->getBinEntries(_qx->getBin(x));
133  }
quantity::Quantity * _qx
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 134 of file ContainerSingle1D.cc.

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

135  {
136  return _me->getBinEntries(_qx->getBin(x));
137  }
quantity::Quantity * _qx
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 181 of file ContainerSingle1D.cc.

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

182  {
183  return _me->getBinEntries(_qx->getBin(id));
184  }
quantity::Quantity * _qx
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 224 of file ContainerSingle1D.cc.

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

225  {
226  return _me->getBinEntries(_qx->getBin(id));
227  }
quantity::Quantity * _qx
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 268 of file ContainerSingle1D.cc.

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

269  {
270  return _me->getBinEntries(_qx->getBin(id));
271  }
quantity::Quantity * _qx
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::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual
void hcaldqm::ContainerSingle1D::initialize ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::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
quantity::Quantity * _qx
quantity::Quantity * _qy
#define debug
Definition: HDRShower.cc:19
virtual void hcaldqm::ContainerSingle1D::print ( void  )
inlinevirtual
virtual void hcaldqm::ContainerSingle1D::reset ( void  )
inlinevirtual

Definition at line 95 of file ContainerSingle1D.h.

References _me, and MonitorElement::Reset().

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

Definition at line 138 of file ContainerSingle1D.cc.

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

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

Definition at line 142 of file ContainerSingle1D.cc.

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

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

Definition at line 146 of file ContainerSingle1D.cc.

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

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

Definition at line 150 of file ContainerSingle1D.cc.

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

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

Definition at line 186 of file ContainerSingle1D.cc.

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

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

Definition at line 191 of file ContainerSingle1D.cc.

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

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

Definition at line 229 of file ContainerSingle1D.cc.

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

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

Definition at line 234 of file ContainerSingle1D.cc.

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

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

Definition at line 273 of file ContainerSingle1D.cc.

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

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

Definition at line 278 of file ContainerSingle1D.cc.

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

280  {
281  _me->setBinContent(_qx->getBin(id), x);
282  }
void setBinContent(int binx, double content)
set content of bin (1-D)
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
void hcaldqm::ContainerSingle1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 298 of file ContainerSingle1D.cc.

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

Referenced by LaserTask::bookHistograms(), and print().

298  {
299  _qx->showOverflow(showOverflow);
300  }
quantity::Quantity * _qx
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85
void hcaldqm::ContainerSingle1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 302 of file ContainerSingle1D.cc.

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

Referenced by print().

302  {
303  _qy->showOverflow(showOverflow);
304  }
quantity::Quantity * _qy
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85

Member Data Documentation

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