Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:14

0001 #ifndef HcalZSThreshold_h
0002 #define HcalZSThreshold_h
0003 
0004 /*
0005 \class HcalZSThreshold
0006 \author Radek Ofierzynski
0007 contains one threshold + corresponding DetId
0008 */
0009 
0010 #include "CondFormats/Serialization/interface/Serializable.h"
0011 #include <cstdint>
0012 
0013 class HcalZSThreshold {
0014 public:
0015   HcalZSThreshold() : mId(0), mLevel(0) {}
0016   HcalZSThreshold(unsigned long fid, int level) : mId(fid), mLevel(level) {}
0017 
0018   uint32_t rawId() const { return mId; }
0019 
0020   int getValue() const { return mLevel; }
0021 
0022 private:
0023   uint32_t mId;
0024   int mLevel;
0025 
0026   COND_SERIALIZABLE;
0027 };
0028 
0029 #endif