48 : electronSrcToken_(consumes<
edm::
View<
reco::GsfElectron>>(iConfig.getParameter<
edm::
InputTag>(
"electronSource"))),
53 produces<edm::RefToBaseVector<reco::GsfElectron>>();
66 auto result = std::make_unique<RefToBaseVector<reco::GsfElectron>>();
68 std::unique_ptr<std::vector<size_t>> duplicates = duplicateRemover_.duplicatesToRemove(*
electrons);
70 std::vector<size_t>::const_iterator itdup = duplicates->begin(), enddup = duplicates->end();
72 while ((itdup != enddup) && (*itdup <
i)) {
75 if ((itdup != enddup) && (*itdup ==
i))