Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:14

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