ROOTANA
Public Member Functions | Private Member Functions | Private Attributes | Friends
TDCMeasurement Class Reference

#include <TV1190Data.hxx>

Collaboration diagram for TDCMeasurement:
Collaboration graph
[legend]

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
 

Detailed Description

Class for each TDC measurement For the definition of obscure variables see the CAEN V1190 manual.

Definition at line 10 of file TV1190Data.hxx.

Constructor & Destructor Documentation

◆ TDCMeasurement() [1/2]

TDCMeasurement::TDCMeasurement ( uint32_t  header,
uint32_t  measurement,
int  index 
)
inlineprivate

Constructor; need to pass in header and measurement.

Definition at line 57 of file TV1190Data.hxx.

◆ TDCMeasurement() [2/2]

TDCMeasurement::TDCMeasurement ( )
private

Member Function Documentation

◆ GetBunchID()

uint32_t TDCMeasurement::GetBunchID ( ) const

Get Bunch ID.

Definition at line 30 of file TV1190Data.cxx.

Here is the call graph for this function:

◆ GetChannel()

uint32_t TDCMeasurement::GetChannel ( ) const
inline

Get the channel number.

Definition at line 26 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ GetErrors()

uint32_t TDCMeasurement::GetErrors ( ) const

Get Errors.

Definition at line 37 of file TV1190Data.cxx.

Here is the call graph for this function:

◆ GetEventID()

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.

Here is the call graph for this function:

◆ GetEventIndex()

uint32_t TDCMeasurement::GetEventIndex ( ) const
inline

Get Event Index; this is which event number within the bank.

Definition at line 35 of file TV1190Data.hxx.

◆ GetMeasurement()

uint32_t TDCMeasurement::GetMeasurement ( ) const
inline

Get the TDC measurement.

Definition at line 21 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ GetTDCNumber()

uint32_t TDCMeasurement::GetTDCNumber ( ) const

Get the TDC number.

Definition at line 12 of file TV1190Data.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasTDCErrorWord()

bool TDCMeasurement::HasTDCErrorWord ( ) const
inline

Check if measurement has a TDC error word.

Definition at line 42 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ HasTDCHeader()

bool TDCMeasurement::HasTDCHeader ( ) const
inline

Check if measurement has a TDC header.

Definition at line 38 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ HasTDCTrailer()

bool TDCMeasurement::HasTDCTrailer ( ) const
inline

Check if measurement has a TDC trailer.

Definition at line 40 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ IsLeading()

bool TDCMeasurement::IsLeading ( ) const
inline

Is this the leading edge measurement?

Definition at line 17 of file TV1190Data.hxx.

◆ IsTrailing()

bool TDCMeasurement::IsTrailing ( ) const
inline

Is this the trailing edge measurement?

Definition at line 19 of file TV1190Data.hxx.

◆ SetErrors()

void TDCMeasurement::SetErrors ( uint32_t  error)
inlineprivate

Set the error word.

Definition at line 66 of file TV1190Data.hxx.

◆ SetTrailer()

void TDCMeasurement::SetTrailer ( uint32_t  trailer)
private

Set the trailer word.

Definition at line 6 of file TV1190Data.cxx.

Friends And Related Function Documentation

◆ TV1190Data

friend class TV1190Data
friend

Definition at line 12 of file TV1190Data.hxx.

Field Documentation

◆ event_index

int TDCMeasurement::event_index
private

Definition at line 54 of file TV1190Data.hxx.

◆ tdc_error_error

uint32_t TDCMeasurement::tdc_error_error
private

Definition at line 53 of file TV1190Data.hxx.

◆ tdc_header_word

uint32_t TDCMeasurement::tdc_header_word
private

Found fields to hold the header, measurement, trailer and error words.

Definition at line 50 of file TV1190Data.hxx.

◆ tdc_measurement_word

uint32_t TDCMeasurement::tdc_measurement_word
private

Definition at line 51 of file TV1190Data.hxx.

◆ tdc_trailer_word

uint32_t TDCMeasurement::tdc_trailer_word
private

Definition at line 52 of file TV1190Data.hxx.


The documentation for this class was generated from the following files: