CMS 3D CMS Logo

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 
11 
14 
15 class HcalLutMetadata : public HcalCondObjectContainer<HcalLutMetadatum> {
16 public:
17 #ifndef HCAL_COND_SUPPRESS_DEFAULT
19 #endif
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 
31  friend class HcalLutMetadata;
32 
33  public:
35 
36  protected:
37  float mRctLsb;
38  float mNominalGain;
39 
41  };
42 
43 protected:
45 
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
HcalCondObjectContainerBase::topo
const HcalTopology * topo() const
Definition: HcalCondObjectContainer.h:22
Serializable.h
HcalLutMetadata::NonChannelData
Definition: HcalLutMetadata.h:30
HcalCondObjectContainer.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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