CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CondFormats/EcalObjects/interface/EcalTimeOffsetConstant.h

Go to the documentation of this file.
00001 #ifndef CondFormats_EcalObjects_EcalTimeOffsetConstant_H
00002 #define CondFormats_EcalObjects_EcalTimeOffsetConstant_H
00003 
00009 #include <iostream>
00010 
00011 class EcalTimeOffsetConstant {
00012   public:
00013     EcalTimeOffsetConstant();
00014     EcalTimeOffsetConstant(const float& EBvalue, const float& EEvalue);
00015     ~EcalTimeOffsetConstant();
00016     void  setEBValue(const float& value) { EBvalue_ = value; }
00017     void  setEEValue(const float& value) { EEvalue_ = value; }
00018     float getEBValue() const { return EBvalue_; }
00019     float getEEValue() const { return EEvalue_; }
00020     void print(std::ostream& s) const {
00021       s << "EcalTimeOffsetConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [ns]";
00022     }
00023 
00024   private:
00025     float EBvalue_;
00026     float EEvalue_;
00027 };
00028 
00036 #endif