22 theFirmwareVersion(firmwareVersion)
24 if(firmwareVersion == 2013)
28 else if(firmwareVersion == 2006)
32 else if(firmwareVersion == 2007)
34 if(firmwareRevision >= 0x50c3)
36 if (firmwareRevision >= 0x7a76)
52 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
82 else if (buf[0]==0x6B0C)
89 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
130 if(digis.size() > 0) {
134 if(digis.size() > 1)
addCLCT1(digis[1]);
179 static bool debug =
false;
184 for(
int iendcap = 1; iendcap <= 2; ++iendcap)
198 CSCCorrelatedLCTDigi lct0(1, 1, 2, 10, 98, 5, 0, 1, 0, 0, 0, 0);
199 CSCCorrelatedLCTDigi lct1(2, 1, 2, 20, 15, 9, 1, 0, 0, 0, 0, 0);
206 std::vector<CSCCLCTDigi> clcts = tmbHeader.
CLCTDigis(detId.
rawId());
212 std::cout <<
"Match for: " << clct0 <<
"\n";
221 std::cout <<
"Match for: " << lct0 <<
"\n";
226 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)