14 produces<ME0RecHitCollection>();
16 m_token = consumes<ME0DigiPreRecoCollection>(
config.getParameter<
edm::InputTag>(
"me0DigiLabel"));
17 m_me0GeomToken = esConsumes<ME0Geometry, MuonGeometryRecord>();
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;
edm::ESGetToken< ME0Geometry, MuonGeometryRecord > m_me0GeomToken
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.