35 produces<reco::TrackCollection>();
41 auto outTracks = std::make_unique<reco::TrackCollection>();
42 for (reco::TrackCollection::const_iterator trk =
tracks->begin(); trk !=
tracks->end(); ++trk) {
45 if (trk->hitPattern().numberOfValidTrackerHits() <
m_minTrkHits)
47 if (trk->hitPattern().numberOfValidMuonHits() <
m_minMuonHits)
49 outTracks->push_back(*trk);
T getParameter(std::string const &) const
double m_maxNormalizedChi2
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
L3MuonCleaner(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
~L3MuonCleaner() override
edm::EDGetTokenT< reco::TrackCollection > inputToken_