17 theFirmwareVersion(firmwareVersion)
19 if(firmwareVersion == 2006)
23 else if(firmwareVersion == 2007)
25 if(firmwareRevision >= 0x50c3)
36 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
56 else if (buf[0]==0x6B0C) {
61 edm::LogError(
"CSCTMBHeader|CSCRawToDigi") <<
"failed to determine TMB firmware version!!";
102 if(digis.size() > 0)
addCLCT0(digis[0]);
103 if(digis.size() > 1)
addCLCT1(digis[1]);
136 static bool debug =
false;
140 for(
int iendcap = 1; iendcap <= 2; ++iendcap) {
153 CSCCorrelatedLCTDigi lct0(1, 1, 2, 10, 98, 5, 0, 1, 0, 0, 0, 0);
154 CSCCorrelatedLCTDigi lct1(2, 1, 2, 20, 15, 9, 1, 0, 0, 0, 0, 0);
161 std::vector<CSCCLCTDigi> clcts = tmbHeader.
CLCTDigis(detId.
rawId());
166 std::cout <<
"Match for: " << clct0 <<
"\n";
174 std::cout <<
"Match for: " << lct0 <<
"\n";
179 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)