Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
HcalObjects
interface
HcalTimingParam.h
Go to the documentation of this file.
1
#ifndef HcalTimingParam_h
2
#define HcalTimingParam_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <boost/cstdint.hpp>
7
8
class
HcalTimingParam
{
9
public
:
10
HcalTimingParam
():
mId
(0),
m_nhits
(0),
m_phase
(0.0),
m_rms
(0.0){}
11
HcalTimingParam
(
unsigned
long
fId,
unsigned
int
nhits
,
float
phase
,
float
rms
):
12
mId
(fId),
m_nhits
(nhits),
m_phase
(phase),
m_rms
(rms){}
13
uint32_t
rawId
()
const
{
return
mId
;}
14
float
phase
()
const
{
return
m_phase
;}
15
float
rms
()
const
{
return
m_rms
;}
16
unsigned
int
nhits
()
const
{
return
m_nhits
;}
17
private
:
18
uint32_t
mId
;
19
uint32_t
m_nhits
;
20
float
m_phase
;
21
float
m_rms
;
22
23
COND_SERIALIZABLE
;
24
};
25
#endif
HcalTimingParam::HcalTimingParam
HcalTimingParam()
Definition:
HcalTimingParam.h:10
HcalTimingParam::phase
float phase() const
Definition:
HcalTimingParam.h:14
HcalTimingParam::HcalTimingParam
HcalTimingParam(unsigned long fId, unsigned int nhits, float phase, float rms)
Definition:
HcalTimingParam.h:11
HcalTimingParam::mId
uint32_t mId
Definition:
HcalTimingParam.h:18
HcalTimingParam::m_rms
float m_rms
Definition:
HcalTimingParam.h:21
HcalTimingParam::rawId
uint32_t rawId() const
Definition:
HcalTimingParam.h:13
HcalTimingParam::nhits
unsigned int nhits() const
Definition:
HcalTimingParam.h:16
HcalTimingParam::m_phase
float m_phase
Definition:
HcalTimingParam.h:20
HcalTimingParam::m_nhits
uint32_t m_nhits
Definition:
HcalTimingParam.h:19
HcalTimingParam::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
HcalTimingParam.h:23
HcalTimingParam
Definition:
HcalTimingParam.h:8
HcalTimingParam::rms
float rms() const
Definition:
HcalTimingParam.h:15
Serializable.h
Generated for CMSSW Reference Manual by
1.8.5