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