Go to the documentation of this file.00001 #ifndef MESetDet1D_H
00002 #define MESetDet1D_H
00003
00004 #include "MESetEcal.h"
00005
00006 namespace ecaldqm
00007 {
00008 class MESetDet1D : public MESetEcal
00009 {
00010 public :
00011 MESetDet1D(std::string const&, MEData const&, bool _readOnly = false);
00012 ~MESetDet1D();
00013
00014
00015 void fill(DetId const&, double _wy = 1., double _w = 1., double _unused = 0.);
00016 void fill(unsigned, double _wy = 1., double _w = 1., double _unused = 0.);
00017
00018 double getBinContent(DetId const&, int _bin = 0) const;
00019 double getBinContent(unsigned, int _bin = 0) const;
00020
00021 double getBinError(DetId const&, int _bin = 0) const;
00022 double getBinError(unsigned, int _bin = 0) const;
00023
00024 double getBinEntries(DetId const&, int _bin = 0) const;
00025 double getBinEntries(unsigned, int _bin = 0) const;
00026
00027 private:
00028 void find_(uint32_t) const;
00029 void fill_(double, double);
00030 };
00031 }
00032
00033 #endif