17 rechitCollection_(ps.getParameter<std::
string>(
"ESrechitCollection")),
19 produces<ESRecHitCollection>(rechitCollection_);
30 LogDebug(
"ESRecHitInfo") <<
"total # ESdigis: " << digi->
size();
33 auto rec = std::make_unique<ESRecHitCollection>();
36 rec->reserve(digi->
size());
std::unique_ptr< ESRecHitWorkerBaseClass > worker_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
ESRecHitProducer(const edm::ParameterSet &ps)
#define DEFINE_FWK_MODULE(type)
~ESRecHitProducer() override
const_iterator begin() const
The iterator returned can not safely be used across threads.
const std::string rechitCollection_
void produce(edm::Event &e, const edm::EventSetup &es) override
const edm::EDGetTokenT< ESDigiCollection > digiToken_
T const * product() const
T getParameter(std::string const &) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
const_iterator end() const