CMS 3D CMS Logo

HcalTimingParam.h
Go to the documentation of this file.
1 #ifndef HcalTimingParam_h
2 #define HcalTimingParam_h
3 
5 #include <cstdint>
6 
8 public:
9  HcalTimingParam() : mId(0), m_nhits(0), m_phase(0.0), m_rms(0.0) {}
10  HcalTimingParam(unsigned long fId, unsigned int nhits, float phase, float rms)
11  : mId(fId), m_nhits(nhits), m_phase(phase), m_rms(rms) {}
12  uint32_t rawId() const { return mId; }
13  float phase() const { return m_phase; }
14  float rms() const { return m_rms; }
15  unsigned int nhits() const { return m_nhits; }
16 
17 private:
18  uint32_t mId;
19  uint32_t m_nhits;
20  float m_phase;
21  float m_rms;
22 
24 };
25 #endif
float phase() const
HcalTimingParam(unsigned long fId, unsigned int nhits, float phase, float rms)
uint32_t rawId() const
unsigned int nhits() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float rms() const