#include <EcalFEMSample.h>
Public Member Functions | |
int | adc () const |
get the ADC sample (12 bits) More... | |
EcalFEMSample () | |
EcalFEMSample (uint16_t data) | |
EcalFEMSample (int adc, int gainId) | |
int | gainId () const |
get the gainId (2 bits) 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 sample from the FEM electronics
$Id:
Definition at line 14 of file EcalFEMSample.h.
|
inline |
|
inline |
EcalFEMSample::EcalFEMSample | ( | int | adc, |
int | gainId | ||
) |
|
inline |
get the ADC sample (12 bits)
Definition at line 23 of file EcalFEMSample.h.
References theSample.
Referenced by operator<<().
|
inline |
get the gainId (2 bits)
Definition at line 25 of file EcalFEMSample.h.
References theSample.
Referenced by operator<<().
|
inline |
|
inline |
|
private |
Definition at line 30 of file EcalFEMSample.h.
Referenced by adc(), EcalFEMSample(), gainId(), operator()(), and raw().