ROOTANA
Public Member Functions | Private Attributes
TMesytecData Class Reference

#include <TMesytecData.hxx>

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

Public Member Functions

 TMesytecData (int bklen, int bktype, const char *name, void *pdata)
 Constructor. More...
 
void Print ()
 Print the bank contents in a structured way. More...
 
std::vector< ADCMeasMesy > & GetMeasurements ()
 Get the Vector of ADC Measurements. More...
 
uint32_t GetADCResolution () const
 
uint32_t GetModuleID () const
 Get Module ID. More...
 
uint32_t GetOutputFormat () const
 Get Output format (???) More...
 
uint32_t GetTimeStamp () const
 
- 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

uint32_t fGlobalHeader
 The overall global header. More...
 
uint32_t fGlobalTrailer
 The overall global trailer. More...
 
std::vector< ADCMeasMesyfMeasurements
 Vector of ADC Measurements. More...
 

Detailed Description

Class to store data from Mesytec MADC32 module. For details on this module see: http://daq-plone.triumf.ca/HR/VME/mesytec-modules/MADC-32_V14_fw0126.pdf/at_download/file

Definition at line 54 of file TMesytecData.hxx.

Constructor & Destructor Documentation

◆ TMesytecData()

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

Constructor.

Save the current header.

Definition at line 11 of file TMesytecData.cxx.

Here is the call graph for this function:

Member Function Documentation

◆ GetADCResolution()

uint32_t TMesytecData::GetADCResolution ( ) const
inline

Get ADC resolution (11, 12 or 13 bit); Return values: 1 -> 11 bit, 2 -> 12 bit, 3 -> 13 bit (??)

Definition at line 68 of file TMesytecData.hxx.

◆ GetMeasurements()

std::vector<ADCMeasMesy>& TMesytecData::GetMeasurements ( )
inline

Get the Vector of ADC Measurements.

Definition at line 64 of file TMesytecData.hxx.

Here is the caller graph for this function:

◆ GetModuleID()

uint32_t TMesytecData::GetModuleID ( ) const
inline

Get Module ID.

Definition at line 71 of file TMesytecData.hxx.

Here is the caller graph for this function:

◆ GetOutputFormat()

uint32_t TMesytecData::GetOutputFormat ( ) const
inline

Get Output format (???)

Definition at line 74 of file TMesytecData.hxx.

◆ GetTimeStamp()

uint32_t TMesytecData::GetTimeStamp ( ) const
inline

Definition at line 77 of file TMesytecData.hxx.

Here is the caller graph for this function:

◆ Print()

void TMesytecData::Print ( )
virtual

Print the bank contents in a structured way.

Reimplemented from TGenericData.

Definition at line 53 of file TMesytecData.cxx.

Here is the call graph for this function:

Field Documentation

◆ fGlobalHeader

uint32_t TMesytecData::fGlobalHeader
private

The overall global header.

Definition at line 82 of file TMesytecData.hxx.

◆ fGlobalTrailer

uint32_t TMesytecData::fGlobalTrailer
private

The overall global trailer.

Definition at line 85 of file TMesytecData.hxx.

◆ fMeasurements

std::vector<ADCMeasMesy> TMesytecData::fMeasurements
private

Vector of ADC Measurements.

Definition at line 88 of file TMesytecData.hxx.


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