Skip to content

Commit

Permalink
Merge pull request #39320 from zhangcg123/ASolutionforIssue38939_125X
Browse files Browse the repository at this point in the history
A possible solution for RPCAMCLink out-of-range issue[12_5_X]
  • Loading branch information
cmsbuild authored Sep 7, 2022
2 parents ba31558 + 28fc34a commit 0ae4b73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EventFilter/RPCRawToDigi/plugins/RPCCPPFUnpacker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ void RPCCPPFUnpacker::processRXRecord(RPCAMCLink link,
LogDebug("RPCCPPFRawToDigi") << "RXRecord " << std::hex << record.getRecord() << std::dec << std::endl;
unsigned int fed(link.getFED());
unsigned int amc_number(link.getAMCNumber());
if (record.getLink() > 80)
return;
link.setAMCInput(record.getLink());

int bx_offset = (int)(record.getBXCounterMod() + 31 - bx_counter_mod) % 27 - 4;
Expand Down

0 comments on commit 0ae4b73

Please sign in to comment.