CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MESetDet1D.h
Go to the documentation of this file.
1 #ifndef MESetDet1D_H
2 #define MESetDet1D_H
3 
4 #include "MESetEcal.h"
5 
6 namespace ecaldqm
7 {
8  class MESetDet1D : public MESetEcal
9  {
10  public :
11  MESetDet1D(std::string const&, MEData const&, bool _readOnly = false);
12  ~MESetDet1D();
13 
14  // fill using the private fill_
15  void fill(DetId const&, double _wy = 1., double _w = 1., double _unused = 0.);
16  void fill(unsigned, double _wy = 1., double _w = 1., double _unused = 0.);
17 
18  double getBinContent(DetId const&, int _bin = 0) const;
19  double getBinContent(unsigned, int _bin = 0) const;
20 
21  double getBinError(DetId const&, int _bin = 0) const;
22  double getBinError(unsigned, int _bin = 0) const;
23 
24  double getBinEntries(DetId const&, int _bin = 0) const;
25  double getBinEntries(unsigned, int _bin = 0) const;
26 
27  private:
28  void find_(uint32_t) const;
29  void fill_(double, double);
30  };
31 }
32 
33 #endif
double getBinContent(DetId const &, int _bin=0) const
Definition: MESetDet1D.cc:36
void fill(DetId const &, double _wy=1., double _w=1., double _unused=0.)
Definition: MESetDet1D.cc:20
void fill_(double, double)
Definition: MESetDet1D.cc:168
Definition: DetId.h:18
double getBinError(DetId const &, int _bin=0) const
Definition: MESetDet1D.cc:70
double getBinEntries(DetId const &, int _bin=0) const
Definition: MESetDet1D.cc:104
MESetDet1D(std::string const &, MEData const &, bool _readOnly=false)
Definition: MESetDet1D.cc:10
void find_(uint32_t) const
Definition: MESetDet1D.cc:138