13 eeDigiCollection_( consumes<
HGCEEDigiCollection>( ps.getParameter<
edm::InputTag>(
"HGCEEdigiCollection") ) ),
14 hefDigiCollection_( consumes<
HGCHEDigiCollection>( ps.getParameter<
edm::InputTag>(
"HGCHEFdigiCollection") ) ),
15 hebDigiCollection_( consumes<
HGCBHDigiCollection>( ps.getParameter<
edm::InputTag>(
"HGCHEBdigiCollection") ) ),
16 eeHitCollection_( ps.getParameter<
std::
string>(
"HGCEEhitCollection") ),
17 hefHitCollection_( ps.getParameter<
std::
string>(
"HGCHEFhitCollection") ),
18 hebHitCollection_( ps.getParameter<
std::
string>(
"HGCHEBhitCollection") ) {
42 auto eeUncalibRechits = std::make_unique<HGCeeUncalibratedRecHitCollection>();
43 auto hefUncalibRechits = std::make_unique<HGChefUncalibratedRecHitCollection>();
44 auto hebUncalibRechits = std::make_unique<HGChebUncalibratedRecHitCollection>();
50 pHGCEEDigis.product();
52 for(
auto itdg = eeDigis->
begin(); itdg != eeDigis->
end(); ++itdg) {
53 worker_->run1(evt, itdg, *eeUncalibRechits);
61 for(
auto itdg = hefDigis->
begin(); itdg != hefDigis->
end(); ++itdg) {
62 worker_->run2(evt, itdg, *hefUncalibRechits);
70 for(
auto itdg = hebDigis->
begin(); itdg != hebDigis->
end(); ++itdg) {
71 worker_->run3(evt, itdg, *hebUncalibRechits);
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
def create(alignables, pedeDump, additionalData, outputFile, config)
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_iterator end() const
~HGCalUncalibRecHitProducer() override
T const * product() const
std::unique_ptr< HGCalUncalibRecHitWorkerBaseClass > worker_
HGCalUncalibRecHitProducer(const edm::ParameterSet &ps)
const std::string hebHitCollection_
void produce(edm::Event &evt, const edm::EventSetup &es) override
void reserve(size_type n)
const edm::EDGetTokenT< HGCBHDigiCollection > hebDigiCollection_
T get(const Candidate &c)
const_iterator begin() const
const edm::EDGetTokenT< HGCEEDigiCollection > eeDigiCollection_