CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/CondFormats/ESObjects/interface/ESMIPToGeVConstant.h

Go to the documentation of this file.
00001 #ifndef CondFormats_ESObjects_ESMIPToGeVConstant_H
00002 #define CondFormats_ESObjects_ESMIPToGeVConstant_H
00003 #include <iostream>
00004 
00005 class ESMIPToGeVConstant {
00006 
00007   public:
00008 
00009     ESMIPToGeVConstant();
00010     ESMIPToGeVConstant(const float & ESvaluelow, const float & ESvaluehigh);
00011     ~ESMIPToGeVConstant();
00012     void  setESValueLow(const float& value) { ESvaluelow_ = value; }
00013     float getESValueLow() const { return ESvaluelow_; }
00014     void  setESValueHigh(const float& value) { ESvaluehigh_ = value; }
00015     float getESValueHigh() const { return ESvaluehigh_; }
00016     void print(std::ostream& s) const {
00017       s << "ESMIPToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ <<" [GeV/MIP count]";
00018     }
00019 
00020   private:
00021 
00022     float ESvaluelow_;
00023     float ESvaluehigh_;
00024 };
00025 
00026 #endif