CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef HcalZSThreshold_h
00002 #define HcalZSThreshold_h
00003 
00004 /*
00005 \class HcalZSThreshold
00006 \author Radek Ofierzynski
00007 contains one threshold + corresponding DetId
00008 */
00009 
00010 #include <boost/cstdint.hpp>
00011 
00012 class HcalZSThreshold
00013 {
00014  public:
00015   HcalZSThreshold(): mId(0), mLevel(0) {}
00016   HcalZSThreshold(unsigned long fid, int level): mId(fid), mLevel(level) {}
00017 
00018   uint32_t rawId() const {return mId;}
00019 
00020   int getValue() const {return mLevel;}
00021 
00022  private:
00023   uint32_t mId;
00024   int mLevel;
00025 };
00026 
00027 #endif