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 
12 #include <boost/cstdint.hpp>
13 
15 {
16  public:
17  HcalZSThreshold(): mId(0), mLevel(0) {}
18  HcalZSThreshold(unsigned long fid, int level): mId(fid), mLevel(level) {}
19 
20  uint32_t rawId() const {return mId;}
21 
22  int getValue() const {return mLevel;}
23 
24  private:
25  uint32_t mId;
26  int mLevel;
27 
29 };
30 
31 #endif
int getValue() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
HcalZSThreshold(unsigned long fid, int level)
uint32_t rawId() const