CMS 3D CMS Logo

HcalPFCut.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_HcalPFCut_h
2 #define CondFormats_HcalObjects_HcalPFCut_h
3 
4 #include <cstdint>
5 
7 
8 class HcalPFCut {
9 public:
10  inline HcalPFCut() : mId_(0), noiseThresh_(0.f), seedThresh_(0.f) {}
11 
12  inline HcalPFCut(unsigned long fId, float noiseThresh, float seedThresh)
13  : mId_(fId), noiseThresh_(noiseThresh), seedThresh_(seedThresh) {}
14 
15  inline uint32_t rawId() const { return mId_; }
16  inline float noiseThreshold() const { return noiseThresh_; }
17  inline float seedThreshold() const { return seedThresh_; }
18 
19  // Methods for HcalDbASCIIIO
20  inline float getValue0() const { return noiseThresh_; }
21  inline float getValue1() const { return seedThresh_; }
22 
23 private:
24  uint32_t mId_;
25  float noiseThresh_;
26  float seedThresh_;
27 
29 };
30 
31 #endif // CondFormats_HcalObjects_HcalPFCut_h
HcalPFCut()
Definition: HcalPFCut.h:10
uint32_t mId_
Definition: HcalPFCut.h:24
float getValue0() const
Definition: HcalPFCut.h:20
uint32_t rawId() const
Definition: HcalPFCut.h:15
float noiseThresh_
Definition: HcalPFCut.h:25
float noiseThreshold() const
Definition: HcalPFCut.h:16
double f[11][100]
float seedThreshold() const
Definition: HcalPFCut.h:17
HcalPFCut(unsigned long fId, float noiseThresh, float seedThresh)
Definition: HcalPFCut.h:12
#define COND_SERIALIZABLE
Definition: Serializable.h:39
float seedThresh_
Definition: HcalPFCut.h:26
float getValue1() const
Definition: HcalPFCut.h:21