Skip to content

Commit

Permalink
Merge pull request #37707 from cecilecaillol/l1t-issueCSCTF
Browse files Browse the repository at this point in the history
[L1] CSCTF fix issue with writing beyond array boundaries
  • Loading branch information
cmsbuild authored Apr 28, 2022
2 parents d9ad14e + 0f53d79 commit 110cbef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ void CSCTFUnpacker::produce(edm::Event& e, const edm::EventSetup& c) {
if (lct.empty())
continue;

status.link_status[lct[0].spInput()] |= (1 << lct[0].receiver_status_frame1()) |
(1 << lct[0].receiver_status_frame2()) |
((lct[0].aligment_fifo() ? 1 : 0) << 4);
status.link_status[lct[0].spInput() - 1] |= (1 << lct[0].receiver_status_frame1()) |
(1 << lct[0].receiver_status_frame2()) |
((lct[0].aligment_fifo() ? 1 : 0) << 4);
status.mpc_link_id |= (lct[0].link() << 2) | lct[0].mpc();

int station = (FPGA ? FPGA : 1);
Expand Down

0 comments on commit 110cbef

Please sign in to comment.