ROOTANA
Public Member Functions | Private Attributes
TV792NData Class Reference

Class for storing data from CAEN V792 module. More...

#include <TV792NData.hxx>

Inheritance diagram for TV792NData:
Inheritance graph
[legend]
Collaboration diagram for TV792NData:
Collaboration graph
[legend]

Public Member Functions

 TV792NData (int bklen, int bktype, const char *name, void *pdata)
 Constructor. More...
 
void Print ()
 Print the bank contents in a structured way. More...
 
uint32_t GetGeoAddress () const
 Get GEO address. More...
 
uint32_t GetCrate () const
 Get the crate number. More...
 
uint32_t GetNumberChannels () const
 Get the number of converted channels. More...
 
uint32_t GetEventCounter () const
 Get the event counter. More...
 
std::vector< VADCNMeasurement > & GetMeasurements ()
 Get the Vector of TDC Measurements. More...
 
- Public Member Functions inherited from TGenericData
 TGenericData (int bklen, int bktype, const char *name, void *pdata)
 
virtual ~TGenericData ()
 
const uint16_t * GetData16 () const
 
const uint32_t * GetData32 () const
 
const uint64_t * GetData64 () const
 
const float * GetFloat () const
 
const double * GetDouble () const
 
const char * GetChar () const
 
int GetSize () const
 
int GetType () const
 
std::string GetName () const
 
void Dump ()
 Dump the bank contents in an unstructured way. More...
 

Private Attributes

std::vector< VADCNMeasurementfMeasurements
 Vector of TDC Measurements. More...
 
uint32_t fAdc_header_word
 Fields to hold the header, measurement, trailer and error words. More...
 
uint32_t fAdc_trailer_word
 

Detailed Description

Class for storing data from CAEN V792 module.

Definition at line 54 of file TV792NData.hxx.

Constructor & Destructor Documentation

◆ TV792NData()

TV792NData::TV792NData ( int  bklen,
int  bktype,
const char *  name,
void *  pdata 
)

Constructor.

Definition at line 5 of file TV792NData.cxx.

Here is the call graph for this function:

Member Function Documentation

◆ GetCrate()

uint32_t TV792NData::GetCrate ( ) const
inline

Get the crate number.

Definition at line 69 of file TV792NData.hxx.

Here is the caller graph for this function:

◆ GetEventCounter()

uint32_t TV792NData::GetEventCounter ( ) const
inline

Get the event counter.

Definition at line 75 of file TV792NData.hxx.

Here is the caller graph for this function:

◆ GetGeoAddress()

uint32_t TV792NData::GetGeoAddress ( ) const
inline

Get GEO address.

Definition at line 66 of file TV792NData.hxx.

Here is the caller graph for this function:

◆ GetMeasurements()

std::vector<VADCNMeasurement>& TV792NData::GetMeasurements ( )
inline

Get the Vector of TDC Measurements.

Definition at line 78 of file TV792NData.hxx.

◆ GetNumberChannels()

uint32_t TV792NData::GetNumberChannels ( ) const
inline

Get the number of converted channels.

Definition at line 72 of file TV792NData.hxx.

Here is the caller graph for this function:

◆ Print()

void TV792NData::Print ( )
virtual

Print the bank contents in a structured way.

Reimplemented from TGenericData.

Definition at line 32 of file TV792NData.cxx.

Here is the call graph for this function:

Field Documentation

◆ fAdc_header_word

uint32_t TV792NData::fAdc_header_word
private

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

Definition at line 88 of file TV792NData.hxx.

◆ fAdc_trailer_word

uint32_t TV792NData::fAdc_trailer_word
private

Definition at line 89 of file TV792NData.hxx.

◆ fMeasurements

std::vector<VADCNMeasurement> TV792NData::fMeasurements
private

Vector of TDC Measurements.

Definition at line 84 of file TV792NData.hxx.


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