ROOTANA
Public Member Functions | Private Attributes
TTRB3Data Class Reference

#include <TTRB3Data.hxx>

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

Public Member Functions

 TTRB3Data (int bklen, int bktype, const char *name, void *pdata)
 Constructor. More...
 
void Print ()
 Print the bank contents in a structured way. More...
 
const int GetNumberMeasurements ()
 
std::vector< TrbTdcMeas > & GetMeasurements ()
 Get the Vector of TDC Measurements. More...
 
const uint32_t GetPacketSize ()
 Get Packet size. More...
 
const uint32_t GetSeqNr ()
 
const uint32_t GetRunNr ()
 
const uint32_t GetYear ()
 
const uint32_t GetMonth ()
 
const uint32_t GetDay ()
 
const uint32_t GetTime ()
 
TrbDecoderGetDecoder ()
 Get decoder. 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< TrbTdcMeasfMeasurements
 Vector of TDC Measurements. More...
 
TrbDecoder decoder
 

Detailed Description

Container for data packets from TRB3. Uses the TRB3Decoder class.

Definition at line 12 of file TTRB3Data.hxx.

Constructor & Destructor Documentation

◆ TTRB3Data()

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

Constructor.

Definition at line 7 of file TTRB3Data.cxx.

Member Function Documentation

◆ GetDay()

const uint32_t TTRB3Data::GetDay ( )
inline

Definition at line 37 of file TTRB3Data.hxx.

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

◆ GetDecoder()

TrbDecoder& TTRB3Data::GetDecoder ( )
inline

Get decoder.

Definition at line 42 of file TTRB3Data.hxx.

◆ GetMeasurements()

std::vector<TrbTdcMeas>& TTRB3Data::GetMeasurements ( )
inline

Get the Vector of TDC Measurements.

Definition at line 24 of file TTRB3Data.hxx.

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

◆ GetMonth()

const uint32_t TTRB3Data::GetMonth ( )
inline

Definition at line 35 of file TTRB3Data.hxx.

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

◆ GetNumberMeasurements()

const int TTRB3Data::GetNumberMeasurements ( )
inline

Definition at line 21 of file TTRB3Data.hxx.

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

◆ GetPacketSize()

const uint32_t TTRB3Data::GetPacketSize ( )
inline

Get Packet size.

Definition at line 27 of file TTRB3Data.hxx.

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

◆ GetRunNr()

const uint32_t TTRB3Data::GetRunNr ( )
inline

Definition at line 31 of file TTRB3Data.hxx.

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

◆ GetSeqNr()

const uint32_t TTRB3Data::GetSeqNr ( )
inline

Definition at line 29 of file TTRB3Data.hxx.

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

◆ GetTime()

const uint32_t TTRB3Data::GetTime ( )
inline

Definition at line 39 of file TTRB3Data.hxx.

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

◆ GetYear()

const uint32_t TTRB3Data::GetYear ( )
inline

Definition at line 33 of file TTRB3Data.hxx.

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

◆ Print()

void TTRB3Data::Print ( )
virtual

Print the bank contents in a structured way.

Reimplemented from TGenericData.

Definition at line 14 of file TTRB3Data.cxx.

Here is the call graph for this function:

Field Documentation

◆ decoder

TrbDecoder TTRB3Data::decoder
private

Definition at line 50 of file TTRB3Data.hxx.

◆ fMeasurements

std::vector<TrbTdcMeas> TTRB3Data::fMeasurements
private

Vector of TDC Measurements.

Definition at line 48 of file TTRB3Data.hxx.


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