35 produces<std::vector<reco::Track>>();
44 auto isoTracks = std::make_unique<std::vector<reco::Track>>();
49 if (dirtyTracks->empty()) {
55 for (
auto it1 = dirtyTracks->begin(); it1 != dirtyTracks->end(); ++it1) {
56 for (
auto it2 = dirtyTracks->begin(); it2 != dirtyTracks->end(); ++it2) {
60 sumPtInCone += it2->pt();
63 if (sumPtInCone <= threshold_ * it1->
pt()) {
64 isoTracks->push_back(*it1);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
edm::EDGetTokenT< std::vector< reco::Track > > v_recoTrackToken_
T getParameter(std::string const &) const
IsoTracks(edm::ParameterSet const &)