| FairRoot/PandaRoot
    | 
#include <PndMvdReadInTBData.h>
| Public Member Functions | |
| PndMvdReadInTBData () | |
| virtual | ~PndMvdReadInTBData () | 
| void | SetFileName (std::vector< TString > fileName) | 
| void | Init () | 
| Bool_t | ReadInData (TClonesArray *sdsDigiContainer, TClonesArray *headerContainer, TClonesArray *allheaderContainer) | 
| Bool_t | ReadInRawData (std::ifstream *fileHandle, std::vector< ULong64_t > &rawData) | 
| void | AnalyzeData (std::vector< ULong64_t > &rawData, Double_t clockFrequency) | 
| pixel | BitAnalyzePixelData (ULong64_t &data) | 
| frameHeader | BitAnalyzeHeader (ULong64_t &header) | 
| frameTrailer | BitAnalyzeTrailer (ULong64_t &trailer) | 
| std::pair< UInt_t, UInt_t > | PixeladdressToMatrixAddress (UInt_t pixelglobaladdress) | 
| void | SetClockFrequency (Double_t val) | 
| void | SetFE (Int_t val) | 
| UInt_t | GetNonSequenctialFC () const | 
| UInt_t | GetDoubleHeader () const | 
| UInt_t | GetDoubleTrailer () const | 
| UInt_t | GetSuperFrameCount () const | 
| UInt_t | GetTotalHitCount () const | 
| UInt_t | GetCorrectHitCount () const | 
| UInt_t | GetPreFrameLossHitCount () const | 
| UInt_t | GetHammingLossHitCount () const | 
| UInt_t | GetCRCLossHitCount () const | 
| UInt_t | GetTotalFrameCount () const | 
| UInt_t | GetCorrectFrameCount () const | 
| UInt_t | GetHammingLossFrameCount () const | 
| UInt_t | GetCRCLossFrameCount () const | 
| UInt_t | GetTotalHeaderCount () const | 
| UInt_t | GetTotalTrailerCount () const | 
| PndSdsDigiTopix4 | ProcessData (ULong64_t &data, frameHeader &header, Double_t &clockFrequency) | 
| ULong64_t | ReflectBitsStream (ULong64_t crc, int bitnum) | 
| ULong64_t | CalculateCRCTableFast (std::vector< char > p, ULong64_t len) | 
| void | GenerateCRCTable () | 
| UShort_t | CheckHammingCode (ULong64_t dataword, int dataword_length) | 
| ULong64_t | ConvertToPix4HammingToStandardHamming (ULong64_t topixhamming) | 
| void | AnalyzeToPixFrame (Double_t clockFrequency) | 
| void | SetVerbose (Int_t val) | 
Definition at line 48 of file PndMvdReadInTBData.h.
| PndMvdReadInTBData::PndMvdReadInTBData | ( | ) | 
Definition at line 17 of file PndMvdReadInTBData.cxx.
References fCRCHighBit, fCRCMask, fOrder, and GenerateCRCTable().
| 
 | virtual | 
