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)
 
const 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::HcalLutMetadata ( )
inline
HcalLutMetadata::HcalLutMetadata ( const HcalTopology topo)
inline

Member Function Documentation

float HcalLutMetadata::getNominalGain ( ) const
inline
float HcalLutMetadata::getRctLsb ( ) const
inline
std::string HcalLutMetadata::myname ( ) const
inlineoverridevirtual
template<class Archive >
void HcalLutMetadata::serialize ( Archive &  ar,
const unsigned int  version 
)
private
bool HcalLutMetadata::setNominalGain ( float  gain)
bool HcalLutMetadata::setRctLsb ( float  rctlsb)

Definition at line 12 of file HcalLutMetadata.cc.

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

Referenced by HcalDbASCIIIO::createObject< HcalElectronicsMap >(), and myname().

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

friend class boost::serialization::access
friend

Definition at line 48 of file HcalLutMetadata.h.

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

Definition at line 48 of file HcalLutMetadata.h.

Member Data Documentation

NonChannelData HcalLutMetadata::mNonChannelData
protected

Definition at line 46 of file HcalLutMetadata.h.

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