CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 
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
inlinevirtual

Reimplemented from HcalCondObjectContainer< HcalLutMetadatum >.

Definition at line 23 of file HcalLutMetadata.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

23 {return (std::string)"HcalLutMetadata";}
template<class Archive >
void HcalLutMetadata::serialize ( Archive &  ar,
const unsigned int  version 
)
private
bool HcalLutMetadata::setNominalGain ( float  gain)

Definition at line 22 of file HcalLutMetadata.cc.

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

22  {
23  bool result = false;
25  result=true;
26  return result;
27 }
NonChannelData mNonChannelData
tuple result
Definition: mps_fire.py:83
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
tuple result
Definition: mps_fire.py:83

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().