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!";
CSCALCTTrailer(const CSCALCTStatusDigi &digi)
const uint16_t * trailer() const
unsigned FrameCount() const
void setFromBuffer(unsigned short const *buf)
void setCRC(unsigned int crc)
void setFromBuffer(unsigned short const *buf)
short unsigned int sizeInWords() const
CSCALCTTrailer2006 alctTrailer2006()
static std::atomic< bool > debug
Log< level::Error, false > LogError
unsigned alctCRCCheck() const
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()
static void setDebug(bool debugValue)
unsigned short int theOriginalBuffer[4]
tuple size
Write out results.
void setCRC(unsigned int crc)