ROOTANA
Public Member Functions | Private Attributes
TrbDecoder Class Reference

Decoder for data packets from TRB3. More...

#include <TRB3Decoder.hxx>

Collaboration diagram for TrbDecoder:
Collaboration graph
[legend]

Public Member Functions

 TrbDecoder (int bklen, void *pdata, std::string bankname, int type)
 Constructor. More...
 
void Print ()
 
const int GetNumberMeasurements ()
 
std::vector< TrbTdcMeas > & GetMeasurements ()
 Get the Vector of TDC Measurements. More...
 
uint32_t GetSubEventID ()
 Get Sub-event ID. More...
 
uint32_t GetTriggerNumber ()
 Get Trigger Number. More...
 
uint32_t GetTriggerCode ()
 Get Trigger code. More...
 
const uint32_t GetPacketSize ()
 Get Packet size. More...
 
const uint32_t GetBoardId ()
 
const uint32_t GetSeqNr ()
 
const uint32_t GetRunNr ()
 
const uint32_t GetYear ()
 
const uint32_t GetMonth ()
 
const uint32_t GetDay ()
 
const uint32_t GetTime ()
 

Private Attributes

uint32_t fPacketSize
 
uint32_t fDecoding
 
uint32_t fBoardId
 
uint32_t fSeqNr
 
uint32_t fRunNr
 
uint32_t fDate
 
uint32_t fTime
 
uint32_t fSubEventID
 
uint32_t fTriggerWord
 
std::vector< TrbTdcMeasfMeasurements
 Vector of TDC Measurements. More...
 

Detailed Description

Decoder for data packets from TRB3.

Definition at line 133 of file TRB3Decoder.hxx.

Constructor & Destructor Documentation

◆ TrbDecoder()

TrbDecoder::TrbDecoder ( int  bklen,
void *  pdata,
std::string  bankname,
int  type 
)

Constructor.

Definition at line 22 of file TRB3Decoder.cxx.

Member Function Documentation

◆ GetBoardId()

const uint32_t TrbDecoder::GetBoardId ( )
inline

Definition at line 160 of file TRB3Decoder.hxx.

◆ GetDay()

const uint32_t TrbDecoder::GetDay ( )
inline

Definition at line 170 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetMeasurements()

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

Get the Vector of TDC Measurements.

Definition at line 146 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetMonth()

const uint32_t TrbDecoder::GetMonth ( )
inline

Definition at line 168 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetNumberMeasurements()

const int TrbDecoder::GetNumberMeasurements ( )
inline

Definition at line 143 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetPacketSize()

const uint32_t TrbDecoder::GetPacketSize ( )
inline

Get Packet size.

Definition at line 158 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetRunNr()

const uint32_t TrbDecoder::GetRunNr ( )
inline

Definition at line 164 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetSeqNr()

const uint32_t TrbDecoder::GetSeqNr ( )
inline

Definition at line 162 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetSubEventID()

uint32_t TrbDecoder::GetSubEventID ( )
inline

Get Sub-event ID.

Definition at line 149 of file TRB3Decoder.hxx.

◆ GetTime()

const uint32_t TrbDecoder::GetTime ( )
inline

Definition at line 172 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ GetTriggerCode()

uint32_t TrbDecoder::GetTriggerCode ( )
inline

Get Trigger code.

Definition at line 155 of file TRB3Decoder.hxx.

◆ GetTriggerNumber()

uint32_t TrbDecoder::GetTriggerNumber ( )
inline

Get Trigger Number.

Definition at line 152 of file TRB3Decoder.hxx.

◆ GetYear()

const uint32_t TrbDecoder::GetYear ( )
inline

Definition at line 166 of file TRB3Decoder.hxx.

Here is the caller graph for this function:

◆ Print()

void TrbDecoder::Print ( )

Field Documentation

◆ fBoardId

uint32_t TrbDecoder::fBoardId
private

Definition at line 180 of file TRB3Decoder.hxx.

◆ fDate

uint32_t TrbDecoder::fDate
private

Definition at line 183 of file TRB3Decoder.hxx.

◆ fDecoding

uint32_t TrbDecoder::fDecoding
private

Definition at line 179 of file TRB3Decoder.hxx.

◆ fMeasurements

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

Vector of TDC Measurements.

Definition at line 189 of file TRB3Decoder.hxx.

◆ fPacketSize

uint32_t TrbDecoder::fPacketSize
private

Definition at line 178 of file TRB3Decoder.hxx.

◆ fRunNr

uint32_t TrbDecoder::fRunNr
private

Definition at line 182 of file TRB3Decoder.hxx.

◆ fSeqNr

uint32_t TrbDecoder::fSeqNr
private

Definition at line 181 of file TRB3Decoder.hxx.

◆ fSubEventID

uint32_t TrbDecoder::fSubEventID
private

Definition at line 185 of file TRB3Decoder.hxx.

◆ fTime

uint32_t TrbDecoder::fTime
private

Definition at line 184 of file TRB3Decoder.hxx.

◆ fTriggerWord

uint32_t TrbDecoder::fTriggerWord
private

Definition at line 186 of file TRB3Decoder.hxx.


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