Skip to content

Commit

Permalink
Removing extraneous collection
Browse files Browse the repository at this point in the history
  • Loading branch information
chnielse committed Feb 2, 2024
1 parent 9c7f37e commit 2263ddb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions L1Trigger/Phase2L1ParticleFlow/plugins/L1HPSPFTauProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,6 @@ void L1HPSPFTauProducer::produce(edm::StreamID,

}




//add iterator to add particles to selParticles collection
for(const auto& l1PFCand : particles){

selParticles->push_back(*l1PFCand);

}

//get the jets
std::vector<edm::Ptr<reco::CaloJet>> jets;
Expand All @@ -127,7 +118,6 @@ void L1HPSPFTauProducer::produce(edm::StreamID,
std::sort(taus.begin(), taus.end(), [](l1t::PFTau i, l1t::PFTau j) { return (i.pt() > j.pt()); });
newPFTauCollection->swap(taus);
iEvent.put(std::move(newPFTauCollection), "HPSTaus");
iEvent.put(std::move(selParticles), "SelPFCands");

}

Expand Down

0 comments on commit 2263ddb

Please sign in to comment.