CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondFormats/HcalObjects/interface/HcalRecoParam.h

Go to the documentation of this file.
00001 #ifndef HcalRecoParam_h
00002 #define HcalRecoParam_h
00003 
00010 #include <boost/cstdint.hpp>
00011 
00012 class HcalRecoParam {
00013  public:
00014   HcalRecoParam():mId(0), mFirstSample(0), mSamplesToAdd(0) {}
00015 
00016   HcalRecoParam(unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd):
00017     mId(fId), mFirstSample(fFirstSample), mSamplesToAdd(fSamplesToAdd) {}
00018 
00019   uint32_t rawId () const {return mId;}
00020 
00021   unsigned int firstSample() const {return mFirstSample;}
00022   unsigned int samplesToAdd() const {return mSamplesToAdd;}
00023 
00024  private:
00025   uint32_t mId;
00026   uint32_t mFirstSample;
00027   uint32_t mSamplesToAdd;
00028 };
00029 
00030 #endif