#include <CondFormats/HcalObjects/interface/HcalGain.h>
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 |
Definition at line 15 of file HcalGain.h.
HcalGain::HcalGain | ( | ) | [inline] |
HcalGain::HcalGain | ( | unsigned long | fId, | |
float | fCap0, | |||
float | fCap1, | |||
float | fCap2, | |||
float | fCap3 | |||
) | [inline] |
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] |
uint32_t HcalGain::mId [private] |
float HcalGain::mValue0 [private] |
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.