#include <CondFormats/CastorObjects/interface/CastorPedestal.h>
Public Member Functions | |
CastorPedestal (unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3) | |
CastorPedestal () | |
float | getValue (int fCapId) const |
get value for capId = 0..3 | |
const float * | getValues () const |
get value for all capId = 0..3 | |
uint32_t | rawId () const |
Private Attributes | |
uint32_t | mId |
float | mValue0 |
float | mValue1 |
float | mValue2 |
float | mValue3 |
Definition at line 12 of file CastorPedestal.h.
CastorPedestal::CastorPedestal | ( | ) | [inline] |
CastorPedestal::CastorPedestal | ( | unsigned long | fId, | |
float | fCap0, | |||
float | fCap1, | |||
float | fCap2, | |||
float | fCap3 | |||
) | [inline] |
float CastorPedestal::getValue | ( | int | fCapId | ) | const [inline] |
get value for capId = 0..3
Definition at line 17 of file CastorPedestal.h.
References getValues().
Referenced by CastorPedestals::getValue().
00017 {return *(getValues () + fCapId);}
const float* CastorPedestal::getValues | ( | ) | const [inline] |
get value for all capId = 0..3
Definition at line 15 of file CastorPedestal.h.
References mValue0.
Referenced by getValue(), CastorDbService::makeCastorCalibration(), and CastorHardcodeCalibrations::producePedestals().
00015 {return &mValue0;}
uint32_t CastorPedestal::rawId | ( | ) | const [inline] |
uint32_t CastorPedestal::mId [private] |
float CastorPedestal::mValue0 [private] |
float CastorPedestal::mValue1 [private] |
Definition at line 34 of file CastorPedestal.h.
float CastorPedestal::mValue2 [private] |
Definition at line 35 of file CastorPedestal.h.
float CastorPedestal::mValue3 [private] |
Definition at line 36 of file CastorPedestal.h.