#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 14 of file EcalTBTDCSample.h.
|
inline |
|
inline |
EcalTBTDCSample::EcalTBTDCSample | ( | unsigned int | tdcChan, |
unsigned int | tdcVal | ||
) |
Definition at line 3 of file EcalTBTDCSample.cc.
References theSample.
|
inline |
|
inline |
|
inline |
get the gainId (8 bits)
Definition at line 25 of file EcalTBTDCSample.h.
References theSample.
Referenced by operator<<().
|
inline |
get the ADC sample (24 bits)
Definition at line 23 of file EcalTBTDCSample.h.
References theSample.
Referenced by operator<<().
|
private |
Definition at line 30 of file EcalTBTDCSample.h.
Referenced by EcalTBTDCSample(), operator()(), raw(), tdcChannel(), and tdcValue().