CbmRoot
Loading...
Searching...
No Matches
PsdDataV100::PsdGbtReader Class Reference

#include <PsdGbtReader-v1.00.h>

Collaboration diagram for PsdDataV100::PsdGbtReader:
[legend]

Public Member Functions

 PsdGbtReader ()
 
 PsdGbtReader (const uint64_t *input)
 
void SetInput (const uint64_t *input)
 
void ReadMsHeader ()
 
void ReadPackHeader ()
 
void ReadHitHeader ()
 
void ReadHitData ()
 
void ReadMsTrailer ()
 
int ReadMs ()
 
void PrintSaveBuff ()
 
void PrintOut ()
 
uint32_t GetTotalGbtWordsRead ()
 
void SetPrintOutMode (bool mode)
 
 ~PsdGbtReader ()
 

Public Attributes

std::stringstream save_buffer
 
struct PsdMsHeader MsHdr
 
struct PsdPackHeader PackHdr
 
struct PsdHitHeader HitHdr
 
struct PsdHitData HitData
 
struct PsdMsTrailer MsTrlr
 
std::vector< struct PsdPackHeaderVectPackHdr
 
std::vector< struct PsdHitHeaderVectHitHdr
 
std::vector< struct PsdHitDataVectHitData
 
int word_index = 0
 
int words_missed = 0
 
int ms_hdrs_read = 0
 
int ms_ends_read = 0
 

Private Attributes

const uint64_t * buffer
 
bool print = false
 
int buffer_shift = 0
 

Detailed Description

Definition at line 18 of file PsdGbtReader-v1.00.h.

Constructor & Destructor Documentation

◆ PsdGbtReader() [1/2]

PsdDataV100::PsdGbtReader::PsdGbtReader ( )
inline

Definition at line 20 of file PsdGbtReader-v1.00.h.

◆ PsdGbtReader() [2/2]

PsdDataV100::PsdGbtReader::PsdGbtReader ( const uint64_t * input)
inline

Definition at line 21 of file PsdGbtReader-v1.00.h.

References buffer, and word_index.

◆ ~PsdGbtReader()

Member Function Documentation

◆ GetTotalGbtWordsRead()

uint32_t PsdDataV100::PsdGbtReader::GetTotalGbtWordsRead ( )
inline

◆ PrintOut()

◆ PrintSaveBuff()

void PsdDataV100::PsdGbtReader::PrintSaveBuff ( )

Definition at line 169 of file PsdGbtReader-v1.00.cxx.

References save_buffer.

◆ ReadHitData()

void PsdDataV100::PsdGbtReader::ReadHitData ( )

Definition at line 85 of file PsdGbtReader-v1.00.cxx.

References buffer, HitData, save_buffer, PsdDataV100::PsdHitData::uWfm, and word_index.

Referenced by ReadMs().

◆ ReadHitHeader()

◆ ReadMs()

◆ ReadMsHeader()

◆ ReadMsTrailer()

void PsdDataV100::PsdGbtReader::ReadMsTrailer ( )

◆ ReadPackHeader()

◆ SetInput()

void PsdDataV100::PsdGbtReader::SetInput ( const uint64_t * input)
inline

Definition at line 27 of file PsdGbtReader-v1.00.h.

References buffer, and word_index.

◆ SetPrintOutMode()

void PsdDataV100::PsdGbtReader::SetPrintOutMode ( bool mode)
inline

Member Data Documentation

◆ buffer

const uint64_t* PsdDataV100::PsdGbtReader::buffer
private

◆ buffer_shift

int PsdDataV100::PsdGbtReader::buffer_shift = 0
private

Definition at line 69 of file PsdGbtReader-v1.00.h.

Referenced by ReadHitHeader(), and ReadPackHeader().

◆ HitData

struct PsdHitData PsdDataV100::PsdGbtReader::HitData

Definition at line 37 of file PsdGbtReader-v1.00.h.

Referenced by ReadHitData(), ReadMs(), and ~PsdGbtReader().

◆ HitHdr

◆ ms_ends_read

int PsdDataV100::PsdGbtReader::ms_ends_read = 0

Definition at line 63 of file PsdGbtReader-v1.00.h.

Referenced by ReadMs().

◆ ms_hdrs_read

int PsdDataV100::PsdGbtReader::ms_hdrs_read = 0

Definition at line 62 of file PsdGbtReader-v1.00.h.

◆ MsHdr

struct PsdMsHeader PsdDataV100::PsdGbtReader::MsHdr

Definition at line 34 of file PsdGbtReader-v1.00.h.

Referenced by PrintOut(), ReadMsHeader(), and ~PsdGbtReader().

◆ MsTrlr

struct PsdMsTrailer PsdDataV100::PsdGbtReader::MsTrlr

Definition at line 38 of file PsdGbtReader-v1.00.h.

Referenced by PrintOut(), ReadMs(), and ReadMsTrailer().

◆ PackHdr

struct PsdPackHeader PsdDataV100::PsdGbtReader::PackHdr

Definition at line 35 of file PsdGbtReader-v1.00.h.

Referenced by PrintOut(), ReadMs(), ReadPackHeader(), and ~PsdGbtReader().

◆ print

bool PsdDataV100::PsdGbtReader::print = false
private

◆ save_buffer

std::stringstream PsdDataV100::PsdGbtReader::save_buffer

◆ VectHitData

std::vector<struct PsdHitData> PsdDataV100::PsdGbtReader::VectHitData

◆ VectHitHdr

std::vector<struct PsdHitHeader> PsdDataV100::PsdGbtReader::VectHitHdr

◆ VectPackHdr

std::vector<struct PsdPackHeader> PsdDataV100::PsdGbtReader::VectPackHdr

◆ word_index

int PsdDataV100::PsdGbtReader::word_index = 0

◆ words_missed

int PsdDataV100::PsdGbtReader::words_missed = 0

Definition at line 61 of file PsdGbtReader-v1.00.h.


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