File indexing completed on 2024-04-06 12:01:57
0001 #ifndef CastorSaturationCorr_h
0002 #define CastorSaturationCorr_h
0003
0004
0005
0006
0007
0008
0009
0010 #include "CondFormats/Serialization/interface/Serializable.h"
0011 #include <cstdint>
0012
0013 class CastorSaturationCorr {
0014 public:
0015 CastorSaturationCorr() : mId(0), mSatCorr(0) {}
0016
0017 CastorSaturationCorr(unsigned long fId, float fSatCorr) : mId(fId), mSatCorr(fSatCorr) {}
0018
0019 uint32_t rawId() const { return mId; }
0020
0021 float getValue() const { return mSatCorr; }
0022
0023 private:
0024 uint32_t mId;
0025 float mSatCorr;
0026
0027 COND_SERIALIZABLE;
0028 };
0029
0030 #endif