40 if (firmVersion == 2006) {
41 trailer2006.setSize(size);
43 }
else if (firmVersion == 2007) {
44 trailer2007.setSize(size);
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;
70 trailer2006.setFromBuffer(buf);
73 trailer2007.setFromBuffer(buf);
76 edm::LogError(
"CSCALCTTrailer|CSCRawToDigi") <<
"couldn't construct: ALCT firmware version is bad/not defined!";
static std::atomic< bool > debug
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer(int size, int firmVersion)
needed for packing
short unsigned int sizeInWords() const