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

#include <TV792NData.hxx>

Collaboration diagram for VADCNMeasurement:
Collaboration graph
[legend]

Public Member Functions

uint32_t GetMeasurement () const
 Get the ADC measurement. More...
 
uint32_t GetGeoAddress () const
 Get GEO address. More...
 
uint32_t GetCrate () const
 Get the crate number. More...
 
uint32_t GetChannel () const
 Get the channel number. More...
 
bool IsUnderThreshold () const
 Is Under Threshold? More...
 
bool IsOverFlow () const
 Is OverFlow? More...
 

Private Member Functions

 VADCNMeasurement (uint32_t header, uint32_t measurement)
 Constructor; need to pass in header and measurement. More...
 
 VADCNMeasurement ()
 

Private Attributes

uint32_t adc_header_word
 Fields to hold the header, measurement, trailer and error words. More...
 
uint32_t adc_measurement_word
 

Friends

class TV792NData
 

Detailed Description

Class for each TDC measurement For the definition of obscure variables see the CAEN V792N and V785N manual. Data organization is almost same as V792, but with a shifted bit.

Definition at line 11 of file TV792NData.hxx.

Constructor & Destructor Documentation

◆ VADCNMeasurement() [1/2]

VADCNMeasurement::VADCNMeasurement ( uint32_t  header,
uint32_t  measurement 
)
inlineprivate

Constructor; need to pass in header and measurement.

Definition at line 42 of file TV792NData.hxx.

◆ VADCNMeasurement() [2/2]

VADCNMeasurement::VADCNMeasurement ( )
private

Member Function Documentation

◆ GetChannel()

uint32_t VADCNMeasurement::GetChannel ( ) const
inline

Get the channel number.

Definition at line 27 of file TV792NData.hxx.

◆ GetCrate()

uint32_t VADCNMeasurement::GetCrate ( ) const
inline

Get the crate number.

Definition at line 24 of file TV792NData.hxx.

◆ GetGeoAddress()

uint32_t VADCNMeasurement::GetGeoAddress ( ) const
inline

Get GEO address.

Definition at line 21 of file TV792NData.hxx.

◆ GetMeasurement()

uint32_t VADCNMeasurement::GetMeasurement ( ) const
inline

Get the ADC measurement.

Definition at line 18 of file TV792NData.hxx.

◆ IsOverFlow()

bool VADCNMeasurement::IsOverFlow ( ) const
inline

Is OverFlow?

Definition at line 33 of file TV792NData.hxx.

◆ IsUnderThreshold()

bool VADCNMeasurement::IsUnderThreshold ( ) const
inline

Is Under Threshold?

Definition at line 30 of file TV792NData.hxx.

Friends And Related Function Documentation

◆ TV792NData

friend class TV792NData
friend

Definition at line 13 of file TV792NData.hxx.

Field Documentation

◆ adc_header_word

uint32_t VADCNMeasurement::adc_header_word
private

Fields to hold the header, measurement, trailer and error words.

Definition at line 38 of file TV792NData.hxx.

◆ adc_measurement_word

uint32_t VADCNMeasurement::adc_measurement_word
private

Definition at line 39 of file TV792NData.hxx.


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