src
CondFormats
HcalObjects
interface
HcalZDCLowGainFraction.h
Go to the documentation of this file.
1
#ifndef HcalZDCLowGainFraction_h
2
#define HcalZDCLowGainFraction_h
3
10
#include "
CondFormats/Serialization/interface/Serializable.h
"
11
#include <cstdint>
12
13
class
HcalZDCLowGainFraction
{
14
public
:
15
HcalZDCLowGainFraction
() :
mId
(0),
mValue
(0) {}
16
17
HcalZDCLowGainFraction
(
unsigned
long
fid,
float
value
) :
mId
(fid),
mValue
(
value
) {}
18
19
uint32_t
rawId
()
const
{
return
mId
; }
20
21
float
getValue
()
const
{
return
mValue
; }
22
23
private
:
24
uint32_t
mId
;
25
float
mValue
;
26
27
COND_SERIALIZABLE
;
28
};
29
30
#endif
HcalZDCLowGainFraction::mValue
float mValue
Definition:
HcalZDCLowGainFraction.h:25
HcalZDCLowGainFraction::HcalZDCLowGainFraction
HcalZDCLowGainFraction()
Definition:
HcalZDCLowGainFraction.h:15
HcalZDCLowGainFraction::getValue
float getValue() const
Definition:
HcalZDCLowGainFraction.h:21
HcalZDCLowGainFraction::mId
uint32_t mId
Definition:
HcalZDCLowGainFraction.h:24
value
Definition:
value.py:1
HcalZDCLowGainFraction
Definition:
HcalZDCLowGainFraction.h:13
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalZDCLowGainFraction::rawId
uint32_t rawId() const
Definition:
HcalZDCLowGainFraction.h:19
Serializable.h
HcalZDCLowGainFraction::HcalZDCLowGainFraction
HcalZDCLowGainFraction(unsigned long fid, float value)
Definition:
HcalZDCLowGainFraction.h:17
Generated for CMSSW Reference Manual by
1.8.14