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!";
short unsigned int sizeInWords() const
CSCALCTTrailer(const CSCALCTStatusDigi &digi)
void setFromBuffer(unsigned short const *buf)
unsigned FrameCount() const
void setCRC(unsigned int crc)
void setFromBuffer(unsigned short const *buf)
CSCALCTTrailer2006 alctTrailer2006()
static std::atomic< bool > debug
Log< level::Error, false > LogError
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer(int size, int firmVersion)
needed for packing
static int sizeInWords()
in 16-bit frames
CSCALCTTrailer2006 trailer2006
short unsigned int sizeInWords() const
void setCRC(unsigned int crc)
CSCALCTTrailer2007 alctTrailer2007()
const uint16_t * trailer() const
static void setDebug(bool debugValue)
unsigned alctCRCCheck() const
unsigned short int theOriginalBuffer[4]
void setCRC(unsigned int crc)