| void PndMvdReadInTBData::AnalyzeData | ( | std::vector< ULong64_t > & | rawData, | 
| Double_t | clockFrequency | ||
| ) | 
Definition at line 429 of file PndMvdReadInTBData.cxx.
References AnalyzeToPixFrame(), BitAnalyzeHeader(), frameHeader::fChipAddress, fDoubleHeader, fDoubleTrailer, frameHeader::fECC, fFE, fFirstHeader, frameHeader::fFrameCount, fHeaderPresent, fOldAllHeaderCount, fOutputArrayAllHeader, fPreFrameLossHitCount, fRecentAllFrameHeader, fToPixFrame, fTotalFrameCount, fTotalHeaderCount, fTotalHitCount, fTotalTrailerCount, fTrailerPresent, fVerbose, and i.
Referenced by ReadInData().
| void PndMvdReadInTBData::AnalyzeToPixFrame | ( | Double_t | clockFrequency | ) | 
Definition at line 282 of file PndMvdReadInTBData.cxx.
References BitAnalyzeHeader(), BitAnalyzeTrailer(), CalculateCRCTableFast(), CheckHammingCode(), ConvertToPix4HammingToStandardHamming(), frameHeader::fChipAddress, fCorrectHitCount, fCRCLossFrameCount, fCRCLossHitCount, frameHeader::fECC, fFE, frameHeader::fFrameCount, frameTrailer::fFrameCRC, fHammingLossFrameCount, fHammingLossHitCount, frameTrailer::fNEvents, fNonSequentialFC, fOldFrameCount, fOutputArray, fOutputArrayHeader, fRecentFrameHeader, fRecentFrameTrailer, fSuperFrameCount, fToPixFrame, fTotalFrameCount, fVerbose, i, ProcessData(), PndSdsDigiTopix4Header::SetNumberOfEvents(), and y.
Referenced by AnalyzeData().
| frameHeader PndMvdReadInTBData::BitAnalyzeHeader | ( | ULong64_t & | header | ) | 
Definition at line 546 of file PndMvdReadInTBData.cxx.
References frameHeader::fChipAddress, frameHeader::fECC, and frameHeader::fFrameCount.
Referenced by AnalyzeData(), and AnalyzeToPixFrame().
| pixel PndMvdReadInTBData::BitAnalyzePixelData | ( | ULong64_t & | data | ) | 
Definition at line 576 of file PndMvdReadInTBData.cxx.
References pixel::fLeadingEdge, pixel::fPixelAddress, pixel::fTrailingEdge, and mrftools::grayToBin().
Referenced by ProcessData().
| frameTrailer PndMvdReadInTBData::BitAnalyzeTrailer | ( | ULong64_t & | trailer | ) | 
Definition at line 560 of file PndMvdReadInTBData.cxx.
References frameTrailer::fECC, frameTrailer::fFrameCRC, and frameTrailer::fNEvents.
Referenced by AnalyzeToPixFrame().
| ULong64_t PndMvdReadInTBData::CalculateCRCTableFast | ( | std::vector< char > | p, | 
| ULong64_t | len | ||
| ) | 
Definition at line 225 of file PndMvdReadInTBData.cxx.
References fCRCInit_direct, fCRCMask, fCRCTab, fCRCXor, fOrder, fRefIn, fRefOut, and ReflectBitsStream().
Referenced by AnalyzeToPixFrame().
| UShort_t PndMvdReadInTBData::CheckHammingCode | ( | ULong64_t | dataword, | 
| int | dataword_length | ||
| ) | 
Definition at line 65 of file PndMvdReadInTBData.cxx.
References i.
Referenced by AnalyzeToPixFrame().
| ULong64_t PndMvdReadInTBData::ConvertToPix4HammingToStandardHamming | ( | ULong64_t | topixhamming | ) | 
Definition at line 99 of file PndMvdReadInTBData.cxx.
Referenced by AnalyzeToPixFrame().
| void PndMvdReadInTBData::GenerateCRCTable | ( | ) | 
Definition at line 36 of file PndMvdReadInTBData.cxx.
References fCRCHighBit, fCRCMask, fCRCTab, fOrder, fPolynom, fRefIn, i, and ReflectBitsStream().
Referenced by PndMvdReadInTBData().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Definition at line 90 of file PndMvdReadInTBData.h.
References fHammingLossFrameCount.
| 
 | inline | 
Definition at line 85 of file PndMvdReadInTBData.h.
References fHammingLossHitCount.
| 
 | inline | 
| 
 | inline | 
Definition at line 84 of file PndMvdReadInTBData.h.
References fPreFrameLossHitCount.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| void PndMvdReadInTBData::Init | ( | ) | 
Definition at line 125 of file PndMvdReadInTBData.cxx.
References fFileCounter, fFileHandle, and fFileNames.
| std::pair< UInt_t, UInt_t > PndMvdReadInTBData::PixeladdressToMatrixAddress | ( | UInt_t | pixelglobaladdress | ) | 
Definition at line 612 of file PndMvdReadInTBData.cxx.
Referenced by ProcessData().
| PndSdsDigiTopix4 PndMvdReadInTBData::ProcessData | ( | ULong64_t & | data, | 
| frameHeader & | header, | ||
| Double_t & | clockFrequency | ||
| ) | 
Definition at line 598 of file PndMvdReadInTBData.cxx.
References BitAnalyzePixelData(), Double_t, fCorrectHitCount, fFE, frameHeader::fFrameCount, pixel::fLeadingEdge, pixel::fPixelAddress, fSuperFrameCount, fTotalHeaderCount, fTotalHitCount, pixel::fTrailingEdge, fVerbose, and PixeladdressToMatrixAddress().
Referenced by AnalyzeToPixFrame().
| Bool_t PndMvdReadInTBData::ReadInData | ( | TClonesArray * | sdsDigiContainer, | 
| TClonesArray * | headerContainer, | ||
| TClonesArray * | allheaderContainer | ||
| ) | 
Definition at line 135 of file PndMvdReadInTBData.cxx.
References AnalyzeData(), Bool_t, fClockFrequency, fFileHandle, fOutputArray, fOutputArrayAllHeader, fOutputArrayHeader, and ReadInRawData().
| Bool_t PndMvdReadInTBData::ReadInRawData | ( | std::ifstream * | fileHandle, | 
| std::vector< ULong64_t > & | rawData | ||
| ) | 
Definition at line 150 of file PndMvdReadInTBData.cxx.
References Bool_t, fFE, fFileCounter, fFileHandle, fFileNames, fVerbose, TMrfData_8b::getNumWords(), TMrfData_8b::getWord(), and i.
Referenced by ReadInData().
| ULong64_t PndMvdReadInTBData::ReflectBitsStream | ( | ULong64_t | crc, | 
| int | bitnum | ||
| ) | 
Definition at line 265 of file PndMvdReadInTBData.cxx.
References i.
Referenced by CalculateCRCTableFast(), and GenerateCRCTable().
| 
 | inline | 
