CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalRespCorr.h
Go to the documentation of this file.
1 #ifndef HcalRespCorr_h
2 #define HcalRespCorr_h
3 
4 /*
5 \class HcalRespCorr
6 \author Radek Ofierzynski
7 contains one response correction factor value + corresponding DetId
8 */
9 
11 {
12  public:
13  HcalRespCorr(): mId(0), mValue(0) {}
14  HcalRespCorr(unsigned long fid, float value): mId(fid), mValue(value) {}
15 
16  uint32_t rawId() const {return mId;}
17 
18  float getValue() const {return mValue;}
19 
20  private:
21  uint32_t mId;
22  float mValue;
23 };
24 
25 #endif
HcalRespCorr(unsigned long fid, float value)
Definition: HcalRespCorr.h:14
uint32_t rawId() const
Definition: HcalRespCorr.h:16
uint32_t mId
Definition: HcalRespCorr.h:21
float getValue() const
Definition: HcalRespCorr.h:18
list fid
Definition: NewTree.py:51