45 ftlbInstance_(ps.getParameter<
std::
string>(
"BarrelHitsName")),
46 ftleInstance_(ps.getParameter<
std::
string>(
"EndcapHitsName")) {
50 auto sumes = consumesCollector();
76 auto barrelRechits = std::make_unique<FTLRecHitCollection>();
77 auto endcapRechits = std::make_unique<FTLRecHitCollection>();
81 barrelRechits->reserve(hBarrel->
size() / 2);
82 for (
const auto& uhit : *hBarrel) {
86 barrelRechits->push_back(rechit);
91 endcapRechits->reserve(hEndcap->
size() / 2);
92 for (
const auto& uhit : *hEndcap) {
96 endcapRechits->push_back(rechit);