Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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   // Methods for HcalDbASCIIIO
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  // CondFormats_HcalObjects_HcalPFCut_h