#include <HcalUpgradeQIESample.h>
Public Member Functions | |
int | adc () const |
get the ADC sample More... | |
int | capid () const |
get the Capacitor id More... | |
bool | dv () const |
is the Data Valid bit set? More... | |
bool | er () const |
is the error bit set? More... | |
int | fiber () const |
get the fiber number More... | |
int | fiberAndChan () const |
get the id channel More... | |
int | fiberChan () const |
get the fiber channel number More... | |
HcalUpgradeQIESample () | |
HcalUpgradeQIESample (uint16_t data) | |
HcalUpgradeQIESample (int adc, int capid, int fiber, int fiberchan, bool dv=true, bool er=false) | |
double | nominal_fC () const |
get the nominal FC (no calibrations applied) More... | |
uint16_t | operator() () |
for streaming More... | |
uint16_t | raw () const |
get the raw word More... | |
Private Attributes | |
uint16_t | theSample |
Simple container packer/unpacker for a single QIE data word
Definition at line 13 of file HcalUpgradeQIESample.h.
|
inline |
|
inline |
HcalUpgradeQIESample::HcalUpgradeQIESample | ( | int | adc, |
int | capid, | ||
int | fiber, | ||
int | fiberchan, | ||
bool | dv = true , |
||
bool | er = false |
||
) |
Definition at line 26 of file HcalUpgradeQIESample.cc.
References theSample.
|
inline |
get the ADC sample
Definition at line 22 of file HcalUpgradeQIESample.h.
References theSample.
Referenced by nominal_fC(), and operator<<().
|
inline |
get the Capacitor id
Definition at line 26 of file HcalUpgradeQIESample.h.
References theSample.
Referenced by operator<<().
|
inline |
is the Data Valid bit set?
Definition at line 28 of file HcalUpgradeQIESample.h.
References theSample.
Referenced by operator<<().
|
inline |
is the error bit set?
Definition at line 30 of file HcalUpgradeQIESample.h.
References theSample.
Referenced by operator<<().
|
inline |
|
inline |
|
inline |
get the fiber channel number
Definition at line 34 of file HcalUpgradeQIESample.h.
References theSample.
double HcalUpgradeQIESample::nominal_fC | ( | ) | const |
get the nominal FC (no calibrations applied)
Definition at line 32 of file HcalUpgradeQIESample.cc.
References adc(), and nominal_adc2fc.
|
inline |
|
inline |
|
private |
Definition at line 42 of file HcalUpgradeQIESample.h.
Referenced by adc(), capid(), dv(), er(), fiber(), fiberAndChan(), fiberChan(), HcalUpgradeQIESample(), operator()(), and raw().