16 digiToken_( consumes<
ESDigiCollection>(ps.getParameter<
edm::InputTag>(
"ESdigiCollection")) ),
17 rechitCollection_( ps.getParameter<
std::
string>(
"ESrechitCollection") ),
32 LogDebug(
"ESRecHitInfo") <<
"total # ESdigis: " << digi->
size();
35 auto rec = std::make_unique<ESRecHitCollection>();
38 rec->reserve(digi->
size());
44 i!=digi->
end();
i++) {
T getParameter(std::string const &) const
std::unique_ptr< ESRecHitWorkerBaseClass > worker_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
ESRecHitProducer(const edm::ParameterSet &ps)
~ESRecHitProducer() override
const_iterator begin() const
#define DEFINE_FWK_MODULE(type)
const std::string rechitCollection_
void produce(edm::Event &e, const edm::EventSetup &es) override
const edm::EDGetTokenT< ESDigiCollection > digiToken_
T const * product() const
const_iterator end() const
T get(const Candidate &c)