16 digiToken_( consumes<
ESDigiCollection>(ps.getParameter<
edm::InputTag>(
"ESdigiCollection")) ),
17 rechitCollection_( ps.getParameter<
std::
string>(
"ESrechitCollection") )
37 LogDebug(
"ESRecHitInfo") <<
"total # ESdigis: " << digi->
size();
40 auto rec = std::make_unique<ESRecHitCollection>();
43 rec->reserve(digi->
size());
49 i!=digi->
end();
i++) {
T getParameter(std::string const &) const
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)
#define DEFINE_FWK_MODULE(type)
virtual void set(const edm::EventSetup &es)=0
const_iterator begin() const
virtual ~ESRecHitProducer()
const std::string rechitCollection_
virtual void produce(edm::Event &e, const edm::EventSetup &es) override
ESRecHitWorkerBaseClass * worker_
const edm::EDGetTokenT< ESDigiCollection > digiToken_
T const * product() const
const_iterator end() const
virtual bool run(const ESDigiCollection::const_iterator &digi, ESRecHitCollection &result)=0
T get(const Candidate &c)