test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
17
public
:
18
#ifndef HCAL_COND_SUPPRESS_DEFAULT
19
HcalLutMetadata
() :
HcalCondObjectContainer
<
HcalLutMetadatum
>(0){}
20
#endif
21
HcalLutMetadata
(
const
HcalTopology
*
topo
) :
HcalCondObjectContainer
<
HcalLutMetadatum
>(topo){}
22
23
std::string
myname
()
const
{
return
(
std::string
)
"HcalLutMetadata"
;}
24
25
bool
setRctLsb
(
float
rctlsb);
26
float
getRctLsb
()
const
{
return
mNonChannelData
.
mRctLsb
;}
27
28
bool
setNominalGain
(
float
gain);
29
float
getNominalGain
()
const
{
return
mNonChannelData
.
mNominalGain
;}
30
31
class
NonChannelData
{
32
friend
class
HcalLutMetadata
;
33
public
:
34
NonChannelData
():
35
mRctLsb
(0.0),
36
mNominalGain
(0.0){}
37
38
protected
:
39
float
mRctLsb
;
40
float
mNominalGain
;
41
42
COND_SERIALIZABLE
;
43
};
44
45
protected
:
46
NonChannelData
mNonChannelData
;
47
48
COND_SERIALIZABLE
;
49
};
50
51
#endif
HcalLutMetadata::myname
std::string myname() const
Definition:
HcalLutMetadata.h:23
HcalLutMetadata::HcalLutMetadata
HcalLutMetadata(const HcalTopology *topo)
Definition:
HcalLutMetadata.h:21
HcalCondObjectContainer
Definition:
HcalCondObjectContainer.h:44
HcalTopology
Definition:
HcalTopology.h:25
HcalLutMetadata::mNonChannelData
NonChannelData mNonChannelData
Definition:
HcalLutMetadata.h:46
HcalLutMetadata::HcalLutMetadata
HcalLutMetadata()
Definition:
HcalLutMetadata.h:19
HcalLutMetadata::NonChannelData::NonChannelData
NonChannelData()
Definition:
HcalLutMetadata.h:34
HcalLutMetadata::setRctLsb
bool setRctLsb(float rctlsb)
Definition:
HcalLutMetadata.cc:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HcalCondObjectContainer.h
HcalLutMetadata::NonChannelData::mRctLsb
float mRctLsb
Definition:
HcalLutMetadata.h:39
HcalLutMetadata::getNominalGain
float getNominalGain() const
Definition:
HcalLutMetadata.h:29
HcalLutMetadatum
Definition:
HcalLutMetadatum.h:12
HcalLutMetadata
Definition:
HcalLutMetadata.h:15
HcalLutMetadata::getRctLsb
float getRctLsb() const
Definition:
HcalLutMetadata.h:26
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
HcalLutMetadata::NonChannelData::mNominalGain
float mNominalGain
Definition:
HcalLutMetadata.h:40
HcalLutMetadata::NonChannelData
Definition:
HcalLutMetadata.h:31
Serializable.h
HcalLutMetadatum.h
HcalLutMetadata::setNominalGain
bool setNominalGain(float gain)
Definition:
HcalLutMetadata.cc:22
HcalCondObjectContainerBase::topo
const HcalTopology * topo() const
Definition:
HcalCondObjectContainer.h:20
Generated for CMSSW Reference Manual by
1.8.5