CbmRoot
|
#include <PsdGbtReader.h>
Public Member Functions | |
PsdGbtReader () | |
PsdGbtReader (const uint64_t *input) | |
~PsdGbtReader () | |
void | SetInput (const uint64_t *input) |
void | SetPrintOutMode (bool mode) |
void | ReadEventHeaderAbFles () |
void | ReadEventHeaderAcFles () |
void | ReadHitHeaderFles () |
void | ReadHitDataFles () |
int | ReadEventFles () |
uint32_t | GetTotalGbtWordsRead () |
Public Attributes | |
PsdEventHeaderAB | EvHdrAb |
PsdEventHeaderAC | EvHdrAc |
PsdHitHeader | HitHdr |
PsdHitData | HitData |
std::vector< PsdHitHeader > | VectHitHdr |
std::vector< PsdHitData > | VectHitData |
Private Attributes | |
const uint64_t * | buffer |
bool | PrintOut = false |
uint32_t | gbt_word_index = 0 |
int | buffer_shift = 0 |
Definition at line 17 of file PsdGbtReader.h.
|
inline |
Definition at line 20 of file PsdGbtReader.h.
|
inline |
Definition at line 21 of file PsdGbtReader.h.
References buffer, and gbt_word_index.
PsdData::PsdGbtReader::~PsdGbtReader | ( | ) |
Definition at line 14 of file PsdGbtReader.cxx.
References PsdData::PsdEventHeaderAB::clear(), PsdData::PsdEventHeaderAC::clear(), PsdData::PsdHitHeader::clear(), PsdData::PsdHitData::clear(), EvHdrAb, EvHdrAc, HitData, HitHdr, VectHitData, and VectHitHdr.
|
inline |
Definition at line 48 of file PsdGbtReader.h.
References gbt_word_index.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), and CbmMcbm2018MonitorAlgoPsd::ProcessMs().
int PsdData::PsdGbtReader::ReadEventFles | ( | ) |
Definition at line 98 of file PsdGbtReader.cxx.
References EvHdrAb, EvHdrAc, HitData, HitHdr, ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), PsdData::PsdEventHeaderAB::uHitsNumber, PsdData::PsdEventHeaderAB::uMagicWordAB, PsdData::PsdEventHeaderAC::uMagicWordAC, VectHitData, and VectHitHdr.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), and CbmMcbm2018MonitorAlgoPsd::ProcessMs().
void PsdData::PsdGbtReader::ReadEventHeaderAbFles | ( | ) |
Definition at line 23 of file PsdGbtReader.cxx.
References buffer, buffer_shift, PsdData::PsdEventHeaderAB::clear(), EvHdrAb, gbt_word_index, PsdData::PsdEventHeaderAB::HNs, PsdData::PsdEventHeaderAB::MWs, PsdData::PsdEventHeaderAB::printout(), PrintOut, PsdData::PsdEventHeaderAB::uHitsNumber, PsdData::PsdEventHeaderAB::ulMicroSlice, and PsdData::PsdEventHeaderAB::uMagicWordAB.
Referenced by ReadEventFles().
void PsdData::PsdGbtReader::ReadEventHeaderAcFles | ( | ) |
Definition at line 41 of file PsdGbtReader.cxx.
References buffer, buffer_shift, PsdData::PsdEventHeaderAC::clear(), EvHdrAc, gbt_word_index, PsdData::PsdEventHeaderAC::MWs, PrintOut, PsdData::PsdEventHeaderAC::printout(), PsdData::PsdEventHeaderAC::PVs, PsdData::PsdEventHeaderAC::TMs, PsdData::PsdEventHeaderAC::uAdcTime, PsdData::PsdEventHeaderAC::uMagicWordAC, and PsdData::PsdEventHeaderAC::uPacketVersion.
Referenced by ReadEventFles().
void PsdData::PsdGbtReader::ReadHitDataFles | ( | ) |
Definition at line 81 of file PsdGbtReader.cxx.
References buffer, buffer_shift, PsdData::PsdHitData::clear(), gbt_word_index, HitData, HitHdr, PrintOut, PsdData::PsdHitData::printout(), PsdData::PsdHitData::uWfm, PsdData::PsdHitHeader::uWfmPoints, and PsdData::PsdHitData::WPs.
Referenced by ReadEventFles().
void PsdData::PsdGbtReader::ReadHitHeaderFles | ( | ) |
Definition at line 60 of file PsdGbtReader.cxx.
References buffer, buffer_shift, PsdData::PsdHitHeader::clear(), gbt_word_index, PsdData::PsdHitHeader::HCs, HitHdr, PrintOut, PsdData::PsdHitHeader::printout(), PsdData::PsdHitHeader::SCs, PsdData::PsdHitHeader::uHitChannel, PsdData::PsdHitHeader::uSignalCharge, PsdData::PsdHitHeader::uWfmPoints, PsdData::PsdHitHeader::uZeroLevel, PsdData::PsdHitHeader::WPSs, and PsdData::PsdHitHeader::ZLs.
Referenced by ReadEventFles().
|
inline |
Definition at line 36 of file PsdGbtReader.h.
References buffer, and gbt_word_index.
|
inline |
Definition at line 40 of file PsdGbtReader.h.
References PrintOut.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs().
|
private |
Definition at line 51 of file PsdGbtReader.h.
Referenced by PsdGbtReader(), ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), and SetInput().
|
private |
Definition at line 55 of file PsdGbtReader.h.
Referenced by ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), and ReadHitHeaderFles().
PsdEventHeaderAB PsdData::PsdGbtReader::EvHdrAb |
Definition at line 28 of file PsdGbtReader.h.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), CbmMcbm2018MonitorAlgoPsd::ProcessMs(), ReadEventFles(), ReadEventHeaderAbFles(), and ~PsdGbtReader().
PsdEventHeaderAC PsdData::PsdGbtReader::EvHdrAc |
Definition at line 29 of file PsdGbtReader.h.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), CbmMcbm2018MonitorAlgoPsd::ProcessMs(), ReadEventFles(), ReadEventHeaderAcFles(), and ~PsdGbtReader().
|
private |
Definition at line 54 of file PsdGbtReader.h.
Referenced by GetTotalGbtWordsRead(), PsdGbtReader(), ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), and SetInput().
PsdHitData PsdData::PsdGbtReader::HitData |
Definition at line 31 of file PsdGbtReader.h.
Referenced by ReadEventFles(), ReadHitDataFles(), and ~PsdGbtReader().
PsdHitHeader PsdData::PsdGbtReader::HitHdr |
Definition at line 30 of file PsdGbtReader.h.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), CbmMcbm2018MonitorAlgoPsd::ProcessMs(), ReadEventFles(), ReadHitDataFles(), ReadHitHeaderFles(), and ~PsdGbtReader().
|
private |
Definition at line 53 of file PsdGbtReader.h.
Referenced by ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), and SetPrintOutMode().
std::vector<PsdHitData> PsdData::PsdGbtReader::VectHitData |
Definition at line 34 of file PsdGbtReader.h.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), CbmMcbm2018MonitorAlgoPsd::ProcessMs(), ReadEventFles(), and ~PsdGbtReader().
std::vector<PsdHitHeader> PsdData::PsdGbtReader::VectHitHdr |
Definition at line 33 of file PsdGbtReader.h.
Referenced by CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), CbmMcbm2018MonitorAlgoPsd::ProcessMs(), ReadEventFles(), and ~PsdGbtReader().