CMS 3D CMS Logo

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 public:
14  HcalLutMetadatum() : mId(0), mRCalib(1.0) {}
15  HcalLutMetadatum(unsigned long fid, float rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
16  : mId(fid), mRCalib(rCalib), mLutGranularity(lutGranularity), mOutputLutThreshold(outputLutThreshold) {}
17 
18  uint32_t rawId() const { return mId; }
19 
20  float getRCalib() const { return mRCalib; }
21  uint8_t getLutGranularity() const { return mLutGranularity; }
22  uint8_t getOutputLutThreshold() const { return mOutputLutThreshold; }
23 
24 private:
25  uint32_t mId;
26  float mRCalib;
27  uint8_t mLutGranularity;
29 
31 };
32 
33 #endif
float getRCalib() const
uint8_t getLutGranularity() const
uint32_t rawId() const
uint8_t getOutputLutThreshold() const
uint8_t mOutputLutThreshold
HcalLutMetadatum(unsigned long fid, float rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
#define COND_SERIALIZABLE
Definition: Serializable.h:39