diff --git a/EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc b/EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc index 3d4b1a427643f..8bfff33e07542 100644 --- a/EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc +++ b/EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc @@ -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);