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(EcalDQMSetupObjects const, DetId const &, double = 1., double = 0., double = 0.) override;
25  void fill(EcalDQMSetupObjects const, int, double = 1., double = 1., double = 0.) override;
26  void fill(EcalDQMSetupObjects const, double, double = 1., double = 0.) override;
27 
29  void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override;
30 
32  void setBinError(EcalDQMSetupObjects const, DetId const &, double) override;
33 
35  void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override;
36 
38  double getBinContent(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
39 
41  double getBinError(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
42 
44  double getBinEntries(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
45  };
46 } // namespace ecaldqm
47 
48 #endif
double getBinEntries(EcalDQMSetupObjects const, DetId const &, int) const override
Definition: MESetEcal.cc:523
void setBinEntries(EcalDQMSetupObjects const, DetId const &, int, double) override
Definition: MESetEcal.cc:424
double getBinContent(EcalDQMSetupObjects const, DetId const &, int=0) const override
MESet * clone(std::string const &="") const override
void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=0., double=0.) override
void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override
double getBinEntries(EcalDQMSetupObjects const, DetId const &, int=0) const override
MESetProjection(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=nullptr)
double getBinError(EcalDQMSetupObjects const, DetId const &, int) const override
Definition: MESetEcal.cc:493
double getBinContent(EcalDQMSetupObjects const, DetId const &, int) const override
Definition: MESetEcal.cc:463
Definition: DetId.h:17
void setBinError(EcalDQMSetupObjects const, DetId const &, int, double) override
Definition: MESetEcal.cc:394
void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override
void setBinContent(EcalDQMSetupObjects const, DetId const &, int, double) override
Definition: MESetEcal.cc:361
void setBinError(EcalDQMSetupObjects const, DetId const &, double) override
double getBinError(EcalDQMSetupObjects const, DetId const &, int=0) const override