#include <CastorPedestal.h>
Public Member Functions | |
CastorPedestal () | |
CastorPedestal (unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3, float wCap0=0, float wCap1=0, float wCap2=0, float wCap3=0) | |
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 | |
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 |
Adapted for CASTOR by L. Mundim (26/03/2009)
Definition at line 15 of file CastorPedestal.h.
CastorPedestal::CastorPedestal | ( | ) | [inline] |
CastorPedestal::CastorPedestal | ( | 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 CastorPedestal::getValue | ( | int | fCapId | ) | const [inline] |
get value for capId = 0..3
Definition at line 20 of file CastorPedestal.h.
References getValues().
Referenced by CastorPedestalAnalysis::CastorPedVal().
{return *(getValues () + fCapId);}
const float* CastorPedestal::getValues | ( | ) | const [inline] |
get value for all capId = 0..3
Definition at line 18 of file CastorPedestal.h.
References mValue0.
Referenced by CastorDbXml::dumpObject(), getValue(), and CastorDbService::makeCastorCalibration().
{return &mValue0;}
float CastorPedestal::getWidth | ( | int | fCapId | ) | const [inline] |
get width for capId = 0..3
Definition at line 25 of file CastorPedestal.h.
References getWidths().
Referenced by CastorMonitorModule::beginRun().
{return *(getWidths () + fCapId);}
const float* CastorPedestal::getWidths | ( | ) | const [inline] |
get width for all capId = 0..3
Definition at line 23 of file CastorPedestal.h.
References mWidth0.
Referenced by getWidth().
{return &mWidth0;}
uint32_t CastorPedestal::rawId | ( | ) | const [inline] |
uint32_t CastorPedestal::mId [private] |
Definition at line 39 of file CastorPedestal.h.
Referenced by rawId().
float CastorPedestal::mValue0 [private] |
Definition at line 40 of file CastorPedestal.h.
Referenced by getValues().
float CastorPedestal::mValue1 [private] |
Definition at line 41 of file CastorPedestal.h.
float CastorPedestal::mValue2 [private] |
Definition at line 42 of file CastorPedestal.h.
float CastorPedestal::mValue3 [private] |
Definition at line 43 of file CastorPedestal.h.
float CastorPedestal::mWidth0 [private] |
Definition at line 44 of file CastorPedestal.h.
Referenced by getWidths().
float CastorPedestal::mWidth1 [private] |
Definition at line 45 of file CastorPedestal.h.
float CastorPedestal::mWidth2 [private] |
Definition at line 46 of file CastorPedestal.h.
float CastorPedestal::mWidth3 [private] |
Definition at line 47 of file CastorPedestal.h.