CMS 3D CMS Logo

MESetProjection.h
Go to the documentation of this file.
1 #ifndef MESetProjection_H
2 #define MESetProjection_H
3 
4 #include "MESetEcal.h"
5 
6 namespace ecaldqm
7 {
8 
9  /* class MESetProjection
10  MonitorElement wrapper for projection type 1D MEs
11  */
12 
13  class MESetProjection : public MESetEcal {
14  public :
17  ~MESetProjection() override;
18 
19  MESet* clone(std::string const& = "") const override;
20 
21  void fill(DetId const&, double = 1., double = 0., double = 0.) override;
22  void fill(int, double = 1., double = 1., double = 0.) override;
23  void fill(double, double = 1., double = 0.) override;
24 
26  void setBinContent(DetId const&, double) override;
27 
29  void setBinError(DetId const&, double) override;
30 
32  void setBinEntries(DetId const&, double) override;
33 
35  double getBinContent(DetId const&, int = 0) const override;
36 
38  double getBinError(DetId const&, int = 0) const override;
39 
41  double getBinEntries(DetId const&, int = 0) const override;
42  };
43 }
44 
45 #endif
double getBinError(DetId const &, int) const override
Definition: MESetEcal.cc:452
void setBinEntries(DetId const &, double) override
double getBinContent(DetId const &, int) const override
Definition: MESetEcal.cc:419
void setBinError(DetId const &, double) override
void setBinEntries(DetId const &, int, double) override
Definition: MESetEcal.cc:383
double getBinError(DetId const &, int=0) const override
double getBinEntries(DetId const &, int=0) const override
double getBinEntries(DetId const &, int) const override
Definition: MESetEcal.cc:485
Definition: DetId.h:18
void fill(DetId const &, double=1., double=0., double=0.) override
MESet * clone(std::string const &="") const override
void setBinContent(DetId const &, int, double) override
Definition: MESetEcal.cc:317
double getBinContent(DetId const &, int=0) const override
void setBinError(DetId const &, int, double) override
Definition: MESetEcal.cc:350
MESetProjection(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
void setBinContent(DetId const &, double) override