| 
 | inline | 
Definition at line 75 of file PndMvdReadInTBData.h.
| 
 | inline | 
| 
 | inline | 
Definition at line 103 of file PndMvdReadInTBData.h.
| 
 | private | 
Definition at line 108 of file PndMvdReadInTBData.h.
Referenced by ReadInData(), and SetClockFrequency().
| 
 | private | 
Definition at line 142 of file PndMvdReadInTBData.h.
Referenced by GetCorrectFrameCount().
| 
 | private | 
Definition at line 123 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), GetCorrectHitCount(), and ProcessData().
| 
 | private | 
Definition at line 155 of file PndMvdReadInTBData.h.
Referenced by GenerateCRCTable(), and PndMvdReadInTBData().
| 
 | private | 
Definition at line 156 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast().
| 
 | private | 
Definition at line 117 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and GetCRCLossFrameCount().
| 
 | private | 
Definition at line 122 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and GetCRCLossHitCount().
| 
 | private | 
Definition at line 154 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast(), GenerateCRCTable(), and PndMvdReadInTBData().
| 
 | private | 
Definition at line 157 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast(), and GenerateCRCTable().
| 
 | private | 
Definition at line 150 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast().
| 
 | private | 
Definition at line 140 of file PndMvdReadInTBData.h.
| 
 | private | 
Definition at line 145 of file PndMvdReadInTBData.h.
| 
 | private | 
Definition at line 131 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), and GetDoubleHeader().
| 
 | private | 
Definition at line 132 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), and GetDoubleTrailer().
| 
 | private | 
Definition at line 138 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), AnalyzeToPixFrame(), ProcessData(), ReadInRawData(), and SetFE().
| 
 | private | 
Definition at line 139 of file PndMvdReadInTBData.h.
Referenced by Init(), and ReadInRawData().
| 
 | private | 
Definition at line 107 of file PndMvdReadInTBData.h.
Referenced by Init(), ReadInData(), ReadInRawData(), and ~PndMvdReadInTBData().
| 
 | private | 
Definition at line 106 of file PndMvdReadInTBData.h.
Referenced by Init(), ReadInRawData(), and SetFileName().
| 
 | private | 
Definition at line 128 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData().
| 
 | private | 
Definition at line 116 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and GetHammingLossFrameCount().
| 
 | private | 
Definition at line 121 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and GetHammingLossHitCount().
| 
 | private | 
Definition at line 129 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData().
| 
 | private | 
Definition at line 115 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and GetNonSequenctialFC().
| 
 | private | 
Definition at line 114 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData().
| 
 | private | 
Definition at line 113 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame().
| 
 | private | 
Definition at line 148 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast(), GenerateCRCTable(), and PndMvdReadInTBData().
| 
 | private | 
Definition at line 109 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and ReadInData().
| 
 | private | 
Definition at line 111 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), and ReadInData().
| 
 | private | 
Definition at line 110 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), and ReadInData().
| 
 | private | 
Definition at line 149 of file PndMvdReadInTBData.h.
Referenced by GenerateCRCTable().
| 
 | private | 
Definition at line 120 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), and GetPreFrameLossHitCount().
| 
 | private | 
Definition at line 126 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData().
| 
 | private | 
Definition at line 125 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame().
| 
 | private | 
Definition at line 127 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame().
| 
 | private | 
Definition at line 151 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast(), and GenerateCRCTable().
| 
 | private | 
Definition at line 152 of file PndMvdReadInTBData.h.
Referenced by CalculateCRCTableFast().
| 
 | private | 
Definition at line 112 of file PndMvdReadInTBData.h.
Referenced by AnalyzeToPixFrame(), GetSuperFrameCount(), and ProcessData().
| 
 | private | 
Definition at line 143 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), and AnalyzeToPixFrame().
| 
 | private | 
Definition at line 141 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), AnalyzeToPixFrame(), and GetTotalFrameCount().
| 
 | private | 
Definition at line 134 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), GetTotalHeaderCount(), and ProcessData().
| 
 | private | 
Definition at line 119 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), GetTotalHitCount(), and ProcessData().
| 
 | private | 
Definition at line 135 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), and GetTotalTrailerCount().
| 
 | private | 
Definition at line 130 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData().
| 
 | private | 
Definition at line 137 of file PndMvdReadInTBData.h.
Referenced by AnalyzeData(), AnalyzeToPixFrame(), ProcessData(), ReadInRawData(), and SetVerbose().
 1.8.5
 1.8.5