Skip to content
Snippets Groups Projects
Commit 4650d481 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: acts-19.9.0 modifies extents to use range1D<>

parent 1998b67d
No related branches found
No related tags found
1 merge request!488fix: acts-19.9.0 modifies extents to use range1D<>
......@@ -338,9 +338,15 @@ namespace Jug::Reco {
0.0, 10.0, 0.05, 0.0),
static_cast<int32_t>(spacePoint.size())));
spacePointPtrs.push_back(&spacePoint.back());
#if Acts_VERSION_MAJOR < 19 || (Acts_VERSION_MAJOR == 19 && Acts_VERSION_MINOR < 9)
rRangeSPExtent.check({ spacePoint.back().x(),
spacePoint.back().y(),
spacePoint.back().z() });
#else
rRangeSPExtent.extend({ spacePoint.back().x(),
spacePoint.back().y(),
spacePoint.back().z() });
#endif
#endif // USE_LOCAL_COORD
}
}
......@@ -363,9 +369,15 @@ namespace Jug::Reco {
#ifndef USE_LOCAL_COORD
spacePoint.push_back(SpacePoint(h, static_cast<int32_t>(spacePoint.size())));
spacePointPtrs.push_back(&spacePoint.back());
#if Acts_VERSION_MAJOR < 19 || (Acts_VERSION_MAJOR == 19 && Acts_VERSION_MINOR < 9)
rRangeSPExtent.check({ spacePoint.back().x(),
spacePoint.back().y(),
spacePoint.back().z() });
#else
rRangeSPExtent.extend({ spacePoint.back().x(),
spacePoint.back().y(),
spacePoint.back().z() });
#endif
#endif // USE_LOCAL_COORD
}
if (msgLevel(MSG::DEBUG)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment