57 produces<reco::TrackCollection>();
78 for(std::vector<reco::ME0Muon>::const_iterator thismuon = OurMuons->begin();
79 thismuon != OurMuons->end(); ++thismuon) {
84 if (thismuon->innerTrack().isNonnull()) trackref = thismuon->innerTrack();
90 selectedTracks->push_back( *trk );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
edm::Handle< std::vector< reco::ME0Muon > > OurMuons
const edm::ParameterSet parset_
#define DEFINE_FWK_MODULE(type)
ME0MuonTrackCollProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
std::vector< std::string > selectionTags
RefProd< PROD > getRefBeforePut()
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
~ME0MuonTrackCollProducer() override
edm::EDGetTokenT< ME0MuonCollection > OurMuonsToken_
edm::InputTag OurMuonsTag