Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-11 03:34:04

0001 #ifndef MESetProjection_H
0002 #define MESetProjection_H
0003 
0004 #include "MESetEcal.h"
0005 
0006 namespace ecaldqm {
0007 
0008   /* class MESetProjection
0009    MonitorElement wrapper for projection type 1D MEs
0010 */
0011 
0012   class MESetProjection : public MESetEcal {
0013   public:
0014     MESetProjection(std::string const &,
0015                     binning::ObjectType,
0016                     binning::BinningType,
0017                     MonitorElement::Kind,
0018                     binning::AxisSpecs const * = nullptr);
0019     MESetProjection(MESetProjection const &);
0020     ~MESetProjection() override;
0021 
0022     MESet *clone(std::string const & = "") const override;
0023 
0024     void fill(EcalDQMSetupObjects const, DetId const &, double = 1., double = 0., double = 0.) override;
0025     void fill(EcalDQMSetupObjects const, int, double = 1., double = 1., double = 0.) override;
0026     void fill(EcalDQMSetupObjects const, double, double = 1., double = 0.) override;
0027 
0028     using MESetEcal::setBinContent;
0029     void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override;
0030 
0031     using MESetEcal::setBinError;
0032     void setBinError(EcalDQMSetupObjects const, DetId const &, double) override;
0033 
0034     using MESetEcal::setBinEntries;
0035     void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override;
0036 
0037     using MESetEcal::getBinContent;
0038     double getBinContent(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
0039 
0040     using MESetEcal::getBinError;
0041     double getBinError(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
0042 
0043     using MESetEcal::getBinEntries;
0044     double getBinEntries(EcalDQMSetupObjects const, DetId const &, int = 0) const override;
0045 
0046   private:
0047     using ecaldqm::MESetEcal::operator=;
0048   };
0049 }  // namespace ecaldqm
0050 
0051 #endif