14 if (wordCount % 4 == 2) {
21 for (
int i = 1;
i < 5; ++
i) {
33 switch (firmwareVersion) {
47 edm::LogError(
"CSCTMBTrailer|CSCRawToDigi") <<
"failed to contruct: firmware version is bad/not defined!";
64 unsigned int crc = 0xb00b1;
66 assert(trailer.
crc22() == 0xb00b1);
71 assert(trailer2.crc22() == 0xb00b1);
unsigned short int theFirmwareVersion
CSCTMBTrailer(int wordCount, int firmwareVersion)
don't forget to pass in the size of the tmb header + clct data
unsigned int crc22() const
unsigned short theData[7]