CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalLutMetadatum.h
Go to the documentation of this file.
1 #ifndef HcalLutMetadatum_h
2 #define HcalLutMetadatum_h
3 
5 
6 /*
7 \class HcalLutMetadatum
8 \author Gena Kukartsev
9 contains RecHit calibration, LUT granularity, output LUT threshold for one HCAL channel
10 */
11 
13 {
14  public:
15  HcalLutMetadatum(): mId(0), mRCalib(1.0) {}
16  HcalLutMetadatum(unsigned long fid,
17  float rCalib,
18  uint8_t lutGranularity,
19  uint8_t outputLutThreshold):
20  mId(fid),
21  mRCalib(rCalib),
22  mLutGranularity(lutGranularity),
23  mOutputLutThreshold(outputLutThreshold) {}
24 
25  uint32_t rawId() const {return mId;}
26 
27  float getRCalib() const {return mRCalib;}
28  uint8_t getLutGranularity() const {return mLutGranularity;}
29  uint8_t getOutputLutThreshold() const {return mOutputLutThreshold;}
30 
31  private:
32  uint32_t mId;
33  float mRCalib;
34  uint8_t mLutGranularity;
36 
38 };
39 
40 #endif
uint32_t rawId() const
uint8_t getOutputLutThreshold() const
uint8_t mOutputLutThreshold
uint8_t getLutGranularity() const
float getRCalib() const
HcalLutMetadatum(unsigned long fid, float rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
list fid
Definition: NewTree.py:51