CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CondFormats/HcalObjects/interface/HcalLutMetadatum.h

Go to the documentation of this file.
00001 #ifndef HcalLutMetadatum_h
00002 #define HcalLutMetadatum_h
00003 
00004 /*
00005 \class HcalLutMetadatum
00006 \author Gena Kukartsev
00007 contains RecHit calibration, LUT granularity, output LUT threshold for one HCAL channel
00008 */
00009 
00010 class HcalLutMetadatum
00011 {
00012  public:
00013   HcalLutMetadatum(): mId(0), mRCalib(1.0) {}
00014     HcalLutMetadatum(unsigned long fid,
00015                      float rCalib,
00016                      uint8_t lutGranularity,
00017                      uint8_t outputLutThreshold):
00018       mId(fid), 
00019       mRCalib(rCalib),
00020       mLutGranularity(lutGranularity),
00021       mOutputLutThreshold(outputLutThreshold) {}
00022 
00023   uint32_t rawId() const {return mId;}
00024 
00025   float   getRCalib() const {return mRCalib;}
00026   uint8_t getLutGranularity() const {return mLutGranularity;}
00027   uint8_t getOutputLutThreshold() const {return mOutputLutThreshold;}
00028 
00029  private:
00030   uint32_t mId;
00031   float    mRCalib;
00032   uint8_t  mLutGranularity;
00033   uint8_t  mOutputLutThreshold;
00034 };
00035 
00036 #endif