CMS 3D CMS Logo

HcalGain Class Reference

Author:
Fedor Ratnikov (UMd) POOL object to store Gain values 4xCapId $Author: ratnikov
Date
2007/12/14 13:31:28
Revision
1.6
More...

#include <CondFormats/HcalObjects/interface/HcalGain.h>

List of all members.

Public Member Functions

float getValue (int fCapId) const
 get value for capId = 0..3
const float * getValues () const
 get value for all capId = 0..3
 HcalGain (unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3)
 HcalGain ()
uint32_t rawId () const

Private Attributes

uint32_t mId
float mValue0
float mValue1
float mValue2
float mValue3


Detailed Description

Author:
Fedor Ratnikov (UMd) POOL object to store Gain values 4xCapId $Author: ratnikov
Date
2007/12/14 13:31:28
Revision
1.6

Definition at line 15 of file HcalGain.h.


Constructor & Destructor Documentation

HcalGain::HcalGain (  )  [inline]

Definition at line 24 of file HcalGain.h.

00024 : mId (0), mValue0 (0), mValue1 (0), mValue2 (0), mValue3 (0) {}

HcalGain::HcalGain ( unsigned long  fId,
float  fCap0,
float  fCap1,
float  fCap2,
float  fCap3 
) [inline]

Definition at line 26 of file HcalGain.h.

00026                                                                                    :
00027     mId (fId),
00028     mValue0 (fCap0),
00029     mValue1 (fCap1),
00030     mValue2 (fCap2),
00031     mValue3 (fCap3) {}


Member Function Documentation

float HcalGain::getValue ( int  fCapId  )  const [inline]

get value for capId = 0..3

Definition at line 20 of file HcalGain.h.

References getValues().

Referenced by XMLDocument::addData(), HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HcalRecHitsMaker::init(), and HcalDigiTester::reco().

00020 {return *(getValues () + fCapId);}

const float* HcalGain::getValues (  )  const [inline]

get value for all capId = 0..3

Definition at line 18 of file HcalGain.h.

References mValue0.

Referenced by fillDefaults(), getValue(), and HcalDbService::makeHcalCalibration().

00018 {return &mValue0;}

uint32_t HcalGain::rawId (  )  const [inline]

Definition at line 33 of file HcalGain.h.

References mId.

00033 {return mId;}


Member Data Documentation

uint32_t HcalGain::mId [private]

Definition at line 36 of file HcalGain.h.

Referenced by rawId().

float HcalGain::mValue0 [private]

Definition at line 37 of file HcalGain.h.

Referenced by getValues().

float HcalGain::mValue1 [private]

Definition at line 38 of file HcalGain.h.

float HcalGain::mValue2 [private]

Definition at line 39 of file HcalGain.h.

float HcalGain::mValue3 [private]

Definition at line 40 of file HcalGain.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:23:41 2009 for CMSSW by  doxygen 1.5.4