CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTimingParam.h
Go to the documentation of this file.
1 #ifndef HcalTimingParam_h
2 #define HcalTimingParam_h
3 
4 #include <boost/cstdint.hpp>
5 
7  public:
8  HcalTimingParam():mId(0),m_nhits(0),m_phase(0.0),m_rms(0.0){}
9  HcalTimingParam(unsigned long fId, unsigned int nhits, float phase,float rms):
10  mId(fId), m_nhits(nhits),m_phase(phase),m_rms(rms){}
11  uint32_t rawId () const {return mId;}
12  float phase() const {return m_phase;}
13  float rms() const {return m_rms;}
14  unsigned int nhits() const {return m_nhits;}
15  private:
16  uint32_t mId;
17  uint32_t m_nhits;
18  float m_phase;
19  float m_rms;
20 };
21 #endif
float phase() const
HcalTimingParam(unsigned long fId, unsigned int nhits, float phase, float rms)
uint32_t rawId() const
unsigned int nhits() const
float rms() const