#include <CastorGain.h>
Public Member Functions | |
CastorGain () | |
CastorGain (unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3) | |
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 CastorGain.h.
CastorGain::CastorGain | ( | ) | [inline] |
CastorGain::CastorGain | ( | unsigned long | fId, |
float | fCap0, | ||
float | fCap1, | ||
float | fCap2, | ||
float | fCap3 | ||
) | [inline] |
float CastorGain::getValue | ( | int | fCapId | ) | const [inline] |
get value for capId = 0..3
Definition at line 17 of file CastorGain.h.
References getValues().
Referenced by CastorSimParameters::fCtoGeV().
{return *(getValues () + fCapId);}
const float* CastorGain::getValues | ( | ) | const [inline] |
get value for all capId = 0..3
Definition at line 15 of file CastorGain.h.
References mValue0.
Referenced by CastorDbXml::dumpObject(), getValue(), and CastorDbService::makeCastorCalibration().
{return &mValue0;}
uint32_t CastorGain::rawId | ( | ) | const [inline] |
uint32_t CastorGain::mId [private] |
Definition at line 33 of file CastorGain.h.
Referenced by rawId().
float CastorGain::mValue0 [private] |
Definition at line 34 of file CastorGain.h.
Referenced by getValues().
float CastorGain::mValue1 [private] |
Definition at line 35 of file CastorGain.h.
float CastorGain::mValue2 [private] |
Definition at line 36 of file CastorGain.h.
float CastorGain::mValue3 [private] |
Definition at line 37 of file CastorGain.h.