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 Attributes
hcaldqm::ContainerSingle2D Class Reference

#include <ContainerSingle2D.h>

Inheritance diagram for hcaldqm::ContainerSingle2D:
hcaldqm::Container

Public Member Functions

virtual void book (DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
 
 ContainerSingle2D ()
 
 ContainerSingle2D (std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new CoordinateAxis(fYaxis, axis::fiphi), axis::Axis *zaxis=new ValueAxis(fZaxis, fEntries))
 
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 (int, HcalElectronicsId const &)
 
virtual void fill (int, HcalElectronicsId const &, int)
 
virtual void fill (int, HcalElectronicsId const &, 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 (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 void initialize (std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new CoordinateAxis(fYaxis, axis::fiphi), axis::Axis *zaxis=new ValueAxis(fZaxis, fEntries), int debug=0)
 
virtual void loadLabels (std::vector< std::string > const &)
 
virtual void reset ()
 
virtual void setBinContent (int, int, double)
 
virtual void setBinContent (int, double, double)
 
virtual void setBinContent (unsigned int, int, double)
 
virtual void setBinContent (double, int, double)
 
virtual void setBinContent (double, double, double)
 
virtual ~ContainerSingle2D ()
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &name)
 
virtual void initialize (std::string const &folder, std::string const &name, int debug=0)
 
virtual ~Container ()
 

Protected Attributes

MonitorElement_me
 
Axis_xaxis
 
Axis_yaxis
 
Axis_zaxis
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _name
 

Detailed Description

Definition at line 21 of file ContainerSingle2D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingle2D::ContainerSingle2D ( )

Definition at line 9 of file ContainerSingle2D.cc.

References NULL.

10  {
11  _xaxis = NULL;
12  _yaxis = NULL;
13  _zaxis = NULL;
14  }
#define NULL
Definition: scimark2.h:8
hcaldqm::ContainerSingle2D::ContainerSingle2D ( std::string const &  folder,
std::string const &  nametitle,
axis::Axis xaxis,
axis::Axis yaxis = new CoordinateAxis(fYaxis, axis::fiphi),
axis::Axis zaxis = new ValueAxis(fZaxis, fEntries) 
)

Definition at line 23 of file ContainerSingle2D.cc.

25  :
26  Container(folder, nametitle),
27  _xaxis(xaxis), _yaxis(yaxis), _zaxis(zaxis)
28  {}
hcaldqm::ContainerSingle2D::~ContainerSingle2D ( )
virtual

Definition at line 16 of file ContainerSingle2D.cc.

References NULL.

17  {
18  delete _xaxis; _xaxis=NULL;
19  delete _yaxis; _yaxis=NULL;
20  delete _zaxis; _zaxis=NULL;
21  }
#define NULL
Definition: scimark2.h:8

Member Function Documentation

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

Definition at line 40 of file ContainerSingle2D.cc.

References hcaldqm::Container::_folder, hcaldqm::axis::Axis::_labels, hcaldqm::axis::Axis::_max, _me, hcaldqm::axis::Axis::_min, hcaldqm::Container::_name, hcaldqm::axis::Axis::_nbins, hcaldqm::axis::Axis::_title, _xaxis, _yaxis, _zaxis, DQMStore::IBooker::book2D(), MonitorElement::getRootObject(), i, connectstrParser::o, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), hcaldqm::axis::Axis::setBitAxisFlag(), hcaldqm::axis::Axis::setBitAxisLS(), DQMStore::IBooker::setCurrentFolder(), and hcaldqm::axis::Axis::setLog().

Referenced by RecHitTask::bookHistograms(), TPTask::bookHistograms(), RawTask::bookHistograms(), and DigiTask::bookHistograms().

42  {
44  _me = ib.book2D(_name, _name,
47  TObject *o = _me->getRootObject();
48  _xaxis->setLog(o);
49  _yaxis->setLog(o);
50  _zaxis->setLog(o);
51  _xaxis->setBitAxisLS(o);
52  _yaxis->setBitAxisLS(o);
58  for (unsigned int i=0; i<_xaxis->_labels.size(); i++)
59  _me->setBinLabel(i+1, _xaxis->_labels[i], 1);
60  for (unsigned int i=0; i<_yaxis->_labels.size(); i++)
61  _me->setBinLabel(i+1, _yaxis->_labels[i], 2);
62  }
int i
Definition: DBlmapReader.cc:9
virtual void setBitAxisFlag(TObject *o)
Definition: Axis.h:98
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)
std::string _title
Definition: Axis.h:108
std::vector< std::string > _labels
Definition: Axis.h:109
std::string _folder
Definition: Container.h:42
TObject * getRootObject(void) const
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:273
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
void setLog(TObject *o)
Definition: Axis.h:89
virtual void setBitAxisLS(TObject *o)
Definition: Axis.h:94
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::string _name
Definition: Container.h:43
void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y 
)
virtual

