Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:12

0001 #ifndef MESetNonObject_H
0002 #define MESetNonObject_H
0003 
0004 #include "MESet.h"
0005 
0006 namespace ecaldqm {
0007   class MESetNonObject : public MESet {
0008   public:
0009     MESetNonObject(std::string const &,
0010                    binning::ObjectType,
0011                    binning::BinningType,
0012                    MonitorElement::Kind,
0013                    binning::AxisSpecs const * = nullptr,
0014                    binning::AxisSpecs const * = nullptr,
0015                    binning::AxisSpecs const * = nullptr);
0016     MESetNonObject(MESetNonObject const &);
0017     ~MESetNonObject() override;
0018 
0019     MESet &operator=(MESet const &) override;
0020 
0021     MESet *clone(std::string const & = "") const override;
0022 
0023     void book(DQMStore::IBooker &, EcalElectronicsMapping const *) override;
0024     bool retrieve(EcalElectronicsMapping const *, DQMStore::IGetter &, std::string * = nullptr) const override;
0025 
0026     void fill(EcalDQMSetupObjects const, double, double = 1., double = 1.) override;
0027 
0028     void setBinContent(EcalDQMSetupObjects const, int, double) override;
0029 
0030     void setBinError(EcalDQMSetupObjects const, int, double) override;
0031 
0032     void setBinEntries(EcalDQMSetupObjects const, int, double) override;
0033 
0034     double getBinContent(EcalDQMSetupObjects const, int, int = 0) const override;
0035 
0036     double getFloatValue() const;
0037 
0038     double getBinError(EcalDQMSetupObjects const, int, int = 0) const override;
0039 
0040     double getBinEntries(EcalDQMSetupObjects const, int, int = 0) const override;
0041 
0042     int findBin(EcalDQMSetupObjects const, double, double = 0.) const;
0043 
0044     bool isVariableBinning() const override;
0045 
0046   protected:
0047     binning::AxisSpecs const *xaxis_;
0048     binning::AxisSpecs const *yaxis_;
0049     binning::AxisSpecs const *zaxis_;
0050   };
0051 }  // namespace ecaldqm
0052 
0053 #endif