@@ -436,11 +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 ;
441- // tbd: may compare extended candidates
442- L1MuGMTCandCollection const * gmt_can_data (new L1MuGMTCandCollection);
443- L1MuGMTCandCollection const * gmt_can_emul (new L1MuGMTCandCollection);
444439 if (runDoSys[GMT]) {
445440 iEvent.getByToken (tokenMuGMTCand_[0 ], gmt_data);
446441 iEvent.getByToken (tokenMuGMTCand_[1 ], gmt_emul);
@@ -512,10 +507,10 @@ void L1Comparator::produce(edm::StreamID, edm::Event& iEvent, const edm::EventSe
512507 gmt_rdt_emul_vec.insert (gmt_rdt_emul_vec.end (), rmc.begin (), rmc.end ());
513508 }
514509 }
515- gmt_rdt_data = &gmt_rdt_data_vec;
516- gmt_rdt_emul = &gmt_rdt_emul_vec;
517- gmt_can_data = &gmt_can_data_vec;
518- 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;
519514
520515 // /--- done getting collections. ---
521516
0 commit comments