Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/HcalObjects/interface/HcalCondObjectContainer.h
"
11
#include "
CondFormats/HcalObjects/interface/HcalLutMetadatum.h
"
12
13
class
HcalLutMetadata
:
public
HcalCondObjectContainer
<HcalLutMetadatum>
14
{
15
public
:
16
HcalLutMetadata
() :
HcalCondObjectContainer
<
HcalLutMetadatum
>(){}
17
18
std::string
myname
()
const
{
return
(std::string)
"HcalLutMetadata"
;}
19
20
bool
setRctLsb
(
float
rctlsb);
21
float
getRctLsb
()
const
{
return
mNonChannelData
.
mRctLsb
;}
22
23
bool
setNominalGain
(
float
gain);
24
float
getNominalGain
()
const
{
return
mNonChannelData
.
mNominalGain
;}
25
26
class
NonChannelData
{
27
friend
class
HcalLutMetadata
;
28
public
:
29
NonChannelData
():
30
mRctLsb
(0.0),
31
mNominalGain
(0.0){}
32
33
protected
:
34
float
mRctLsb
;
35
float
mNominalGain
;
36
};
37
38
protected
:
39
NonChannelData
mNonChannelData
;
40
};
41
42
#endif
HcalLutMetadata::myname
std::string myname() const
Definition:
HcalLutMetadata.h:18
HcalCondObjectContainer
Definition:
HcalCondObjectContainer.h:13
HcalLutMetadata::mNonChannelData
NonChannelData mNonChannelData
Definition:
HcalLutMetadata.h:39
HcalLutMetadata::HcalLutMetadata
HcalLutMetadata()
Definition:
HcalLutMetadata.h:16
HcalLutMetadata::NonChannelData::NonChannelData
NonChannelData()
Definition:
HcalLutMetadata.h:29
HcalLutMetadata::setRctLsb
bool setRctLsb(float rctlsb)
Definition:
HcalLutMetadata.cc:12
HcalCondObjectContainer.h
HcalLutMetadata::NonChannelData::mRctLsb
float mRctLsb
Definition:
HcalLutMetadata.h:34
HcalLutMetadata::getNominalGain
float getNominalGain() const
Definition:
HcalLutMetadata.h:24
HcalLutMetadatum
Definition:
HcalLutMetadatum.h:10
HcalLutMetadata
Definition:
HcalLutMetadata.h:13
HcalLutMetadata::getRctLsb
float getRctLsb() const
Definition:
HcalLutMetadata.h:21
HcalLutMetadata::NonChannelData::mNominalGain
float mNominalGain
Definition:
HcalLutMetadata.h:35
HcalLutMetadata::NonChannelData
Definition:
HcalLutMetadata.h:26
HcalLutMetadatum.h
HcalLutMetadata::setNominalGain
bool setNominalGain(float gain)
Definition:
HcalLutMetadata.cc:22
Generated for CMSSW Reference Manual by
1.8.5