CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Protected Attributes | Private Member Functions | Friends
HcalLutMetadata Class Reference

#include <HcalLutMetadata.h>

Inheritance diagram for HcalLutMetadata:
HcalCondObjectContainer< HcalLutMetadatum > HcalCondObjectContainerBase

Classes

class  NonChannelData
 

Public Member Functions

float getNominalGain () const
 
float getRctLsb () const
 
 HcalLutMetadata ()
 
 HcalLutMetadata (const HcalTopology *topo)
 
std::string myname () const override
 
bool setNominalGain (float gain)
 
bool setRctLsb (float rctlsb)
 
- Public Member Functions inherited from HcalCondObjectContainer< HcalLutMetadatum >
bool addValues (const HcalLutMetadatum &myItem)
 
bool exists (DetId fId) const
 
std::vector< DetIdgetAllChannels () const
 
const tAllContWithNames getAllContainers () const
 
const HcalLutMetadatumgetValues (DetId fId, bool throwOnFail=true) const
 
 HcalCondObjectContainer (const HcalTopology *topo)
 
virtual ~HcalCondObjectContainer ()
 
- Public Member Functions inherited from HcalCondObjectContainerBase
int getCreatorPackedIndexVersion () const
 
void setTopo (const HcalTopology *topo)
 
const HcalTopologytopo () const
 

Protected Attributes

NonChannelData mNonChannelData
 
- Protected Attributes inherited from HcalCondObjectContainerBase
int packedIndexVersion_
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Additional Inherited Members

- Public Types inherited from HcalCondObjectContainer< HcalLutMetadatum >
typedef std::vector< tHcalConttAllContWithNames
 
typedef std::pair< std::string, std::vector< HcalLutMetadatum > > tHcalCont
 
- Protected Member Functions inherited from HcalCondObjectContainerBase
HcalOtherSubdetector extractOther (const DetId &id) const
 
 HcalCondObjectContainerBase (HcalCondObjectContainerBase const &o)
 
 HcalCondObjectContainerBase (HcalCondObjectContainerBase &&)=default
 
 HcalCondObjectContainerBase (const HcalTopology *)
 
unsigned int indexFor (DetId) const
 
HcalCondObjectContainerBaseoperator= (HcalCondObjectContainerBase const &o)
 
HcalCondObjectContainerBaseoperator= (HcalCondObjectContainerBase &&)=default
 
unsigned int sizeFor (DetId) const
 
std::string textForId (const DetId &id) const
 

Detailed Description

Author
Gena Kukartsev POOL object to store conditions associated with HCAL trigger primitive LUT $Author: kukartse
Date
2008/01/22 18:58:47
Revision
1.23

Definition at line 15 of file HcalLutMetadata.h.

Constructor & Destructor Documentation

◆ HcalLutMetadata() [1/2]

HcalLutMetadata::HcalLutMetadata ( )
inline

◆ HcalLutMetadata() [2/2]

HcalLutMetadata::HcalLutMetadata ( const HcalTopology topo)
inline

Member Function Documentation

◆ getNominalGain()

float HcalLutMetadata::getNominalGain ( ) const
inline

◆ getRctLsb()

float HcalLutMetadata::getRctLsb ( ) const
inline

◆ myname()

std::string HcalLutMetadata::myname ( ) const
inlineoverridevirtual

Reimplemented from HcalCondObjectContainer< HcalLutMetadatum >.

Definition at line 22 of file HcalLutMetadata.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

22 { return (std::string) "HcalLutMetadata"; }

◆ serialize()

template<class Archive >
void HcalLutMetadata::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setNominalGain()

bool HcalLutMetadata::setNominalGain ( float  gain)

◆ setRctLsb()

bool HcalLutMetadata::setRctLsb ( float  rctlsb)

Definition at line 12 of file HcalLutMetadata.cc.

References mNonChannelData, HcalLutMetadata::NonChannelData::mRctLsb, and mps_fire::result.

12  {
13  bool result = false;
14  if (rctlsb == 0.25 || rctlsb == 0.5) {
15  mNonChannelData.mRctLsb = rctlsb;
16  result = true;
17  }
18  return result;
19 }
NonChannelData mNonChannelData

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 46 of file HcalLutMetadata.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 46 of file HcalLutMetadata.h.

Member Data Documentation

◆ mNonChannelData

NonChannelData HcalLutMetadata::mNonChannelData
protected

Definition at line 44 of file HcalLutMetadata.h.

Referenced by getNominalGain(), getRctLsb(), setNominalGain(), and setRctLsb().