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  /* class MESetProjection
9  MonitorElement wrapper for projection type 1D MEs
10 */
11 
12  class MESetProjection : public MESetEcal {
13  public:
18  binning::AxisSpecs const * = nullptr);
20  ~MESetProjection() override;
21 
22  MESet *clone(std::string const & = "") const override;
23 
24  void fill(DetId const &, double = 1., double = 0., double = 0.) override;
25  void fill(int, double = 1., double = 1., double = 0.) override;
26  void fill(double, double = 1., double = 0.) override;
27 
29  void setBinContent(DetId const &, double) override;
30 
32  void setBinError(DetId const &, double) override;
33 
35  void setBinEntries(DetId const &, double) override;
36 
38  double getBinContent(DetId const &, int = 0) const override;
39 
41  double getBinError(DetId const &, int = 0) const override;
42 
44  double getBinEntries(DetId const &, int = 0) const override;
45  };
46 } // namespace ecaldqm
47 
48 #endif
double getBinError(DetId const &, int) const override
Definition: MESetEcal.cc:472
void setBinEntries(DetId const &, double) override
double getBinContent(DetId const &, int) const override
Definition: MESetEcal.cc:442
void setBinError(DetId const &, double) override
void setBinEntries(DetId const &, int, double) override
Definition: MESetEcal.cc:406
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:502
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:346
double getBinContent(DetId const &, int=0) const override
void setBinError(DetId const &, int, double) override
Definition: MESetEcal.cc:376
MESetProjection(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
void setBinContent(DetId const &, double) override