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
ecaldqm::MESetProjection::getBinError
double getBinError(EcalDQMSetupObjects const, DetId const &, int=0) const override
Definition: MESetProjection.cc:358
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:29
ecaldqm::MESetEcal
Definition: MESetEcal.h:15
ecaldqm::MESetEcal::getBinContent
double getBinContent(EcalDQMSetupObjects const, DetId const &, int) const override
Definition: MESetEcal.cc:463
ecaldqm::MESetProjection::getBinEntries
double getBinEntries(EcalDQMSetupObjects const, DetId const &, int=0) const override
Definition: MESetProjection.cc:409
DetId
Definition: DetId.h:17
ecaldqm::MESetEcal::getBinError
double getBinError(EcalDQMSetupObjects const, DetId const &, int) const override
Definition: MESetEcal.cc:493
ecaldqm::MESetProjection::fill
void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=0., double=0.) override
Definition: MESetProjection.cc:42
ecaldqm::MESetEcal::setBinError
void setBinError(EcalDQMSetupObjects const, DetId const &, int, double) override
Definition: MESetEcal.cc:394
ecaldqm::MESetProjection::setBinError
void setBinError(EcalDQMSetupObjects const, DetId const &, double) override
Definition: MESetProjection.cc:185
ecaldqm::MESetEcal::getBinEntries
double getBinEntries(EcalDQMSetupObjects const, DetId const &, int) const override
Definition: MESetEcal.cc:523
MESetEcal.h
ecaldqm::MESetProjection::setBinContent
void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override
Definition: MESetProjection.cc:124
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ecaldqm::MESetProjection
Definition: MESetProjection.h:12
ecaldqm::binning::ObjectType
ObjectType
Definition: MESetBinningUtils.h:18
ecaldqm::EcalDQMSetupObjects
Definition: MESet.h:33
MonitorElementData::Kind
Kind
Definition: MonitorElementCollection.h:129
ecaldqm::binning::AxisSpecs
Definition: MESetBinningUtils.h:73
ecaldqm::MESetProjection::clone
MESet * clone(std::string const &="") const override
Definition: MESetProjection.cc:33
ecaldqm::MESetEcal::setBinEntries
void setBinEntries(EcalDQMSetupObjects const, DetId const &, int, double) override
Definition: MESetEcal.cc:424
ecaldqm::MESetProjection::~MESetProjection
~MESetProjection() override
Definition: MESetProjection.cc:31
ecaldqm::MESetProjection::setBinEntries
void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override
Definition: MESetProjection.cc:246
ecaldqm::MESetProjection::getBinContent
double getBinContent(EcalDQMSetupObjects const, DetId const &, int=0) const override
Definition: MESetProjection.cc:307
ecaldqm::MESetEcal::setBinContent
void setBinContent(EcalDQMSetupObjects const, DetId const &, int, double) override
Definition: MESetEcal.cc:361
ecaldqm::binning::BinningType
BinningType
Definition: MESetBinningUtils.h:41
ecaldqm::MESet
Definition: MESet.h:42