CMS 3D CMS Logo

MESetDet0D.h
Go to the documentation of this file.
1 #ifndef MESetDet0D_H
2 #define MESetDet0D_H
3 
4 #include "MESetEcal.h"
5 
6 namespace ecaldqm {
7  /* class MESetDet0D
8  subdetector-based MonitorElement wrapper
9  represents single float MEs (DQM_KIND_REAL)
10  fill = setBinContent
11 */
12 
13  class MESetDet0D : public MESetEcal {
14  public:
16  MESetDet0D(MESetDet0D const &);
17  ~MESetDet0D() override;
18 
19  MESet *clone(std::string const & = "") const override;
20 
21  void fill(EcalDQMSetupObjects const, DetId const &, double, double = 0., double = 0.) override;
22  void fill(EcalDQMSetupObjects const, EcalElectronicsId const &, double, double = 0., double = 0.) override;
23  void fill(EcalDQMSetupObjects const, int, double, double = 0., double = 0.) override;
24 
25  void setBinContent(EcalDQMSetupObjects const edso, DetId const &_id, int, double _value) override {
26  fill(edso, _id, _value);
27  }
28  void setBinContent(EcalDQMSetupObjects const edso, EcalElectronicsId const &_id, int, double _value) override {
29  fill(edso, _id, _value);
30  }
31  void setBinContent(EcalDQMSetupObjects const edso, int _dcctccid, int, double _value) override {
32  fill(edso, _dcctccid, _value);
33  }
34 
35  double getBinContent(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
36  double getBinContent(EcalDQMSetupObjects const, EcalElectronicsId const &, int = 0) const override;
37  double getBinContent(EcalDQMSetupObjects const, int, int = 0) const override;
38 
39  void reset(EcalElectronicsMapping const *, double = 0., double = 0., double = 0.) override;
40  };
41 } // namespace ecaldqm
42 
43 #endif
EcalElectronicsMapping
Definition: EcalElectronicsMapping.h:28
ecaldqm
Definition: DQWorker.h:37
ecaldqm::MESetDet0D::reset
void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.) override
Definition: MESetDet0D.cc:90
ecaldqm::MESetDet0D::setBinContent
void setBinContent(EcalDQMSetupObjects const edso, DetId const &_id, int, double _value) override
Definition: MESetDet0D.h:25
ecaldqm::MESetEcal
Definition: MESetEcal.h:15
ecaldqm::MESetDet0D::setBinContent
void setBinContent(EcalDQMSetupObjects const edso, EcalElectronicsId const &_id, int, double _value) override
Definition: MESetDet0D.h:28
ecaldqm::MESetDet0D::setBinContent
void setBinContent(EcalDQMSetupObjects const edso, int _dcctccid, int, double _value) override
Definition: MESetDet0D.h:31
DetId
Definition: DetId.h:17
MESetEcal.h
EcalElectronicsId
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
Definition: EcalElectronicsId.h:18
ecaldqm::MESetDet0D::~MESetDet0D
~MESetDet0D() override
Definition: MESetDet0D.cc:19
ecaldqm::MESetDet0D::getBinContent
double getBinContent(EcalDQMSetupObjects const, DetId const &, int=0) const override
Definition: MESetDet0D.cc:60
ecaldqm::binning::ObjectType
ObjectType
Definition: MESetBinningUtils.h:18
ecaldqm::EcalDQMSetupObjects
Definition: MESet.h:33
MonitorElementData::Kind
Kind
Definition: MonitorElementCollection.h:129
ecaldqm::MESetDet0D
Definition: MESetDet0D.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ecaldqm::MESetDet0D::clone
MESet * clone(std::string const &="") const override
Definition: MESetDet0D.cc:21
ecaldqm::MESetDet0D::fill
void fill(EcalDQMSetupObjects const, DetId const &, double, double=0., double=0.) override
Definition: MESetDet0D.cc:30
ecaldqm::binning::BinningType
BinningType
Definition: MESetBinningUtils.h:41
ecaldqm::MESetDet0D::MESetDet0D
MESetDet0D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind)
Definition: MESetDet0D.cc:4
ecaldqm::MESet
Definition: MESet.h:42