16 eeHitCollection_( ps.getParameter<std::
string>(
"HGCEEhitCollection") ),
17 hefHitCollection_( ps.getParameter<std::
string>(
"HGCHEFhitCollection") ),
18 hebHitCollection_( ps.getParameter<std::
string>(
"HGCHEBhitCollection") ) {
41 pHGCEEDigis.product();
45 pHGCHEFDigis.product();
49 pHGCHEBDigis.product();
60 eeUncalibRechits->reserve(eeDigis->size());
61 for(
auto itdg = eeDigis->begin(); itdg != eeDigis->end(); ++itdg) {
62 worker_->run1(evt, itdg, *eeUncalibRechits);
65 hefUncalibRechits->reserve(hefDigis->size());
66 for(
auto itdg = hefDigis->begin(); itdg != hefDigis->end(); ++itdg) {
67 worker_->run2(evt, itdg, *hefUncalibRechits);
70 hebUncalibRechits->reserve(hebDigis->size());
71 for(
auto itdg = hebDigis->begin(); itdg != hebDigis->end(); ++itdg) {
72 worker_->run3(evt, itdg, *hebUncalibRechits);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
const std::string hefHitCollection_
const edm::EDGetTokenT< HGCHEDigiCollection > hefDigiCollection_
const std::string eeHitCollection_
const edm::EDGetTokenT< HGCHEDigiCollection > hebDigiCollection_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
~HGCalUncalibRecHitProducer()
std::unique_ptr< HGCalUncalibRecHitWorkerBaseClass > worker_
HGCalUncalibRecHitProducer(const edm::ParameterSet &ps)
const std::string hebHitCollection_
virtual void produce(edm::Event &evt, const edm::EventSetup &es) override
T get(const Candidate &c)
const edm::EDGetTokenT< HGCEEDigiCollection > eeDigiCollection_