37 produces<reco::TrackCollection>();
43 auto outTracks = std::make_unique<reco::TrackCollection>();
44 for ( reco::TrackCollection::const_iterator trk=tracks->begin(); trk!=tracks->end(); ++trk ){
46 if (trk->hitPattern().numberOfValidTrackerHits()<
m_minTrkHits)
continue;
47 if (trk->hitPattern().numberOfValidMuonHits()<
m_minMuonHits)
continue;
48 outTracks->push_back(*trk);
T getParameter(std::string const &) const
double m_maxNormalizedChi2
#define DEFINE_FWK_MODULE(type)
L3MuonCleaner(const edm::ParameterSet &)
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< reco::TrackCollection > inputToken_
ParameterSet const & parameterSet(Provenance const &provenance)