CMS 3D CMS Logo

HcalZSThreshold.h
Go to the documentation of this file.
1 #ifndef HcalZSThreshold_h
2 #define HcalZSThreshold_h
3 
4 /*
5 \class HcalZSThreshold
6 \author Radek Ofierzynski
7 contains one threshold + corresponding DetId
8 */
9 
11 #include <cstdint>
12 
14 public:
15  HcalZSThreshold() : mId(0), mLevel(0) {}
16  HcalZSThreshold(unsigned long fid, int level) : mId(fid), mLevel(level) {}
17 
18  uint32_t rawId() const { return mId; }
19 
20  int getValue() const { return mLevel; }
21 
22 private:
23  uint32_t mId;
24  int mLevel;
25 
27 };
28 
29 #endif
int getValue() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
HcalZSThreshold(unsigned long fid, int level)
uint32_t rawId() const