CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondFormats/ESObjects/interface/ESADCToGeVConstant.h

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