#include <EcalTBTDCSample.h>
Public Member Functions | |
EcalTBTDCSample () | |
EcalTBTDCSample (uint32_t data) | |
EcalTBTDCSample (unsigned int tdcChan, unsigned int tdcVal) | |
uint32_t | operator() () |
for streaming More... | |
uint32_t | raw () const |
get the raw word More... | |
unsigned int | tdcChannel () const |
get the gainId (8 bits) More... | |
unsigned int | tdcValue () const |
get the ADC sample (24 bits) More... | |
Private Attributes | |
uint32_t | theSample |
Simple container packer/unpacker for a single sample from the TB TDC raw data
$Id:
Definition at line 15 of file EcalTBTDCSample.h.
|
inline |
Definition at line 17 of file EcalTBTDCSample.h.
References theSample.
Referenced by EcalTBTDCSample().
|
inline |
EcalTBTDCSample::EcalTBTDCSample | ( | unsigned int | tdcChan, |
unsigned int | tdcVal | ||
) |
|
inline |
|
inline |
|
inline |
get the gainId (8 bits)
Definition at line 26 of file EcalTBTDCSample.h.
References theSample.
Referenced by operator<<().
|
inline |
get the ADC sample (24 bits)
Definition at line 24 of file EcalTBTDCSample.h.
References theSample.
Referenced by operator<<().
|
private |
Definition at line 31 of file EcalTBTDCSample.h.
Referenced by EcalTBTDCSample(), operator()(), raw(), tdcChannel(), and tdcValue().