FairRoot/PandaRoot
|
#include <PndHammingDecoder.h>
Public Member Functions | |
PndHammingDecoder () | |
virtual | ~PndHammingDecoder () |
UShort_t | CheckHammingCode (ULong64_t dataword, int dataword_length) |
ULong64_t | CalculateCRCTableFast (std::vector< char > p, ULong64_t len) |
ULong64_t | ReflectBitsStream (ULong64_t crc, int bitnum) |
std::vector< char > | ConvertData (std::vector< ULong64_t > topixFrame) |
Protected Member Functions | |
void | GenerateCRCTable () |
Private Attributes | |
const UInt_t | fOrder |
const ULong64_t | fPolynom |
const ULong64_t | fCRCXor |
const UInt_t | fRefIn |
const UInt_t | fRefOut |
ULong64_t | fCRCMask |
ULong64_t | fCRCHighBit |
ULong64_t | fCRCInit_direct |
ULong64_t | fCRCTab [256] |
Definition at line 13 of file PndHammingDecoder.h.
PndHammingDecoder::PndHammingDecoder | ( | ) |
Definition at line 13 of file PndHammingDecoder.cxx.
References fCRCHighBit, fCRCMask, fOrder, and GenerateCRCTable().
|
virtual |
Definition at line 22 of file PndHammingDecoder.cxx.
ULong64_t PndHammingDecoder::CalculateCRCTableFast | ( | std::vector< char > | p, |
ULong64_t | len | ||
) |
Definition at line 75 of file PndHammingDecoder.cxx.
References fCRCInit_direct, fCRCMask, fCRCTab, fCRCXor, fOrder, fRefIn, fRefOut, and ReflectBitsStream().
Referenced by PndMvdReadInToPix4TBData::CheckDataIntegrity().
UShort_t PndHammingDecoder::CheckHammingCode | ( | ULong64_t | dataword, |
int | dataword_length | ||
) |
Definition at line 26 of file PndHammingDecoder.cxx.
References i.
Referenced by PndMvdReadInToPix4TBData::CheckDataIntegrity().
std::vector< char > PndHammingDecoder::ConvertData | ( | std::vector< ULong64_t > | topixFrame | ) |
Definition at line 60 of file PndHammingDecoder.cxx.
References i.
Referenced by PndMvdReadInToPix4TBData::CheckDataIntegrity().
|
protected |
Definition at line 115 of file PndHammingDecoder.cxx.
References fCRCHighBit, fCRCMask, fCRCTab, fOrder, fPolynom, fRefIn, i, and ReflectBitsStream().
Referenced by PndHammingDecoder().
ULong64_t PndHammingDecoder::ReflectBitsStream | ( | ULong64_t | crc, |
int | bitnum | ||
) |
Definition at line 144 of file PndHammingDecoder.cxx.
References i.
Referenced by CalculateCRCTableFast(), and GenerateCRCTable().
|
private |
Definition at line 36 of file PndHammingDecoder.h.
Referenced by GenerateCRCTable(), and PndHammingDecoder().
|
private |
Definition at line 37 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast().
|
private |
Definition at line 35 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast(), GenerateCRCTable(), and PndHammingDecoder().
|
private |
Definition at line 38 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast(), and GenerateCRCTable().
|
private |
Definition at line 31 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast().
|
private |
Definition at line 29 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast(), GenerateCRCTable(), and PndHammingDecoder().
|
private |
Definition at line 30 of file PndHammingDecoder.h.
Referenced by GenerateCRCTable().
|
private |
Definition at line 32 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast(), and GenerateCRCTable().
|
private |
Definition at line 33 of file PndHammingDecoder.h.
Referenced by CalculateCRCTableFast().