Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:06

0001 #ifndef CondFormats_ESObjects_ESMissingEnergyCalibration_H
0002 #define CondFormats_ESObjects_ESMissingEnergyCalibration_H
0003 #include "CondFormats/Serialization/interface/Serializable.h"
0004 
0005 #include <iostream>
0006 
0007 class ESMissingEnergyCalibration {
0008 public:
0009   ESMissingEnergyCalibration();
0010   ESMissingEnergyCalibration(const float& ConstAEta0,
0011                              const float& ConstBEta0,
0012                              const float& ConstAEta1,
0013                              const float& ConstBEta1,
0014                              const float& ConstAEta2,
0015                              const float& ConstBEta2,
0016                              const float& ConstAEta3,
0017                              const float& ConstBEta3);
0018   ~ESMissingEnergyCalibration();
0019 
0020   void setConstAEta0(const float& value) { ConstAEta0_ = value; }
0021   float getConstAEta0() const { return ConstAEta0_; }
0022   void setConstBEta0(const float& value) { ConstBEta0_ = value; }
0023   float getConstBEta0() const { return ConstBEta0_; }
0024 
0025   void setConstAEta1(const float& value) { ConstAEta1_ = value; }
0026   float getConstAEta1() const { return ConstAEta1_; }
0027   void setConstBEta1(const float& value) { ConstBEta1_ = value; }
0028   float getConstBEta1() const { return ConstBEta1_; }
0029 
0030   void setConstAEta2(const float& value) { ConstAEta2_ = value; }
0031   float getConstAEta2() const { return ConstAEta2_; }
0032   void setConstBEta2(const float& value) { ConstBEta2_ = value; }
0033   float getConstBEta2() const { return ConstBEta2_; }
0034 
0035   void setConstAEta3(const float& value) { ConstAEta3_ = value; }
0036   float getConstAEta3() const { return ConstAEta3_; }
0037   void setConstBEta3(const float& value) { ConstBEta3_ = value; }
0038   float getConstBEta3() const { return ConstBEta3_; }
0039 
0040   void print(std::ostream& s) const {
0041     s << "ESMissingEnergyCalibration: ES low eta constants" << ConstAEta0_ << " " << ConstBEta0_ << " / " << ConstAEta1_
0042       << " " << ConstBEta1_;
0043   }
0044 
0045 private:
0046   float ConstAEta0_;
0047   float ConstBEta0_;
0048 
0049   float ConstAEta1_;
0050   float ConstBEta1_;
0051 
0052   float ConstAEta2_;
0053   float ConstBEta2_;
0054 
0055   float ConstAEta3_;
0056   float ConstBEta3_;
0057 
0058   COND_SERIALIZABLE;
0059 };
0060 
0061 #endif