Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
14
public
:
15
HcalLutMetadatum
():
mId
(0),
mRCalib
(1.0) {}
16
HcalLutMetadatum
(
unsigned
long
fid
,
17
float
rCalib,
18
uint8_t lutGranularity,
19
uint8_t outputLutThreshold):
20
mId
(fid),
21
mRCalib
(rCalib),
22
mLutGranularity
(lutGranularity),
23
mOutputLutThreshold
(outputLutThreshold) {}
24
25
uint32_t
rawId
()
const
{
return
mId
;}
26
27
float
getRCalib
()
const
{
return
mRCalib
;}
28
uint8_t
getLutGranularity
()
const
{
return
mLutGranularity
;}
29
uint8_t
getOutputLutThreshold
()
const
{
return
mOutputLutThreshold
;}
30
31
private
:
32
uint32_t
mId
;
33
float
mRCalib
;
34
uint8_t
mLutGranularity
;
35
uint8_t
mOutputLutThreshold
;
36
37
COND_SERIALIZABLE
;
38
};
39
40
#endif
HcalLutMetadatum::mLutGranularity
uint8_t mLutGranularity
Definition:
HcalLutMetadatum.h:34
HcalLutMetadatum::rawId
uint32_t rawId() const
Definition:
HcalLutMetadatum.h:25
HcalLutMetadatum::getOutputLutThreshold
uint8_t getOutputLutThreshold() const
Definition:
HcalLutMetadatum.h:29
HcalLutMetadatum::mRCalib
float mRCalib
Definition:
HcalLutMetadatum.h:33
HcalLutMetadatum::mOutputLutThreshold
uint8_t mOutputLutThreshold
Definition:
HcalLutMetadatum.h:35
HcalLutMetadatum::getLutGranularity
uint8_t getLutGranularity() const
Definition:
HcalLutMetadatum.h:28
HcalLutMetadatum::getRCalib
float getRCalib() const
Definition:
HcalLutMetadatum.h:27
HcalLutMetadatum
Definition:
HcalLutMetadatum.h:12
HcalLutMetadatum::HcalLutMetadatum
HcalLutMetadatum()
Definition:
HcalLutMetadatum.h:15
HcalLutMetadatum::HcalLutMetadatum
HcalLutMetadatum(unsigned long fid, float rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
Definition:
HcalLutMetadatum.h:16
HcalLutMetadatum::mId
uint32_t mId
Definition:
HcalLutMetadatum.h:32
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:37
Serializable.h
NewTree.fid
list fid
Definition:
NewTree.py:51
Generated for CMSSW Reference Manual by
1.8.5