Definition at line 64 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

Referenced by RawTask::_process(), and TPTask::_process().

65  {
66  _me->Fill(_xaxis->get(x), _yaxis->get(y));
67  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
double  y 
)
virtual

Definition at line 69 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

70  {
71  _me->Fill(_xaxis->get(x), _yaxis->get(y));
72  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
double  y,
double  z 
)
virtual

Definition at line 74 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

75  {
76  _me->Fill(_xaxis->get(x), _yaxis->get(y), z);
77  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y,
int  z 
)
virtual

Definition at line 99 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

100  {
101  _me->Fill(_xaxis->get(x), _yaxis->get(y), z);
102  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
int  y,
double  z 
)
virtual

Definition at line 94 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

95  {
96  _me->Fill(_xaxis->get(x), _yaxis->get(y), z);
97  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( double  x,
int  y 
)
virtual

Definition at line 79 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

80  {
81  _me->Fill(_xaxis->get(x), _yaxis->get(y));
82  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( double  x,
double  y 
)
virtual

Definition at line 84 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

85  {
86  _me->Fill(_xaxis->get(x), _yaxis->get(y));
87  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( double  x,
double  y,
double  z 
)
virtual

Definition at line 89 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

90  {
91  _me->Fill(_xaxis->get(x), _yaxis->get(y), z);
92  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
HcalElectronicsId const &  eid 
)
virtual

Definition at line 273 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

275  {
276  _me->Fill(_xaxis->get(x), _yaxis->get(eid));
277  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
HcalElectronicsId const &  eid,
int  z 
)
virtual

Definition at line 279 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

281  {
282  _me->Fill(_xaxis->get(x), _yaxis->get(eid), z);
283  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( int  x,
HcalElectronicsId const &  eid,
double  z 
)
virtual

Definition at line 285 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

287  {
288  _me->Fill(_xaxis->get(x), _yaxis->get(eid), z);
289  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id)
virtual

Definition at line 130 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

131  {
132  _me->Fill(_xaxis->get(id), _yaxis->get(id));
133  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
double  x 
)
virtual

Definition at line 135 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

136  {
137  AxisQType xact = _xaxis->getType();
138  AxisQType yact = _yaxis->getType();
139  if (xact==fCoordinate && yact==fCoordinate)
140  _me->Fill(_xaxis->get(id), _yaxis->get(id), x);
141  else if (xact==fCoordinate)
142  _me->Fill(_xaxis->get(id), _yaxis->get(x));
143  else if (yact==fCoordinate)
144  _me->Fill(_xaxis->get(x), _yaxis->get(id));
145  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 147 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

149  {
150  AxisQType xact = _xaxis->getType();
151  AxisQType yact = _yaxis->getType();
152  if (xact==fCoordinate && yact!=fCoordinate)
153  _me->Fill(_xaxis->get(id), _yaxis->get(x), y);
154  else if (xact!=fCoordinate && yact==fCoordinate)
155  _me->Fill(_xaxis->get(x), _yaxis->get(id), y);
156  else if (xact!=fCoordinate && yact!=fCoordinate)
157  _me->Fill(_xaxis->get(x), _yaxis->get(y));
158  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id)
virtual

Definition at line 160 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

161  {
162  _me->Fill(_xaxis->get(id), _yaxis->get(id));
163  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
double  x 
)
virtual

Definition at line 165 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

167  {
168  AxisQType xact = _xaxis->getType();
169  AxisQType yact = _yaxis->getType();
170  if (xact==fCoordinate && yact==fCoordinate)
171  _me->Fill(_xaxis->get(id), _yaxis->get(id), x);
172  else if (xact==fCoordinate)
173  _me->Fill(_xaxis->get(id), _yaxis->get(x));
174  else if (yact==fCoordinate)
175  _me->Fill(_xaxis->get(x), _yaxis->get(id));
176  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Definition at line 178 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

180  {
181  AxisQType xact = _xaxis->getType();
182  AxisQType yact = _yaxis->getType();
183  if (xact==fCoordinate && yact!=fCoordinate)
184  _me->Fill(_xaxis->get(id), _yaxis->get(x), y);
185  else if (xact!=fCoordinate && yact==fCoordinate)
186  _me->Fill(_xaxis->get(x), _yaxis->get(id), y);
187  else if (xact!=fCoordinate && yact!=fCoordinate)
188  _me->Fill(_xaxis->get(x), _yaxis->get(y));
189  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  did,
HcalElectronicsId const &  eid 
)
virtual

Definition at line 191 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

193  {
194  _me->Fill(_xaxis->get(did), _yaxis->get(eid));
195  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( HcalDetId const &  did,
HcalElectronicsId const &  eid,
double  x 
)
virtual

Definition at line 197 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

199  {
200  _me->Fill(_xaxis->get(did), _yaxis->get(eid), x);
201  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  tid)
virtual

Definition at line 203 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, MonitorElement::Fill(), and hcaldqm::axis::Axis::get().

204  {
205  _me->Fill(_xaxis->get(tid), _yaxis->get(tid));
206  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Definition at line 221 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

223  {
224  AxisQType xact = _xaxis->getType();
225  AxisQType yact = _yaxis->getType();
226  if (xact==fCoordinate && yact==fCoordinate)
227  _me->Fill(_xaxis->get(id), _yaxis->get(id), x);
228  else if (xact==fCoordinate)
229  _me->Fill(_xaxis->get(id), _yaxis->get(x));
230  else if (yact==fCoordinate)
231  _me->Fill(_xaxis->get(x), _yaxis->get(id));
232  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Definition at line 208 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

210  {
211  AxisQType xact = _xaxis->getType();
212  AxisQType yact = _yaxis->getType();
213  if (xact==fCoordinate && yact==fCoordinate)
214  _me->Fill(_xaxis->get(id), _yaxis->get(id), x);
215  else if (xact==fCoordinate)
216  _me->Fill(_xaxis->get(id), _yaxis->get(x));
217  else if (yact==fCoordinate)
218  _me->Fill(_xaxis->get(x), _yaxis->get(id));
219  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Definition at line 234 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

236  {
237  AxisQType xact = _xaxis->getType();
238  AxisQType yact = _yaxis->getType();
239  if (xact==fCoordinate && yact!=fCoordinate)
240  _me->Fill(_xaxis->get(id), _yaxis->get(x), y);
241  else if (xact!=fCoordinate && yact==fCoordinate)
242  _me->Fill(_xaxis->get(x), _yaxis->get(id), y);
243  else if (xact!=fCoordinate && yact!=fCoordinate)
244  _me->Fill(_xaxis->get(x), _yaxis->get(y));
245  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Definition at line 247 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

249  {
250  AxisQType xact = _xaxis->getType();
251  AxisQType yact = _yaxis->getType();
252  if (xact==fCoordinate && yact!=fCoordinate)
253  _me->Fill(_xaxis->get(id), _yaxis->get(x), y);
254  else if (xact!=fCoordinate && yact==fCoordinate)
255  _me->Fill(_xaxis->get(x), _yaxis->get(id), y);
256  else if (xact!=fCoordinate && yact!=fCoordinate)
257  _me->Fill(_xaxis->get(x), _yaxis->get(y));
258  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::fill ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Definition at line 260 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::fCoordinate, MonitorElement::Fill(), hcaldqm::axis::Axis::get(), and hcaldqm::axis::Axis::getType().

262  {
263  AxisQType xact = _xaxis->getType();
264  AxisQType yact = _yaxis->getType();
265  if (xact==fCoordinate && yact!=fCoordinate)
266  _me->Fill(_xaxis->get(id), _yaxis->get(x), y);
267  else if (xact!=fCoordinate && yact==fCoordinate)
268  _me->Fill(_xaxis->get(x), _yaxis->get(id), y);
269  else if (xact!=fCoordinate && yact!=fCoordinate)
270  _me->Fill(_xaxis->get(x), _yaxis->get(y));
271  }
virtual int get(HcalDetId const &)
Definition: Axis.h:72
void Fill(long long x)
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::initialize ( std::string const &  folder,
std::string const &  nametitle,
axis::Axis xaxis,
axis::Axis yaxis = new CoordinateAxis(fYaxis, axis::fiphi),
axis::Axis zaxis = new ValueAxis(fZaxis, fEntries),
int  debug = 0 
)
virtual

Definition at line 30 of file ContainerSingle2D.cc.

References _xaxis, _yaxis, _zaxis, and hcaldqm::Container::initialize().

Referenced by DigiTask::DigiTask(), RawTask::RawTask(), RecHitTask::RecHitTask(), and TPTask::TPTask().

33  {
34  Container::initialize(folder, nametitle, debug);
35  _xaxis =xaxis;
36  _yaxis = yaxis;
37  _zaxis = zaxis;
38  }
virtual void initialize(std::string const &folder, std::string const &name, int debug=0)
Definition: Container.h:33
#define debug
Definition: HDRShower.cc:19
void hcaldqm::ContainerSingle2D::loadLabels ( std::vector< std::string > const &  labels)
virtual

Definition at line 291 of file ContainerSingle2D.cc.

References _xaxis, _yaxis, hcaldqm::axis::fFlag, hcaldqm::axis::Axis::getType(), and hcaldqm::axis::Axis::loadLabels().

Referenced by DigiTask::DigiTask(), RawTask::RawTask(), RecHitTask::RecHitTask(), and TPTask::TPTask().

293  {
294  AxisQType xact = _xaxis->getType();
295  AxisQType yact = _yaxis->getType();
296  if (xact!=fFlag && yact!=fFlag)
297  return;
298  else if (xact!=fFlag)
300  else
302  }
virtual void loadLabels(std::vector< std::string > const &)
Definition: Axis.h:85
AxisQType getType()
Definition: Axis.h:88
void hcaldqm::ContainerSingle2D::reset ( void  )
virtual

Definition at line 304 of file ContainerSingle2D.cc.

References _me, and MonitorElement::Reset().

305  {
306  _me->Reset();
307  }
void Reset(void)
reset ME (ie. contents, errors, etc)
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
int  y,
double  z 
)
virtual
void hcaldqm::ContainerSingle2D::setBinContent ( int  x,
double  y,
double  z 
)
virtual

Definition at line 115 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::Axis::getBin(), and MonitorElement::setBinContent().

116  {
118  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual int getBin(HcalDetId const &)
Definition: Axis.h:79
void hcaldqm::ContainerSingle2D::setBinContent ( unsigned int  x,
int  y,
double  z 
)
virtual

Definition at line 109 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::Axis::getBin(), and MonitorElement::setBinContent().

111  {
113  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual int getBin(HcalDetId const &)
Definition: Axis.h:79
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
int  y,
double  z 
)
virtual

Definition at line 120 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::Axis::getBin(), and MonitorElement::setBinContent().

121  {
123  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual int getBin(HcalDetId const &)
Definition: Axis.h:79
void hcaldqm::ContainerSingle2D::setBinContent ( double  x,
double  y,
double  z 
)
virtual

Definition at line 125 of file ContainerSingle2D.cc.

References _me, _xaxis, _yaxis, hcaldqm::axis::Axis::getBin(), and MonitorElement::setBinContent().

126  {
128  }
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual int getBin(HcalDetId const &)
Definition: Axis.h:79

Member Data Documentation

MonitorElement* hcaldqm::ContainerSingle2D::_me
protected

Definition at line 88 of file ContainerSingle2D.h.

Referenced by book(), fill(), reset(), and setBinContent().

Axis* hcaldqm::ContainerSingle2D::_xaxis
protected

Definition at line 89 of file ContainerSingle2D.h.

Referenced by book(), fill(), initialize(), loadLabels(), and setBinContent().

Axis* hcaldqm::ContainerSingle2D::_yaxis
protected

Definition at line 90 of file ContainerSingle2D.h.

Referenced by book(), fill(), initialize(), loadLabels(), and setBinContent().

Axis* hcaldqm::ContainerSingle2D::_zaxis
protected

Definition at line 91 of file ContainerSingle2D.h.

Referenced by book(), plotting.ROC::create(), and initialize().