25 produces<reco::CaloMuonCollection>();
35 auto oMuons = std::make_unique<reco::CaloMuonCollection>();
36 for (reco::CaloMuonCollection::const_iterator
muon = iMuons->begin();
muon != iMuons->end(); ++
muon)
37 oMuons->push_back(*
muon);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::InputTag inputCollection
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~CaloMuonProducer() override
edm::EDGetTokenT< reco::CaloMuonCollection > muonToken_
CaloMuonProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
T getParameter(std::string const &) const