#include <HcalPedestal.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 | |
float | getWidth (int fCapId) const |
get width for capId = 0..3 | |
const float * | getWidths () const |
get width for all capId = 0..3 | |
HcalPedestal (unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3, float wCap0=0, float wCap1=0, float wCap2=0, float wCap3=0) | |
HcalPedestal () | |
uint32_t | rawId () const |
Private Attributes | |
uint32_t | mId |
float | mValue0 |
float | mValue1 |
float | mValue2 |
float | mValue3 |
float | mWidth0 |
float | mWidth1 |
float | mWidth2 |
float | mWidth3 |
HcalPedestal::HcalPedestal | ( | ) | [inline] |
HcalPedestal::HcalPedestal | ( | unsigned long | fId, |
float | fCap0, | ||
float | fCap1, | ||
float | fCap2, | ||
float | fCap3, | ||
float | wCap0 = 0 , |
||
float | wCap1 = 0 , |
||
float | wCap2 = 0 , |
||
float | wCap3 = 0 |
||
) | [inline] |
float HcalPedestal::getValue | ( | int | fCapId | ) | const [inline] |
get value for capId = 0..3
Definition at line 19 of file HcalPedestal.h.
References getValues().
Referenced by XMLDocument::addData(), HcalAmplifier::addPedestals(), HcalPedestalAnalysis::HcalPedVal(), HcalRecHitsMaker::init(), ZSEnergy_impl::keepMe(), and XMLDocument::makeData().
{return *(getValues () + fCapId);}
const float* HcalPedestal::getValues | ( | ) | const [inline] |
get value for all capId = 0..3
Definition at line 17 of file HcalPedestal.h.
References mValue0.
Referenced by HcalPedestalsCheck::analyze(), HcalDbXml::dumpObject(), fillDefaults(), getValue(), and HcalDbService::makeHcalCalibration().
{return &mValue0;}
float HcalPedestal::getWidth | ( | int | fCapId | ) | const [inline] |
get width for capId = 0..3
Definition at line 24 of file HcalPedestal.h.
References getWidths().
{return *(getWidths () + fCapId);}
const float* HcalPedestal::getWidths | ( | ) | const [inline] |
get width for all capId = 0..3
Definition at line 22 of file HcalPedestal.h.
References mWidth0.
Referenced by getWidth().
{return &mWidth0;}
uint32_t HcalPedestal::rawId | ( | ) | const [inline] |
uint32_t HcalPedestal::mId [private] |
Definition at line 38 of file HcalPedestal.h.
Referenced by rawId().
float HcalPedestal::mValue0 [private] |
Definition at line 39 of file HcalPedestal.h.
Referenced by getValues().
float HcalPedestal::mValue1 [private] |
Definition at line 40 of file HcalPedestal.h.
float HcalPedestal::mValue2 [private] |
Definition at line 41 of file HcalPedestal.h.
float HcalPedestal::mValue3 [private] |
Definition at line 42 of file HcalPedestal.h.
float HcalPedestal::mWidth0 [private] |
Definition at line 43 of file HcalPedestal.h.
Referenced by getWidths().
float HcalPedestal::mWidth1 [private] |
Definition at line 44 of file HcalPedestal.h.
float HcalPedestal::mWidth2 [private] |
Definition at line 45 of file HcalPedestal.h.
float HcalPedestal::mWidth3 [private] |
Definition at line 46 of file HcalPedestal.h.