46 ftlbInstance_(ps.getParameter<
std::
string>(
"BarrelHitsName")),
47 ftleInstance_(ps.getParameter<
std::
string>(
"EndcapHitsName")) {
51 auto sumes = consumesCollector();
52 mtdgeoToken_ = esConsumes<MTDGeometry, MTDDigiGeometryRecord>();
77 auto barrelRechits = std::make_unique<FTLRecHitCollection>();
78 auto endcapRechits = std::make_unique<FTLRecHitCollection>();
82 barrelRechits->reserve(hBarrel->
size() / 2);
83 for (
const auto& uhit : *hBarrel) {
87 barrelRechits->push_back(rechit);
92 endcapRechits->reserve(hEndcap->
size() / 2);
93 for (
const auto& uhit : *hEndcap) {
97 endcapRechits->push_back(rechit);