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
personalPlayback.level
level
Definition: personalPlayback.py:22
HcalZSThreshold::HcalZSThreshold
HcalZSThreshold()
Definition: HcalZSThreshold.h:15
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
HcalZSThreshold
Definition: HcalZSThreshold.h:13
HcalZSThreshold::mId
uint32_t mId
Definition: HcalZSThreshold.h:23
HcalZSThreshold::rawId
uint32_t rawId() const
Definition: HcalZSThreshold.h:18
HcalZSThreshold::getValue
int getValue() const
Definition: HcalZSThreshold.h:20
HcalZSThreshold::mLevel
int mLevel
Definition: HcalZSThreshold.h:24
Serializable.h
HcalZSThreshold::HcalZSThreshold
HcalZSThreshold(unsigned long fid, int level)
Definition: HcalZSThreshold.h:16