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
L3MuonCleaner(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
~L3MuonCleaner() override
edm::EDGetTokenT< reco::TrackCollection > inputToken_
ParameterSet const & parameterSet(Provenance const &provenance)