14 hits.reserve(bucket.size());
16 [](
const SpacePointBucket::value_type& hit){return hit.get();});
23 if (
hits.empty())
return;
26 const MdtIdHelper& idHelper {idHelperSvc->mdtIdHelper()};
29 HitVec::const_iterator itr =
hits.begin();
31 while (itr !=
hits.end()) {
32 const Identifier refId = laySorter.detectorLayerId((*itr)->identify());
34 HitVec::const_iterator end_insert = std::find_if(itr,
hits.end(),[&refId,&laySorter](
const SpacePoint* testMe) {
35 return refId != laySorter.detectorLayerId(testMe->identify());
40 if (isMdt && !pushMe.empty()){
41 if (idHelper.multilayer((*itr)->identify()) != idHelper.multilayer(pushMe.back().front()->identify())) {