CondFormats
HcalObjects
interface
HcalLutMetadata.h
Go to the documentation of this file.
1
#ifndef HcalLutMetadata_h
2
#define HcalLutMetadata_h
3
4
/*
5
\class HcalLutMetadata
6
\author Gena Kukartsev 17 Sep 2009
7
POOL object to store Hcal trigger LUT channel metadata
8
*/
9
10
#include "
CondFormats/Serialization/interface/Serializable.h
"
11
12
#include "
CondFormats/HcalObjects/interface/HcalCondObjectContainer.h
"
13
#include "
CondFormats/HcalObjects/interface/HcalLutMetadatum.h
"
14
15
class
HcalLutMetadata
:
public
HcalCondObjectContainer
<HcalLutMetadatum> {
16
public
:
17
#ifndef HCAL_COND_SUPPRESS_DEFAULT
18
HcalLutMetadata
() :
HcalCondObjectContainer
<
HcalLutMetadatum
>(nullptr) {}
19
#endif
20
HcalLutMetadata
(
const
HcalTopology
*
topo
) :
HcalCondObjectContainer
<
HcalLutMetadatum
>(
topo
) {}
21
22
std::string
myname
()
const override
{
return
(
std::string
)
"HcalLutMetadata"
; }
23
24
bool
setRctLsb
(
float
rctlsb);
25
float
getRctLsb
()
const
{
return
mNonChannelData
.
mRctLsb
; }
26
27
bool
setNominalGain
(
float
gain
);
28
float
getNominalGain
()
const
{
return
mNonChannelData
.
mNominalGain
; }
29
30
class
NonChannelData
{
31
friend
class
HcalLutMetadata
;
32
33
public
:
34
NonChannelData
() :
mRctLsb
(0.0),
mNominalGain
(0.0) {}
35
36
protected
:
37
float
mRctLsb
;
38
float
mNominalGain
;
39
40
COND_SERIALIZABLE
;
41
};
42
43
protected
:
44
NonChannelData
mNonChannelData
;
45
46
COND_SERIALIZABLE
;
47
};
48
49
#endif
HcalLutMetadatum
Definition:
HcalLutMetadatum.h:12
HcalLutMetadata::HcalLutMetadata
HcalLutMetadata(const HcalTopology *topo)
Definition:
HcalLutMetadata.h:20
HcalLutMetadata::NonChannelData::mNominalGain
float mNominalGain
Definition:
HcalLutMetadata.h:38
HcalLutMetadata::setNominalGain
bool setNominalGain(float gain)
Definition:
HcalLutMetadata.cc:21
HcalTopology
Definition:
HcalTopology.h:26
HcalLutMetadata::HcalLutMetadata
HcalLutMetadata()
Definition:
HcalLutMetadata.h:18
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalLutMetadata::setRctLsb
bool setRctLsb(float rctlsb)
Definition:
HcalLutMetadata.cc:12
HcalCondObjectContainer
Definition:
HcalCondObjectContainer.h:55
HcalLutMetadata::getRctLsb
float getRctLsb() const
Definition:
HcalLutMetadata.h:25
HcalLutMetadata::mNonChannelData
NonChannelData mNonChannelData
Definition:
HcalLutMetadata.h:44
HcalLutMetadata::myname
std::string myname() const override
Definition:
HcalLutMetadata.h:22
HcalLutMetadatum.h
HcalLutMetadata::NonChannelData::NonChannelData
NonChannelData()
Definition:
HcalLutMetadata.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalCondObjectContainerBase::topo
const HcalTopology * topo() const
Definition:
HcalCondObjectContainer.h:22
Serializable.h
HcalLutMetadata::NonChannelData
Definition:
HcalLutMetadata.h:30
HcalCondObjectContainer.h
PedestalClient_cfi.gain
gain
Definition:
PedestalClient_cfi.py:37
HcalLutMetadata
Definition:
HcalLutMetadata.h:15
HcalLutMetadata::getNominalGain
float getNominalGain() const
Definition:
HcalLutMetadata.h:28
HcalLutMetadata::NonChannelData::mRctLsb
float mRctLsb
Definition:
HcalLutMetadata.h:37
Generated for CMSSW Reference Manual by
1.8.16