CbmRoot
|
#include <PsdGbtReader-v0.00.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 15 of file PsdGbtReader-v0.00.h.
|
inline |
Definition at line 18 of file PsdGbtReader-v0.00.h.
|
inline |
Definition at line 19 of file PsdGbtReader-v0.00.h.
References buffer, and gbt_word_index.
PsdDataV000::PsdGbtReader::~PsdGbtReader | ( | ) |
Definition at line 19 of file PsdGbtReader-v0.00.cxx.
References PsdDataV000::PsdEventHeaderAB::clear(), PsdDataV000::PsdEventHeaderAC::clear(), PsdDataV000::PsdHitData::clear(), PsdDataV000::PsdHitHeader::clear(), EvHdrAb, EvHdrAc, HitData, HitHdr, VectHitData, and VectHitHdr.
|
inline |
Definition at line 48 of file PsdGbtReader-v0.00.h.
References gbt_word_index.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), and CbmMcbm2018UnpackerAlgoPsd::ProcessMs().
int PsdDataV000::PsdGbtReader::ReadEventFles | ( | ) |
Definition at line 97 of file PsdGbtReader-v0.00.cxx.
References EvHdrAb, EvHdrAc, HitData, HitHdr, ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), PsdDataV000::PsdEventHeaderAB::uHitsNumber, PsdDataV000::PsdEventHeaderAB::uMagicWordAB, PsdDataV000::PsdEventHeaderAC::uMagicWordAC, VectHitData, and VectHitHdr.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), and CbmMcbm2018UnpackerAlgoPsd::ProcessMs().
void PsdDataV000::PsdGbtReader::ReadEventHeaderAbFles | ( | ) |
Definition at line 29 of file PsdGbtReader-v0.00.cxx.
References buffer, buffer_shift, PsdDataV000::PsdEventHeaderAB::clear(), EvHdrAb, gbt_word_index, PsdDataV000::PsdEventHeaderAB::HNs, PsdDataV000::PsdEventHeaderAB::MWs, PrintOut, PsdDataV000::PsdEventHeaderAB::printout(), PsdDataV000::PsdEventHeaderAB::uHitsNumber, PsdDataV000::PsdEventHeaderAB::ulMicroSlice, and PsdDataV000::PsdEventHeaderAB::uMagicWordAB.
Referenced by ReadEventFles().
void PsdDataV000::PsdGbtReader::ReadEventHeaderAcFles | ( | ) |
Definition at line 45 of file PsdGbtReader-v0.00.cxx.
References buffer, buffer_shift, PsdDataV000::PsdEventHeaderAC::clear(), EvHdrAc, gbt_word_index, PsdDataV000::PsdEventHeaderAC::MWs, PrintOut, PsdDataV000::PsdEventHeaderAC::printout(), PsdDataV000::PsdEventHeaderAC::PVs, PsdDataV000::PsdEventHeaderAC::TMs, PsdDataV000::PsdEventHeaderAC::uAdcTime, PsdDataV000::PsdEventHeaderAC::uMagicWordAC, and PsdDataV000::PsdEventHeaderAC::uPacketVersion.
Referenced by ReadEventFles().
void PsdDataV000::PsdGbtReader::ReadHitDataFles | ( | ) |
Definition at line 80 of file PsdGbtReader-v0.00.cxx.
References buffer, buffer_shift, PsdDataV000::PsdHitData::clear(), gbt_word_index, HitData, HitHdr, PrintOut, PsdDataV000::PsdHitData::printout(), PsdDataV000::PsdHitData::uWfm, PsdDataV000::PsdHitHeader::uWfmPoints, and PsdDataV000::PsdHitData::WPs.
Referenced by ReadEventFles().
void PsdDataV000::PsdGbtReader::ReadHitHeaderFles | ( | ) |
Definition at line 62 of file PsdGbtReader-v0.00.cxx.
References buffer, buffer_shift, PsdDataV000::PsdHitHeader::clear(), gbt_word_index, PsdDataV000::PsdHitHeader::HCs, HitHdr, PrintOut, PsdDataV000::PsdHitHeader::printout(), PsdDataV000::PsdHitHeader::SCs, PsdDataV000::PsdHitHeader::uHitChannel, PsdDataV000::PsdHitHeader::uSignalCharge, PsdDataV000::PsdHitHeader::uWfmPoints, PsdDataV000::PsdHitHeader::uZeroLevel, PsdDataV000::PsdHitHeader::WPSs, and PsdDataV000::PsdHitHeader::ZLs.
Referenced by ReadEventFles().
|
inline |
Definition at line 35 of file PsdGbtReader-v0.00.h.
References buffer, and gbt_word_index.
|
inline |
Definition at line 40 of file PsdGbtReader-v0.00.h.
References PrintOut.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs().
|
private |
Definition at line 51 of file PsdGbtReader-v0.00.h.
Referenced by PsdGbtReader(), ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), and SetInput().
|
private |
Definition at line 55 of file PsdGbtReader-v0.00.h.
Referenced by ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), and ReadHitHeaderFles().
PsdEventHeaderAB PsdDataV000::PsdGbtReader::EvHdrAb |
Definition at line 27 of file PsdGbtReader-v0.00.h.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), ReadEventFles(), ReadEventHeaderAbFles(), and ~PsdGbtReader().
PsdEventHeaderAC PsdDataV000::PsdGbtReader::EvHdrAc |
Definition at line 28 of file PsdGbtReader-v0.00.h.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), ReadEventFles(), ReadEventHeaderAcFles(), and ~PsdGbtReader().
|
private |
Definition at line 54 of file PsdGbtReader-v0.00.h.
Referenced by GetTotalGbtWordsRead(), PsdGbtReader(), ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), and SetInput().
PsdHitData PsdDataV000::PsdGbtReader::HitData |
Definition at line 30 of file PsdGbtReader-v0.00.h.
Referenced by ReadEventFles(), ReadHitDataFles(), and ~PsdGbtReader().
PsdHitHeader PsdDataV000::PsdGbtReader::HitHdr |
Definition at line 29 of file PsdGbtReader-v0.00.h.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), ReadEventFles(), ReadHitDataFles(), ReadHitHeaderFles(), and ~PsdGbtReader().
|
private |
Definition at line 53 of file PsdGbtReader-v0.00.h.
Referenced by ReadEventHeaderAbFles(), ReadEventHeaderAcFles(), ReadHitDataFles(), ReadHitHeaderFles(), and SetPrintOutMode().
std::vector<PsdHitData> PsdDataV000::PsdGbtReader::VectHitData |
Definition at line 33 of file PsdGbtReader-v0.00.h.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), ReadEventFles(), and ~PsdGbtReader().
std::vector<PsdHitHeader> PsdDataV000::PsdGbtReader::VectHitHdr |
Definition at line 32 of file PsdGbtReader-v0.00.h.
Referenced by CbmMcbm2018MonitorAlgoPsd::ProcessMs(), CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), ReadEventFles(), and ~PsdGbtReader().