Go to the documentation of this file. 1 #ifndef EventFilter_CSCRawToDigi_CSCALCTTrailer_h
2 #define EventFilter_CSCRawToDigi_CSCALCTTrailer_h
23 crc1 = (crc >> 11) & 0x7FF;
42 crc1 = (crc >> 11) & 0x7FF;
76 <<
"couldn't access data: ALCT firmware version is bad/not defined!";
98 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't setCRC: ALCT firmware version is bad/not defined!";
114 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't getCRC: ALCT firmware version is bad/not defined!";
130 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't check: ALCT firmware version is bad/not defined!";
146 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't wordCount: ALCT firmware version is bad/not defined!";
162 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't CRCcheck: ALCT firmware version is bad/not defined!";
void setCRC(unsigned int crc)
void setFromBuffer(unsigned short const *buf)
CSCALCTTrailer(const CSCALCTStatusDigi &digi)
CSCALCTTrailer2006 trailer2006
static int sizeInWords()
in 16-bit frames
void setFromBuffer(unsigned short const *buf)
CSCALCTTrailer2006 alctTrailer2006()
unsigned short int theOriginalBuffer[4]
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
short unsigned int sizeInWords() const
Log< level::Error, false > LogError
void setCRC(unsigned int crc)
const uint16_t * trailer() const
static void setDebug(bool debugValue)
short unsigned int sizeInWords() const
void setCRC(unsigned int crc)
CSCALCTTrailer2007 alctTrailer2007()
unsigned FrameCount() const
CSCALCTTrailer(int size, int firmVersion)
needed for packing
unsigned alctCRCCheck() const
static std::atomic< bool > debug