11 #ifndef MVD_MVDOFFLINETBANALYSIS_PNDCRCCALCULATOR_H_ 12 #define MVD_MVDOFFLINETBANALYSIS_PNDCRCCALCULATOR_H_ 20 PndCRCCalculator(UInt_t order, ULong64_t polynom, ULong64_t CRCXor, UInt_t refIn, UInt_t refOut, UInt_t CRCInit_direct);
37 const ULong64_t fPolynom;
38 const ULong64_t fCRCXor;
43 ULong64_t fCRCHighBit;
44 ULong64_t fCRCInit_direct;
45 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>