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
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
 
void setTopo (const HcalTopology *topo)
 
const HcalTopologytopo () const
 

Protected Attributes

NonChannelData mNonChannelData
 
- Protected Attributes inherited from HcalCondObjectContainerBase
int packedIndexVersion_
 

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 (const HcalTopology *)
 
unsigned int indexFor (DetId) const
 
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 13 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 21 of file HcalLutMetadata.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

21 {return (std::string)"HcalLutMetadata";}
bool HcalLutMetadata::setNominalGain ( float  gain)

Definition at line 22 of file HcalLutMetadata.cc.

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

22  {
23  bool result = false;
25  result=true;
26  return result;
27 }
NonChannelData mNonChannelData
tuple result
Definition: query.py:137
bool HcalLutMetadata::setRctLsb ( float  rctlsb)

Definition at line 12 of file HcalLutMetadata.cc.

References mNonChannelData, HcalLutMetadata::NonChannelData::mRctLsb, and query::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: query.py:137

Member Data Documentation

NonChannelData HcalLutMetadata::mNonChannelData
protected

Definition at line 42 of file HcalLutMetadata.h.

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