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 initialize (std::string const &folder, std::string const &qname, 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
 

Additional Inherited Members

- Public Types inherited from hcaldqm::Container
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Detailed Description

Definition at line 19 of file ContainerSingle1D.h.

Constructor & Destructor Documentation

◆ ContainerSingle1D() [1/4]

hcaldqm::ContainerSingle1D::ContainerSingle1D ( )

Definition at line 6 of file ContainerSingle1D.cc.

6  {
7  _qx = nullptr;
8  _qy = nullptr;
9  }
quantity::Quantity * _qx
quantity::Quantity * _qy

◆ ContainerSingle1D() [2/4]

hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)

◆ ContainerSingle1D() [3/4]

hcaldqm::ContainerSingle1D::ContainerSingle1D ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)

◆ ContainerSingle1D() [4/4]

hcaldqm::ContainerSingle1D::ContainerSingle1D ( ContainerSingle1D const &  c)

Definition at line 11 of file ContainerSingle1D.cc.

References _qx, _qy, and c.

11  : Container(c._folder, c._qname) {
12  _qx = c._qx->makeCopy();
13  _qy = c._qy->makeCopy();
14  }
quantity::Quantity * _qx
quantity::Quantity * _qy

◆ ~ContainerSingle1D()

hcaldqm::ContainerSingle1D::~ContainerSingle1D ( )
override

Definition at line 28 of file ContainerSingle1D.cc.

References _qx, and _qy.

28  {
29  if (_qx != nullptr)
30  delete _qx;
31  if (_qy != nullptr)
32  delete _qy;
33  _qx = nullptr;
34  _qy = nullptr;
35  }
quantity::Quantity * _qx
quantity::Quantity * _qy

Member Function Documentation

◆ book()

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

Reimplemented in hcaldqm::ContainerSingleProf1D.

Definition at line 57 of file ContainerSingle1D.cc.

References hcaldqm::Container::_folder, _me, hcaldqm::Container::_qname, _qx, printConversionInfo::aux, customize(), cuy::ib, hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and hcal_dqm_sourceclient-live_cfg::subsystem.

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

57  {
58  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname);
59  _me = ib.book1DD(_qname + (aux.empty() ? aux : "_" + aux),
60  _qname + (aux.empty() ? aux : " " + aux),
61  _qx->nbins(),
62  _qx->min(),
63  _qx->max());
64  customize();
65  }
quantity::Quantity * _qx
virtual double max()
Definition: Quantity.h:60
std::string _folder
Definition: Container.h:37
virtual double min()
Definition: Quantity.h:59
std::string _qname
Definition: Container.h:38
ib
Definition: cuy.py:661

◆ customize()

void hcaldqm::ContainerSingle1D::customize ( )
protectedvirtual

Definition at line 67 of file ContainerSingle1D.cc.

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

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

67  {
68  _me->setAxisTitle(_qx->name(), 1);
69  _me->setAxisTitle(_qy->name(), 2);
70 
71  TH1 *h = _me->getTH1();
72  _qx->setBits(h);
73  _qy->setBits(h);
74 
75  std::vector<std::string> xlabels = _qx->getLabels();
76  for (unsigned int i = 0; i < xlabels.size(); i++)
77  _me->setBinLabel(i + 1, xlabels[i], 1);
78  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
virtual std::string name()
Definition: Quantity.h:34
quantity::Quantity * _qx
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
quantity::Quantity * _qy
virtual 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)
virtual TH1 * getTH1() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

◆ extendAxisRange()

void hcaldqm::ContainerSingle1D::extendAxisRange ( int  l)
virtual

Definition at line 191 of file ContainerSingle1D.cc.

References _me, _qx, dqm::legacy::MonitorElement::getTH1(), cmsLHEtoEOSManager::l, LaserClient_cfi::nbins, hcaldqm::quantity::Quantity::nbins(), hcaldqm::quantity::Quantity::setMax(), and x.

191  {
192  if (l < _qx->nbins())
193  return;
194 
195  int x = _qx->nbins();
196  while (l >= x) {
197  _me->getTH1()->LabelsInflate();
198  x *= 2;
199  _qx->setMax(x);
200  }
201  }
quantity::Quantity * _qx
virtual void setMax(double)
Definition: Quantity.h:64
virtual TH1 * getTH1() const

◆ fill() [1/15]

void hcaldqm::ContainerSingle1D::fill ( int  x)
virtual

◆ fill() [2/15]

void hcaldqm::ContainerSingle1D::fill ( double  x)
virtual

Definition at line 82 of file ContainerSingle1D.cc.

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

