CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CondFormats/ESObjects/interface/ESMissingEnergyCalibration.h

Go to the documentation of this file.
00001 #ifndef CondFormats_ESObjects_ESMissingEnergyCalibration_H
00002 #define CondFormats_ESObjects_ESMissingEnergyCalibration_H
00003 #include <iostream>
00004 
00005 class ESMissingEnergyCalibration {
00006 
00007   public:
00008 
00009     ESMissingEnergyCalibration();
00010     ESMissingEnergyCalibration(const float & ConstAEta0, const float & ConstBEta0, 
00011                                const float & ConstAEta1, const float & ConstBEta1,
00012                                const float & ConstAEta2, const float & ConstBEta2,
00013                                const float & ConstAEta3, const float & ConstBEta3
00014                                );
00015     ~ESMissingEnergyCalibration();
00016 
00017     void  setConstAEta0(const float& value) { ConstAEta0_ = value; }
00018     float getConstAEta0() const { return ConstAEta0_; }
00019     void  setConstBEta0(const float& value) { ConstBEta0_ = value; }
00020     float getConstBEta0() const { return ConstBEta0_; }
00021 
00022     void  setConstAEta1(const float& value) { ConstAEta1_ = value; }
00023     float getConstAEta1() const { return ConstAEta1_; }
00024     void  setConstBEta1(const float& value) { ConstBEta1_ = value; }
00025     float getConstBEta1() const { return ConstBEta1_; }
00026 
00027     void  setConstAEta2(const float& value) { ConstAEta2_ = value; }
00028     float getConstAEta2() const { return ConstAEta2_; }
00029     void  setConstBEta2(const float& value) { ConstBEta2_ = value; }
00030     float getConstBEta2() const { return ConstBEta2_; }
00031 
00032     void  setConstAEta3(const float& value) { ConstAEta3_ = value; }
00033     float getConstAEta3() const { return ConstAEta3_; }
00034     void  setConstBEta3(const float& value) { ConstBEta3_ = value; }
00035     float getConstBEta3() const { return ConstBEta3_; }
00036 
00037     void print(std::ostream& s) const {
00038       s << "ESMissingEnergyCalibration: ES low eta constants" << ConstAEta0_ << " " << ConstBEta0_<< " / " << ConstAEta1_ << " " << ConstBEta1_;
00039     }
00040 
00041   private:
00042 
00043 
00044     float ConstAEta0_;
00045     float ConstBEta0_;
00046 
00047     float ConstAEta1_;
00048     float ConstBEta1_;
00049 
00050     float ConstAEta2_;
00051     float ConstBEta2_;
00052 
00053     float ConstAEta3_;
00054     float ConstBEta3_;
00055 
00056 };
00057 
00058 #endif