13 template <
typename SpacePo
int>
14 std::unique_ptr<Acts::SpacePointGrid<SpacePoint>>
19 float maxR2 = config.
rMax * config.
rMax;
20 float xOuter = maxR2 / (2 * minHelixRadius);
21 float yOuter = std::sqrt(maxR2 - xOuter * xOuter);
22 float outerAngle = std::atan(xOuter / yOuter);
29 float xInner = innerCircleR2 / (2 * minHelixRadius);
30 float yInner = std::sqrt(innerCircleR2 - xInner * xInner);
31 innerAngle = std::atan(xInner / yInner);
37 int phiBins = std::floor(2 *
M_PI / (outerAngle - innerAngle));
38 Acts::detail::Axis<detail::AxisType::Equidistant,
39 detail::AxisBoundaryType::Closed>
47 int zBins = std::floor((config.
zMax - config.
zMin) / zBinSize);
48 detail::Axis<detail::AxisType::Equidistant, detail::AxisBoundaryType::Bound>
49 zAxis(config.
zMin, config.
zMax, zBins);
50 return std::make_unique<Acts::SpacePointGrid<SpacePoint>>(
51 std::make_tuple(phiAxis, zAxis));