23 #ifndef MVD_MVDOFFLINETBANALYSIS_PNDCRCCALCULATOR_H_ 24 #define MVD_MVDOFFLINETBANALYSIS_PNDCRCCALCULATOR_H_ 32 PndCRCCalculator(UInt_t order, ULong64_t polynom, ULong64_t CRCXor, UInt_t refIn, UInt_t refOut, UInt_t CRCInit_direct);
49 const ULong64_t fPolynom;
50 const ULong64_t fCRCXor;
55 ULong64_t fCRCHighBit;
56 ULong64_t fCRCInit_direct;
57 ULong64_t fCRCTab[256];
ULong64_t ReflectBitsStream(ULong64_t crc, int bitnum)
ULong64_t CalculateCRCTableFast(std::vector< char > p, ULong64_t len)
virtual ~PndCRCCalculator()
PndCRCCalculator calculates the CRC checksum from a given vector<char>