14 if (wordCount % 4 == 2) {
21 for (
int i = 1;
i < 5; ++
i) {
30 : theFirmwareVersion(firmwareVersion) {
33 switch (firmwareVersion) {
47 edm::LogError(
"CSCTMBTrailer|CSCRawToDigi") <<
"failed to contruct: firmware version is bad/not defined!";
64 unsigned int crc = 0xb00b1;
71 assert(trailer2.crc22() == 0xb00b1);
Log< level::Error, false > LogError
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]