17 eeHitCollection_(ps.getParameter<
std::
string>(
"HGCEEhitCollection")),
18 hefHitCollection_(ps.getParameter<
std::
string>(
"HGCHEFhitCollection")),
19 hebHitCollection_(ps.getParameter<
std::
string>(
"HGCHEBhitCollection")),
20 hfnoseHitCollection_(ps.getParameter<
std::
string>(
"HGCHFNosehitCollection")),
22 produces<HGCeeUncalibratedRecHitCollection>(eeHitCollection_);
23 produces<HGChefUncalibratedRecHitCollection>(hefHitCollection_);
24 produces<HGChebUncalibratedRecHitCollection>(hebHitCollection_);
25 produces<HGChfnoseUncalibratedRecHitCollection>(hfnoseHitCollection_);
37 auto eeUncalibRechits = std::make_unique<HGCeeUncalibratedRecHitCollection>();
38 auto hefUncalibRechits = std::make_unique<HGChefUncalibratedRecHitCollection>();
39 auto hebUncalibRechits = std::make_unique<HGChebUncalibratedRecHitCollection>();
40 auto hfnoseUncalibRechits = std::make_unique<HGChfnoseUncalibratedRecHitCollection>();
47 for (
auto itdg =
eeDigis->begin(); itdg !=
eeDigis->end(); ++itdg) {
48 worker_->runHGCEE(itdg, *eeUncalibRechits);
56 for (
auto itdg = hefDigis->
begin(); itdg != hefDigis->
end(); ++itdg) {
57 worker_->runHGCHEsil(itdg, *hefUncalibRechits);
65 for (
auto itdg = hebDigis->
begin(); itdg != hebDigis->
end(); ++itdg) {
66 worker_->runHGCHEscint(itdg, *hebUncalibRechits);
72 if (pHGCHFNoseDigis.
isValid()) {
77 worker_->runHGCHFNose(itdg, *hfnoseUncalibRechits);