14 produces<ME0RecHitCollection>();
29 event.getByToken(
m_token, digis);
37 auto recHitCollection = std::make_unique<ME0RecHitCollection>();
42 for (me0dgIt = digis->begin(); me0dgIt != digis->end(); ++me0dgIt) {
44 const ME0DetId& me0Id = (*me0dgIt).first;
54 recHitCollection->put(me0Id, recHits.
begin(), recHits.
end());
T getParameter(std::string const &) const
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_token
std::unique_ptr< ME0RecHitBaseAlgo > theAlgo
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
std::pair< const_iterator, const_iterator > Range
~ME0RecHitProducer() override
Destructor.
ME0RecHitProducer(const edm::ParameterSet &config)
Constructor.