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")),
23 produces<HGCeeUncalibratedRecHitCollection>(eeHitCollection_);
24 produces<HGChefUncalibratedRecHitCollection>(hefHitCollection_);
25 produces<HGChebUncalibratedRecHitCollection>(hebHitCollection_);
26 produces<HGChfnoseUncalibratedRecHitCollection>(hfnoseHitCollection_);
38 auto eeUncalibRechits = std::make_unique<HGCeeUncalibratedRecHitCollection>();
39 auto hefUncalibRechits = std::make_unique<HGChefUncalibratedRecHitCollection>();
40 auto hebUncalibRechits = std::make_unique<HGChebUncalibratedRecHitCollection>();
41 auto hfnoseUncalibRechits = std::make_unique<HGChfnoseUncalibratedRecHitCollection>();
48 for (
auto itdg =
eeDigis->begin(); itdg !=
eeDigis->end(); ++itdg) {
49 worker_->runHGCEE(itdg, *eeUncalibRechits);
57 for (
auto itdg = hefDigis->
begin(); itdg != hefDigis->
end(); ++itdg) {
58 worker_->runHGCHEsil(itdg, *hefUncalibRechits);
66 for (
auto itdg = hebDigis->
begin(); itdg != hebDigis->
end(); ++itdg) {
67 worker_->runHGCHEscint(itdg, *hebUncalibRechits);
73 if (pHGCHFNoseDigis.
isValid()) {
78 worker_->runHGCHFNose(itdg, *hfnoseUncalibRechits);