16 auto mutableSf =
const_cast<Surface*
>(sf);
26 std::vector<ObjectIntersection<Surface>> sIntersections;
27 sIntersections.reserve(m_surfaceCache.size());
28 for (
auto& sf : m_surfaceCache) {
31 sf->intersectionEstimate(gctx, position, direction, bcheck);
35 std::sort(sIntersections.begin(), sIntersections.end());
36 return (*sIntersections.begin());
39 const std::vector<const Acts::Surface*>&
41 return m_surfaceCache;
44 std::vector<const Acts::Surface*>&
46 return m_surfaceCache;