#include <CastorCalibrationQIECoder.h>
Public Member Functions | |
unsigned | adc (const float fCharge) const |
fC -> ADC conversion | |
CastorCalibrationQIECoder (unsigned long fId=0) | |
float | charge (const unsigned fAdc) const |
ADC [0..31] -> fC conversion. | |
float | minCharge (unsigned fBin) const |
const float * | minCharges () const |
uint32_t | rawId () const |
void | setMinCharge (unsigned fBin, float fValue) |
void | setMinCharges (const float fValue[32]) |
Private Member Functions | |
const float * | base () const |
float * | base () |
Private Attributes | |
float | bin0 |
float | bin1 |
float | bin10 |
float | bin11 |
float | bin12 |
float | bin13 |
float | bin14 |
float | bin15 |
float | bin16 |
float | bin17 |
float | bin18 |
float | bin19 |
float | bin2 |
float | bin20 |
float | bin21 |
float | bin22 |
float | bin23 |
float | bin24 |
float | bin25 |
float | bin26 |
float | bin27 |
float | bin28 |
float | bin29 |
float | bin3 |
float | bin30 |
float | bin31 |
float | bin4 |
float | bin5 |
float | bin6 |
float | bin7 |
float | bin8 |
float | bin9 |
uint32_t | mId |
Definition at line 15 of file CastorCalibrationQIECoder.h.
CastorCalibrationQIECoder::CastorCalibrationQIECoder | ( | unsigned long | fId = 0 | ) | [inline] |
Definition at line 17 of file CastorCalibrationQIECoder.h.
: mId (fId) {}
unsigned CastorCalibrationQIECoder::adc | ( | const float | fCharge | ) | const |
fC -> ADC conversion
Definition at line 19 of file CastorCalibrationQIECoder.cc.
References base(), and runTheMatrix::data.
const float* CastorCalibrationQIECoder::base | ( | ) | const [inline, private] |
Definition at line 64 of file CastorCalibrationQIECoder.h.
References bin0.
Referenced by adc(), charge(), minCharge(), minCharges(), setMinCharge(), and setMinCharges().
{return &bin0;}
float* CastorCalibrationQIECoder::base | ( | ) | [inline, private] |
float CastorCalibrationQIECoder::charge | ( | const unsigned | fAdc | ) | const |
ADC [0..31] -> fC conversion.
Definition at line 13 of file CastorCalibrationQIECoder.cc.
References base(), and runTheMatrix::data.
float CastorCalibrationQIECoder::minCharge | ( | unsigned | fBin | ) | const |
Definition at line 28 of file CastorCalibrationQIECoder.cc.
References base(), and runTheMatrix::data.
const float * CastorCalibrationQIECoder::minCharges | ( | ) | const |
Definition at line 33 of file CastorCalibrationQIECoder.cc.
References base(), and runTheMatrix::data.
uint32_t CastorCalibrationQIECoder::rawId | ( | ) | const [inline] |
void CastorCalibrationQIECoder::setMinCharge | ( | unsigned | fBin, |
float | fValue | ||
) |
Definition at line 39 of file CastorCalibrationQIECoder.cc.
References base(), and runTheMatrix::data.
void CastorCalibrationQIECoder::setMinCharges | ( | const float | fValue[32] | ) |
float CastorCalibrationQIECoder::bin0 [private] |
Definition at line 32 of file CastorCalibrationQIECoder.h.
Referenced by base().
float CastorCalibrationQIECoder::bin1 [private] |
Definition at line 33 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin10 [private] |
Definition at line 42 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin11 [private] |
Definition at line 43 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin12 [private] |
Definition at line 44 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin13 [private] |
Definition at line 45 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin14 [private] |
Definition at line 46 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin15 [private] |
Definition at line 47 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin16 [private] |
Definition at line 48 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin17 [private] |
Definition at line 49 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin18 [private] |
Definition at line 50 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin19 [private] |
Definition at line 51 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin2 [private] |
Definition at line 34 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin20 [private] |
Definition at line 52 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin21 [private] |
Definition at line 53 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin22 [private] |
Definition at line 54 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin23 [private] |
Definition at line 55 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin24 [private] |
Definition at line 56 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin25 [private] |
Definition at line 57 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin26 [private] |
Definition at line 58 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin27 [private] |
Definition at line 59 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin28 [private] |
Definition at line 60 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin29 [private] |
Definition at line 61 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin3 [private] |
Definition at line 35 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin30 [private] |
Definition at line 62 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin31 [private] |
Definition at line 63 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin4 [private] |
Definition at line 36 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin5 [private] |
Definition at line 37 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin6 [private] |
Definition at line 38 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin7 [private] |
Definition at line 39 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin8 [private] |
Definition at line 40 of file CastorCalibrationQIECoder.h.
float CastorCalibrationQIECoder::bin9 [private] |
Definition at line 41 of file CastorCalibrationQIECoder.h.
uint32_t CastorCalibrationQIECoder::mId [private] |
Definition at line 31 of file CastorCalibrationQIECoder.h.
Referenced by rawId().