40 if (firmVersion == 2006) {
43 }
else if (firmVersion == 2007) {
48 <<
"failed to construct: undetermined ALCT firmware version!!" << firmVersion;
54 if ((
buf[0] == 0xDE0D) && ((
buf[1] & 0xF000) == 0xD000)) {
56 }
else if ((
buf[2] & 0xFFF) == 0xE0D) {
60 <<
"failed to construct: undetermined ALCT firmware version!!" <<
firmwareVersion;
76 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't construct: ALCT firmware version is bad/not defined!";
short unsigned int sizeInWords() const
void setFromBuffer(unsigned short const *buf)
void setFromBuffer(unsigned short const *buf)
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
CSCALCTTrailer2006 trailer2006
short unsigned int sizeInWords() const