82 { _me->Fill(_qx->getValue(x)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [3/15]

void hcaldqm::ContainerSingle1D::fill ( int  x,
int  y 
)
virtual

◆ fill() [4/15]

void hcaldqm::ContainerSingle1D::fill ( int  x,
double  y 
)
virtual

◆ fill() [5/15]

void hcaldqm::ContainerSingle1D::fill ( double  x,
int  y 
)
virtual

◆ fill() [6/15]

void hcaldqm::ContainerSingle1D::fill ( double  x,
double  y 
)
virtual

◆ fill() [7/15]

void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id)
virtual

Definition at line 101 of file ContainerSingle1D.cc.

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

101 { _me->Fill(_qx->getValue(id)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [8/15]

void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 103 of file ContainerSingle1D.cc.

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

103  {
104  if (_qx->isCoordinate())
105  _me->Fill(_qx->getValue(id), _qy->getValue(x));
106  else
107  _me->Fill(_qx->getValue(x));
108  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [9/15]

void hcaldqm::ContainerSingle1D::fill ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 110 of file ContainerSingle1D.cc.

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

110  {
111  if (_qx->isCoordinate())
112  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
113  else
114  _me->Fill(_qy->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:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [10/15]

void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id)
virtual

Definition at line 131 of file ContainerSingle1D.cc.

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

131 { _me->Fill(_qx->getValue(id)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [11/15]

void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 133 of file ContainerSingle1D.cc.

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

133  {
134  if (_qx->isCoordinate())
135  _me->Fill(_qx->getValue(id), _qy->getValue(x));
136  else
137  _me->Fill(_qx->getValue(x));
138  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [12/15]

void hcaldqm::ContainerSingle1D::fill ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Definition at line 140 of file ContainerSingle1D.cc.

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

140  {
141  if (_qx->isCoordinate())
142  _me->Fill(_qx->getValue(id), _qy->getValue(x), y);
143  else
144  _me->Fill(_qy->getValue(x), _qy->getValue(y));
145  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [13/15]

void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 161 of file ContainerSingle1D.cc.

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

161 { _me->Fill(_qx->getValue(id)); }
quantity::Quantity * _qx
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45

◆ fill() [14/15]

void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 163 of file ContainerSingle1D.cc.

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

163  {
164  if (_qx->isCoordinate())
165  _me->Fill(_qx->getValue(id), _qy->getValue(x));
166  else
167  _me->Fill(_qx->getValue(x));
168  }
quantity::Quantity * _qx
quantity::Quantity * _qy
void Fill(long long x)
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ fill() [15/15]

void hcaldqm::ContainerSingle1D::fill ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 170 of file ContainerSingle1D.cc.

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

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:45
virtual bool isCoordinate()
Definition: Quantity.h:61

◆ getBinContent() [1/5]

double hcaldqm::ContainerSingle1D::getBinContent ( int  x)
virtual

Definition at line 92 of file ContainerSingle1D.cc.

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

92 { return _me->getBinContent(_qx->getBin(x)); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [2/5]

double hcaldqm::ContainerSingle1D::getBinContent ( double  x)
virtual

Definition at line 93 of file ContainerSingle1D.cc.

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

93 { return _me->getBinContent(_qx->getBin(x)); }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [3/5]

double hcaldqm::ContainerSingle1D::getBinContent ( HcalDetId const &  id)
virtual

Definition at line 117 of file ContainerSingle1D.cc.

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

117  {
118  return _me->getBinContent(_qx->getBin(id));
119  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [4/5]

double hcaldqm::ContainerSingle1D::getBinContent ( HcalElectronicsId const &  id)
virtual

Definition at line 147 of file ContainerSingle1D.cc.

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

147  {
148  return _me->getBinContent(_qx->getBin(id));
149  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinContent() [5/5]

double hcaldqm::ContainerSingle1D::getBinContent ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 177 of file ContainerSingle1D.cc.

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

177  {
178  return _me->getBinContent(_qx->getBin(id));
179  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual double getBinContent(int binx) const
get content of bin (1-D)

◆ getBinEntries() [1/5]

double hcaldqm::ContainerSingle1D::getBinEntries ( int  x)
virtual

Definition at line 94 of file ContainerSingle1D.cc.

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

94 { return _me->getBinEntries(_qx->getBin(x)); }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [2/5]

double hcaldqm::ContainerSingle1D::getBinEntries ( double  x)
virtual

Definition at line 95 of file ContainerSingle1D.cc.

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

95 { return _me->getBinEntries(_qx->getBin(x)); }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [3/5]

double hcaldqm::ContainerSingle1D::getBinEntries ( HcalDetId const &  id)
virtual

Definition at line 120 of file ContainerSingle1D.cc.

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

120  {
121  return _me->getBinEntries(_qx->getBin(id));
122  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [4/5]

double hcaldqm::ContainerSingle1D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Definition at line 150 of file ContainerSingle1D.cc.

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

150  {
151  return _me->getBinEntries(_qx->getBin(id));
152  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ getBinEntries() [5/5]

double hcaldqm::ContainerSingle1D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Definition at line 180 of file ContainerSingle1D.cc.

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

180  {
181  return _me->getBinEntries(_qx->getBin(id));
182  }
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39

◆ initialize() [1/3]

void hcaldqm::ContainerSingle1D::initialize ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

◆ initialize() [2/3]

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 48 of file ContainerSingle1D.cc.

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

49  {
51  _qx = qx;
52  _qy = qy;
55  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:30
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
quantity::Quantity * _qy
#define debug
Definition: HDRShower.cc:19

◆ initialize() [3/3]

virtual void hcaldqm::Container::initialize
inline

Definition at line 30 of file Container.h.

30  {
31  _folder = folder;
32  _qname = qname;
34  }
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
std::string _folder
Definition: Container.h:37
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:38

◆ print()

virtual void hcaldqm::ContainerSingle1D::print ( void  )
inlinevirtual

Definition at line 94 of file ContainerSingle1D.h.

References hcaldqm::Container::_qname, and gather_cfg::cout.

94 { std::cout << _qname << std::endl; }
std::string _qname
Definition: Container.h:38

◆ reset()

virtual void hcaldqm::ContainerSingle1D::reset ( void  )
inlinevirtual

Definition at line 93 of file ContainerSingle1D.h.

References _me, and dqm::impl::MonitorElement::Reset().

93 { _me->Reset(); }
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.

◆ setBinContent() [1/10]

void hcaldqm::ContainerSingle1D::setBinContent ( int  x,
int  y 
)
virtual

Definition at line 96 of file ContainerSingle1D.cc.

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

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

◆ setBinContent() [2/10]

void hcaldqm::ContainerSingle1D::setBinContent ( int  x,
double  y 
)
virtual

Definition at line 97 of file ContainerSingle1D.cc.

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

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

◆ setBinContent() [3/10]

void hcaldqm::ContainerSingle1D::setBinContent ( double  x,
int  y 
)
virtual

Definition at line 98 of file ContainerSingle1D.cc.

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

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

◆ setBinContent() [4/10]

void hcaldqm::ContainerSingle1D::setBinContent ( double  x,
double  y 
)
virtual

Definition at line 99 of file ContainerSingle1D.cc.

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

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

◆ setBinContent() [5/10]

void hcaldqm::ContainerSingle1D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Definition at line 124 of file ContainerSingle1D.cc.

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

124  {
125  _me->setBinContent(_qx->getBin(id), x);
126  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [6/10]

void hcaldqm::ContainerSingle1D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 127 of file ContainerSingle1D.cc.

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

127  {
128  _me->setBinContent(_qx->getBin(id), x);
129  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [7/10]

void hcaldqm::ContainerSingle1D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Definition at line 154 of file ContainerSingle1D.cc.

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

154  {
155  _me->setBinContent(_qx->getBin(id), x);
156  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [8/10]

void hcaldqm::ContainerSingle1D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 157 of file ContainerSingle1D.cc.

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

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

◆ setBinContent() [9/10]

void hcaldqm::ContainerSingle1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 184 of file ContainerSingle1D.cc.

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

184  {
185  _me->setBinContent(_qx->getBin(id), x);
186  }
quantity::Quantity * _qx
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
virtual void setBinContent(int binx, double content)
set content of bin (1-D)

◆ setBinContent() [10/10]

void hcaldqm::ContainerSingle1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 187 of file ContainerSingle1D.cc.

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

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

◆ showOverflowX()

void hcaldqm::ContainerSingle1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 203 of file ContainerSingle1D.cc.

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

Referenced by LaserTask::bookHistograms().

203 { _qx->showOverflow(showOverflow); }
quantity::Quantity * _qx
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68

◆ showOverflowY()

void hcaldqm::ContainerSingle1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 205 of file ContainerSingle1D.cc.

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

205 { _qy->showOverflow(showOverflow); }
quantity::Quantity * _qy
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68

Member Data Documentation

◆ _me

MonitorElement* hcaldqm::ContainerSingle1D::_me
protected

◆ _qx

quantity::Quantity* hcaldqm::ContainerSingle1D::_qx
protected

◆ _qy

quantity::Quantity* hcaldqm::ContainerSingle1D::_qy
protected