test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
8  /* class MESetDet0D
9  subdetector-based MonitorElement wrapper
10  represents single float MEs (DQM_KIND_REAL)
11  fill = setBinContent
12  */
13 
14  class MESetDet0D : public MESetEcal
15  {
16  public :
18  MESetDet0D(MESetDet0D const&);
19  ~MESetDet0D();
20 
21  MESet* clone(std::string const& = "") const override;
22 
23  void fill(DetId const&, double, double = 0., double = 0.) override;
24  void fill(EcalElectronicsId const&, double, double = 0., double = 0.) override;
25  void fill(int, double, double = 0., double = 0.) override;
26 
27  void setBinContent(DetId const& _id, int, double _value) override { fill(_id, _value); }
28  void setBinContent(EcalElectronicsId const& _id, int, double _value) override { fill(_id, _value); }
29  void setBinContent(int _dcctccid, int, double _value) override { fill(_dcctccid, _value); }
30 
31  double getBinContent(DetId const&, int = 0) const override;
32  double getBinContent(EcalElectronicsId const&, int = 0) const override;
33  double getBinContent(int, int = 0) const override;
34 
35  void reset(double = 0., double = 0., double = 0.) override;
36  };
37 }
38 
39 #endif
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
void fill(DetId const &, double, double=0., double=0.) override
Definition: MESetDet0D.cc:36
double getBinContent(DetId const &, int=0) const override
Definition: MESetDet0D.cc:69
void setBinContent(int _dcctccid, int, double _value) override
Definition: MESetDet0D.h:29
MESet * clone(std::string const &="") const override
Definition: MESetDet0D.cc:26
void setBinContent(DetId const &_id, int, double _value) override
Definition: MESetDet0D.h:27
MESetDet0D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind)
Definition: MESetDet0D.cc:5
Definition: DetId.h:18
void setBinContent(EcalElectronicsId const &_id, int, double _value) override
Definition: MESetDet0D.h:28
void reset(double=0., double=0., double=0.) override
Definition: MESetDet0D.cc:102