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 
4 /*
5 \class HcalLutMetadatum
6 \author Gena Kukartsev
7 contains RecHit calibration, LUT granularity, output LUT threshold for one HCAL channel
8 */
9 
11 {
12  public:
13  HcalLutMetadatum(): mId(0), mRCalib(1.0) {}
14  HcalLutMetadatum(unsigned long fid,
15  float rCalib,
16  uint8_t lutGranularity,
17  uint8_t outputLutThreshold):
18  mId(fid),
19  mRCalib(rCalib),
20  mLutGranularity(lutGranularity),
21  mOutputLutThreshold(outputLutThreshold) {}
22 
23  uint32_t rawId() const {return mId;}
24 
25  float getRCalib() const {return mRCalib;}
26  uint8_t getLutGranularity() const {return mLutGranularity;}
27  uint8_t getOutputLutThreshold() const {return mOutputLutThreshold;}
28 
29  private:
30  uint32_t mId;
31  float mRCalib;
32  uint8_t mLutGranularity;
34 };
35 
36 #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)
list fid
Definition: NewTree.py:51