CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/CondFormats/CastorObjects/interface/CastorRecoParam.h

Go to the documentation of this file.
00001 #ifndef CastorRecoParam_h
00002 #define CastorRecoParam_h
00003 
00010 #include <boost/cstdint.hpp>
00011 
00012 class CastorRecoParam {
00013  public:
00014   CastorRecoParam():mId(0), mFirstSample(0), mSamplesToAdd(0) {}
00015 
00016   CastorRecoParam(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