12 hits.reserve(bucket.size());
14 [](
const SpacePointBucket::value_type& hit){return hit.get();});
21 if (
hits.empty())
return;
25 return a->positionInChamber().
z() <
b->positionInChamber().z();
33 using LayerCounting = std::unordered_map<Identifier, unsigned int>;
34 LayerCounting mdtLayerCounting{}, stripLayerCounting{};
38 const MdtIdHelper& idHelper{idHelperSvc->mdtIdHelper()};
39 const Identifier layId = idHelper.channelID(idHelper.stationName(
id), 1, idHelper.stationPhi(
id),
40 idHelper.multilayer(
id), idHelper.tubeLayer(
id), 1);
42 const unsigned int layer = mdtLayerCounting.insert(std::make_pair(layId, mdtLayerCounting.size())).first->second;
47 if (pushTo.capacity() == pushTo.size()){
48 pushTo.reserve(pushTo.size() + 5);
50 pushTo.push_back(hit);
53 m_mdtLayers[
layer -1].front()->primaryMeasurement()->identifierHash() != hit->primaryMeasurement()->identifierHash()) {
57 const Identifier layId = idHelperSvc->gasGapId(
id);
58 const unsigned int layer = stripLayerCounting.insert(std::make_pair(layId, stripLayerCounting.size())).first->second;
64 if (pushTo.capacity() == pushTo.size()){
65 pushTo.reserve(pushTo.size() + 5);
67 pushTo.push_back(hit);