ROOTANA
|
#include <TV1190Data.hxx>
Public Member Functions | |
bool | IsLeading () const |
Is this the leading edge measurement? More... | |
bool | IsTrailing () const |
Is this the trailing edge measurement? More... | |
uint32_t | GetMeasurement () const |
Get the TDC measurement. More... | |
uint32_t | GetTDCNumber () const |
Get the TDC number. More... | |
uint32_t | GetChannel () const |
Get the channel number. More... | |
uint32_t | GetEventID () const |
Get Event ID; this is event number defined by V1190 module. More... | |
uint32_t | GetBunchID () const |
Get Bunch ID. More... | |
uint32_t | GetEventIndex () const |
Get Event Index; this is which event number within the bank. More... | |
bool | HasTDCHeader () const |
Check if measurement has a TDC header. More... | |
bool | HasTDCTrailer () const |
Check if measurement has a TDC trailer. More... | |
bool | HasTDCErrorWord () const |
Check if measurement has a TDC error word. More... | |
uint32_t | GetErrors () const |
Get Errors. More... | |
Private Member Functions | |
TDCMeasurement (uint32_t header, uint32_t measurement, int index) | |
Constructor; need to pass in header and measurement. More... | |
void | SetTrailer (uint32_t trailer) |
Set the trailer word. More... | |
void | SetErrors (uint32_t error) |
Set the error word. More... | |
TDCMeasurement () | |
Private Attributes | |
uint32_t | tdc_header_word |
Found fields to hold the header, measurement, trailer and error words. More... | |
uint32_t | tdc_measurement_word |
uint32_t | tdc_trailer_word |
uint32_t | tdc_error_error |
int | event_index |
Friends | |
class | TV1190Data |
Class for each TDC measurement For the definition of obscure variables see the CAEN V1190 manual.
Definition at line 10 of file TV1190Data.hxx.
|
inlineprivate |
Constructor; need to pass in header and measurement.
Definition at line 57 of file TV1190Data.hxx.
|
private |
uint32_t TDCMeasurement::GetBunchID | ( | ) | const |
Get Bunch ID.
Definition at line 30 of file TV1190Data.cxx.
|
inline |
Get the channel number.
Definition at line 26 of file TV1190Data.hxx.
uint32_t TDCMeasurement::GetErrors | ( | ) | const |
uint32_t TDCMeasurement::GetEventID | ( | ) | const |
Get Event ID; this is event number defined by V1190 module.
Get Event ID.
Definition at line 21 of file TV1190Data.cxx.
|
inline |
Get Event Index; this is which event number within the bank.
Definition at line 35 of file TV1190Data.hxx.
|
inline |
Get the TDC measurement.
Definition at line 21 of file TV1190Data.hxx.
uint32_t TDCMeasurement::GetTDCNumber | ( | ) | const |
Get the TDC number.
Definition at line 12 of file TV1190Data.cxx.
|
inline |
Check if measurement has a TDC error word.
Definition at line 42 of file TV1190Data.hxx.
|
inline |
Check if measurement has a TDC header.
Definition at line 38 of file TV1190Data.hxx.
|
inline |
Check if measurement has a TDC trailer.
Definition at line 40 of file TV1190Data.hxx.
|
inline |
Is this the leading edge measurement?
Definition at line 17 of file TV1190Data.hxx.
|
inline |
Is this the trailing edge measurement?
Definition at line 19 of file TV1190Data.hxx.
|
inlineprivate |
Set the error word.
Definition at line 66 of file TV1190Data.hxx.
|
private |
Set the trailer word.
Definition at line 6 of file TV1190Data.cxx.
|
friend |
Definition at line 12 of file TV1190Data.hxx.
|
private |
Definition at line 54 of file TV1190Data.hxx.
|
private |
Definition at line 53 of file TV1190Data.hxx.
|
private |
Found fields to hold the header, measurement, trailer and error words.
Definition at line 50 of file TV1190Data.hxx.
|
private |
Definition at line 51 of file TV1190Data.hxx.
|
private |
Definition at line 52 of file TV1190Data.hxx.