18 theFirmwareVersion(firmwareVersion)
20 if(firmwareVersion == 2013)
24 else if(firmwareVersion == 2006)
28 else if(firmwareVersion == 2007)
30 if(firmwareRevision >= 0x50c3)
32 if (firmwareRevision >= 0x7a76)
48 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
78 else if (buf[0]==0x6B0C)
85 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
126 if(digis.size() > 0) {
130 if(digis.size() > 1)
addCLCT1(digis[1]);
175 static bool debug =
false;
180 for(
int iendcap = 1; iendcap <= 2; ++iendcap)
194 CSCCorrelatedLCTDigi lct0(1, 1, 2, 10, 98, 5, 0, 1, 0, 0, 0, 0);
195 CSCCorrelatedLCTDigi lct1(2, 1, 2, 20, 15, 9, 1, 0, 0, 0, 0, 0);
202 std::vector<CSCCLCTDigi> clcts = tmbHeader.
CLCTDigis(detId.
rawId());
208 std::cout <<
"Match for: " << clct0 <<
"\n";
217 std::cout <<
"Match for: " << lct0 <<
"\n";
222 unsigned short int *
data = tmbHeader.
data();
std::ostream & operator<<(std::ostream &out, const ALILine &li)
uint32_t rawId() const
get the raw id
bool cscPackerCompare(const T &t1, const T &t2)