31 produces<reco::MuonTrackLinksCollection>();
39 auto output = std::make_unique<reco::MuonTrackLinksCollection>();
43 for (reco::MuonCollection::const_iterator
muon = muons->begin();
muon != muons->end(); ++
muon) {
44 if (!
muon->isGlobalMuon())
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< reco::MuonCollection > muonToken_
T getParameter(std::string const &) const
~MuonLinksProducer() override
edm::InputTag m_inputCollection
MuonLinksProducer(const edm::ParameterSet &)