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.
~ME0MuonTrackCollProducer()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::vector< Track > TrackCollection
collection of Tracks
edm::Handle< std::vector< reco::ME0Muon > > OurMuons
const edm::ParameterSet parset_
ME0MuonTrackCollProducer(const edm::ParameterSet &)
virtual 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
edm::EDGetTokenT< ME0MuonCollection > OurMuonsToken_
edm::InputTag OurMuonsTag