CMS 3D CMS Logo

Classes | Public Member Functions | Protected Attributes

HcalLutMetadata Class Reference

#include <HcalLutMetadata.h>

Inheritance diagram for HcalLutMetadata:
HcalCondObjectContainer< HcalLutMetadatum >

List of all members.

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)

Protected Attributes

NonChannelData mNonChannelData

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 [inline, virtual]

Reimplemented from HcalCondObjectContainer< HcalLutMetadatum >.

Definition at line 18 of file HcalLutMetadata.h.

{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.

                                              {
  bool result = false;
  mNonChannelData.mNominalGain=gain;
  result=true;
  return result;
}
bool HcalLutMetadata::setRctLsb ( float  rctlsb)

Definition at line 12 of file HcalLutMetadata.cc.

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

                                           {
  bool result=false;
  if (rctlsb==0.25 || rctlsb==0.5){
    mNonChannelData.mRctLsb=rctlsb;
    result=true;
  }
  return result;
}

Member Data Documentation

Definition at line 39 of file HcalLutMetadata.h.

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