CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
HcalTimingParam Class Reference

#include <HcalTimingParam.h>

Public Member Functions

 HcalTimingParam ()
 
 HcalTimingParam (unsigned long fId, unsigned int nhits, float phase, float rms)
 
unsigned int nhits () const
 
float phase () const
 
uint32_t rawId () const
 
float rms () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint32_t m_nhits
 
float m_phase
 
float m_rms
 
uint32_t mId
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 7 of file HcalTimingParam.h.

Constructor & Destructor Documentation

◆ HcalTimingParam() [1/2]

HcalTimingParam::HcalTimingParam ( )
inline

Definition at line 9 of file HcalTimingParam.h.

9 : mId(0), m_nhits(0), m_phase(0.0), m_rms(0.0) {}

◆ HcalTimingParam() [2/2]

HcalTimingParam::HcalTimingParam ( unsigned long  fId,
unsigned int  nhits,
float  phase,
float  rms 
)
inline

Definition at line 10 of file HcalTimingParam.h.

11  : mId(fId), m_nhits(nhits), m_phase(phase), m_rms(rms) {}
float rms() const
float phase() const
unsigned int nhits() const

Member Function Documentation

◆ nhits()

unsigned int HcalTimingParam::nhits ( ) const
inline

Definition at line 15 of file HcalTimingParam.h.

References m_nhits.

15 { return m_nhits; }

◆ phase()

float HcalTimingParam::phase ( ) const
inline

Definition at line 13 of file HcalTimingParam.h.

References m_phase.

13 { return m_phase; }

◆ rawId()

uint32_t HcalTimingParam::rawId ( ) const
inline

Definition at line 12 of file HcalTimingParam.h.

References mId.

12 { return mId; }

◆ rms()

float HcalTimingParam::rms ( ) const
inline

Definition at line 14 of file HcalTimingParam.h.

References m_rms.

14 { return m_rms; }

◆ serialize()

template<class Archive >
void HcalTimingParam::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 23 of file HcalTimingParam.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 23 of file HcalTimingParam.h.

Member Data Documentation

◆ m_nhits

uint32_t HcalTimingParam::m_nhits
private

Definition at line 19 of file HcalTimingParam.h.

Referenced by nhits().

◆ m_phase

float HcalTimingParam::m_phase
private

Definition at line 20 of file HcalTimingParam.h.

Referenced by phase().

◆ m_rms

float HcalTimingParam::m_rms
private

Definition at line 21 of file HcalTimingParam.h.

Referenced by rms().

◆ mId

uint32_t HcalTimingParam::mId
private

Definition at line 18 of file HcalTimingParam.h.

Referenced by rawId().