CMS 3D CMS Logo

Functions
HGCalRawDataPackingTools.cc File Reference
#include "EventFilter/HGCalRawToDigi/interface/HGCalRawDataPackingTools.h"
#include "EventFilter/HGCalRawToDigi/interface/HGCalRawDataDefinitions.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Functions

static uint8_t computeCRC8bit (const std::vector< uint32_t > &event_header)
 

Function Documentation

◆ computeCRC8bit()

static uint8_t computeCRC8bit ( const std::vector< uint32_t > &  event_header)
static

Definition at line 118 of file HGCalRawDataPackingTools.cc.

Referenced by hgcal::econd::eventPacketHeader().

118  {
119  uint8_t crc = 0x42; //TODO: implement 8-bit Bluetooth CRC
120  return crc;
121 }