File indexing completed on 2023-03-30 22:38:05
0001 #ifndef CondFormats_HcalObjects_HcalPFCut_h
0002 #define CondFormats_HcalObjects_HcalPFCut_h
0003
0004 #include <cstdint>
0005
0006 #include "CondFormats/Serialization/interface/Serializable.h"
0007
0008 class HcalPFCut {
0009 public:
0010 inline HcalPFCut() : mId_(0), noiseThresh_(0.f), seedThresh_(0.f) {}
0011
0012 inline HcalPFCut(unsigned long fId, float noiseThresh, float seedThresh)
0013 : mId_(fId), noiseThresh_(noiseThresh), seedThresh_(seedThresh) {}
0014
0015 inline uint32_t rawId() const { return mId_; }
0016 inline float noiseThreshold() const { return noiseThresh_; }
0017 inline float seedThreshold() const { return seedThresh_; }
0018
0019
0020 inline float getValue0() const { return noiseThresh_; }
0021 inline float getValue1() const { return seedThresh_; }
0022
0023 private:
0024 uint32_t mId_;
0025 float noiseThresh_;
0026 float seedThresh_;
0027
0028 COND_SERIALIZABLE;
0029 };
0030
0031 #endif