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
ecaldqm::MESetProjection::MESetProjection
MESetProjection(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=nullptr)
Definition: MESetProjection.cc:6
ecaldqm
Definition: DQWorker.h:24
ecaldqm::MESetEcal::getBinEntries
double getBinEntries(DetId const &, int) const override
Definition: MESetEcal.cc:506
ecaldqm::MESetEcal::setBinContent
void setBinContent(DetId const &, int, double) override
Definition: MESetEcal.cc:350
ecaldqm::MESetProjection::getBinError
double getBinError(DetId const &, int=0) const override
Definition: MESetProjection.cc:357
ecaldqm::MESetEcal
Definition: MESetEcal.h:15
ecaldqm::MESetEcal::getBinError
double getBinError(DetId const &, int) const override
Definition: MESetEcal.cc:476
ecaldqm::MESetProjection::setBinError
void setBinError(DetId const &, double) override
Definition: MESetProjection.cc:184
DetId
Definition: DetId.h:17
ecaldqm::MESetProjection::fill
void fill(DetId const &, double=1., double=0., double=0.) override
Definition: MESetProjection.cc:42
MESetEcal.h
ecaldqm::MESetEcal::getBinContent
double getBinContent(DetId const &, int) const override
Definition: MESetEcal.cc:446
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ecaldqm::MESetProjection
Definition: MESetProjection.h:12
ecaldqm::binning::ObjectType
ObjectType
Definition: MESetBinningUtils.h:17
MonitorElementData::Kind
Kind
Definition: MonitorElementCollection.h:129
ecaldqm::binning::AxisSpecs
Definition: MESetBinningUtils.h:72
ecaldqm::MESetProjection::clone
MESet * clone(std::string const &="") const override
Definition: MESetProjection.cc:33
ecaldqm::MESetProjection::getBinEntries
double getBinEntries(DetId const &, int=0) const override
Definition: MESetProjection.cc:408
ecaldqm::MESetProjection::~MESetProjection
~MESetProjection() override
Definition: MESetProjection.cc:31
ecaldqm::MESetProjection::getBinContent
double getBinContent(DetId const &, int=0) const override
Definition: MESetProjection.cc:306
ecaldqm::binning::BinningType
BinningType
Definition: MESetBinningUtils.h:40
ecaldqm::MESetProjection::setBinContent
void setBinContent(DetId const &, double) override
Definition: MESetProjection.cc:123
ecaldqm::MESetEcal::setBinEntries
void setBinEntries(DetId const &, int, double) override
Definition: MESetEcal.cc:410
ecaldqm::MESetProjection::setBinEntries
void setBinEntries(DetId const &, double) override
Definition: MESetProjection.cc:245
ecaldqm::MESetEcal::setBinError
void setBinError(DetId const &, int, double) override
Definition: MESetEcal.cc:380
ecaldqm::MESet
Definition: MESet.h:27