Skip to content

Commit c730b9c

Browse files
committed
Fix L1Comparator.cc
1 parent 15ba4df commit c730b9c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

L1Trigger/HardwareValidation/src/L1Comparator.cc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,6 @@ void L1Comparator::produce(edm::StreamID, edm::Event& iEvent, const edm::EventSe
436436
edm::Handle<L1MuGMTCandCollection> gmt_emul;
437437
edm::Handle<L1MuGMTReadoutCollection> gmt_rdt_data_;
438438
edm::Handle<L1MuGMTReadoutCollection> gmt_rdt_emul_;
439-
L1MuRegionalCandCollection const* gmt_rdt_data = nullptr;
440-
L1MuRegionalCandCollection const* gmt_rdt_emul = nullptr;
441439
if (runDoSys[GMT]) {
442440
iEvent.getByToken(tokenMuGMTCand_[0], gmt_data);
443441
iEvent.getByToken(tokenMuGMTCand_[1], gmt_emul);
@@ -509,10 +507,10 @@ void L1Comparator::produce(edm::StreamID, edm::Event& iEvent, const edm::EventSe
509507
gmt_rdt_emul_vec.insert(gmt_rdt_emul_vec.end(), rmc.begin(), rmc.end());
510508
}
511509
}
512-
gmt_rdt_data = &gmt_rdt_data_vec;
513-
gmt_rdt_emul = &gmt_rdt_emul_vec;
514-
gmt_can_data = &gmt_can_data_vec;
515-
gmt_can_emul = &gmt_can_emul_vec;
510+
L1MuRegionalCandCollection const* gmt_rdt_data = &gmt_rdt_data_vec;
511+
L1MuRegionalCandCollection const* gmt_rdt_emul = &gmt_rdt_emul_vec;
512+
L1MuGMTCandCollection const* gmt_can_data = &gmt_can_data_vec;
513+
L1MuGMTCandCollection const* gmt_can_emul = &gmt_can_emul_vec;
516514

517515
///--- done getting collections. ---
518516

0 commit comments

Comments
 (0)