Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:09

0001 #ifndef HcalLUTCorr_h
0002 #define HcalLUTCorr_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <vector>
0007 #include <cstdint>
0008 
0009 /*
0010 \class HcalLUTCorr
0011 \author Radek Ofierzynski
0012 contains one LUT correction factor value + corresponding DetId
0013 */
0014 
0015 class HcalLUTCorr {
0016 public:
0017   HcalLUTCorr() : mId(0), mValue(0) {}
0018   HcalLUTCorr(unsigned long fid, float value) : mId(fid), mValue(value) {}
0019 
0020   uint32_t rawId() const { return mId; }
0021 
0022   float getValue() const { return mValue; }
0023 
0024 private:
0025   uint32_t mId;
0026   float mValue;
0027 
0028   COND_SERIALIZABLE;
0029 };
0030 
0031 #endif