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 >

Classes

class  NonChannelData
 

Public Member Functions

float getNominalGain () const
 
float getRctLsb () const
 
 HcalLutMetadata ()
 
std::string myname () const
 
bool setNominalGain (float gain)
 
bool setRctLsb (float rctlsb)
 
- Public Member Functions inherited from HcalCondObjectContainer< HcalLutMetadatum >
bool addValues (const HcalLutMetadatum &myItem, bool h2mode_=false)
 
const bool exists (DetId fId) const
 
std::vector< DetIdgetAllChannels () const
 
const tAllContWithNames getAllContainers () const
 
const HcalLutMetadatumgetValues (DetId fId) const
 
 HcalCondObjectContainer ()
 
virtual ~HcalCondObjectContainer ()
 

Protected Attributes

NonChannelData mNonChannelData
 

Additional Inherited Members

- Public Types inherited from HcalCondObjectContainer< HcalLutMetadatum >
typedef std::vector< tHcalConttAllContWithNames
 
typedef std::pair< std::string,
std::vector< HcalLutMetadatum > > 
tHcalCont
 

Detailed Description

Author
Gena Kukartsev POOL object to store conditions associated with HCAL trigger primitive LUT $Author: kukartse
Date:
2009/09/18 14:24:16
Revision:
1.1

Definition at line 13 of file HcalLutMetadata.h.

Constructor & Destructor Documentation

HcalLutMetadata::HcalLutMetadata ( )
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 18 of file HcalLutMetadata.h.

18 {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 39 of file HcalLutMetadata.h.

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