32 if ((firmwareRevision >= 0x50c3) || (firmwareRevision < 0x42D5)) {
35 if ((firmwareRevision >= 0x6000) || (firmwareRevision < 0x42D5)) {
44 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
54 if (
buf[0] == 0xDB0C) {
73 }
else if (
buf[0] == 0x6B0C) {
77 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
116 if (!digis.empty()) {
119 if (digis.size() > 1)
127 if (digis.size() > 1)
142 throw cms::Exception(
"Could not get 2007 rev0x50c3 TMB header format");
164 constexpr
bool debug =
false;
168 for (
int iendcap = 1; iendcap <= 2; ++iendcap) {
181 CSCCorrelatedLCTDigi lct0(1, 1, 2, 10, 98, 5, 0, 1, 0, 0, 0, 0);
182 CSCCorrelatedLCTDigi lct1(2, 1, 2, 20, 15, 9, 1, 0, 0, 0, 0, 0);
189 std::vector<CSCCLCTDigi> clcts = tmbHeader.
CLCTDigis(detId.
rawId());
194 std::cout <<
"Match for: " << clct0 <<
"\n";
202 std::cout <<
"Match for: " << lct0 <<
"\n";
207 unsigned short int *
data = tmbHeader.
data();