CondFormats
HcalObjects
interface
HcalLutMetadatum.h
Go to the documentation of this file.
1
#ifndef HcalLutMetadatum_h
2
#define HcalLutMetadatum_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
/*
7
\class HcalLutMetadatum
8
\author Gena Kukartsev
9
contains RecHit calibration, LUT granularity, output LUT threshold for one HCAL channel
10
*/
11
12
class
HcalLutMetadatum
{
13
public
:
14
HcalLutMetadatum
() :
mId
(0),
mRCalib
(1.0) {}
15
HcalLutMetadatum
(
unsigned
long
fid,
float
rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
16
:
mId
(fid),
mRCalib
(rCalib),
mLutGranularity
(lutGranularity),
mOutputLutThreshold
(outputLutThreshold) {}
17
18
uint32_t
rawId
()
const
{
return
mId
; }
19
20
float
getRCalib
()
const
{
return
mRCalib
; }
21
uint8_t
getLutGranularity
()
const
{
return
mLutGranularity
; }
22
uint8_t
getOutputLutThreshold
()
const
{
return
mOutputLutThreshold
; }
23
24
private
:
25
uint32_t
mId
;
26
float
mRCalib
;
27
uint8_t
mLutGranularity
;
28
uint8_t
mOutputLutThreshold
;
29
30
COND_SERIALIZABLE
;
31
};
32
33
#endif
HcalLutMetadatum::getRCalib
float getRCalib() const
Definition:
HcalLutMetadatum.h:20
HcalLutMetadatum::mLutGranularity
uint8_t mLutGranularity
Definition:
HcalLutMetadatum.h:27
HcalLutMetadatum::getLutGranularity
uint8_t getLutGranularity() const
Definition:
HcalLutMetadatum.h:21
HcalLutMetadatum::rawId
uint32_t rawId() const
Definition:
HcalLutMetadatum.h:18
HcalLutMetadatum::mRCalib
float mRCalib
Definition:
HcalLutMetadatum.h:26
HcalLutMetadatum::getOutputLutThreshold
uint8_t getOutputLutThreshold() const
Definition:
HcalLutMetadatum.h:22
HcalLutMetadatum::mOutputLutThreshold
uint8_t mOutputLutThreshold
Definition:
HcalLutMetadatum.h:28
HcalLutMetadatum
Definition:
HcalLutMetadatum.h:12
HcalLutMetadatum::HcalLutMetadatum
HcalLutMetadatum()
Definition:
HcalLutMetadatum.h:14
HcalLutMetadatum::HcalLutMetadatum
HcalLutMetadatum(unsigned long fid, float rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
Definition:
HcalLutMetadatum.h:15
HcalLutMetadatum::mId
uint32_t mId
Definition:
HcalLutMetadatum.h:25
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
Serializable.h
Generated for CMSSW Reference Manual by
1.8.14