Skip to content

Commit

Permalink
remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Aug 9, 2024
1 parent f94c17d commit cc29f3e
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions Core/src/Geometry/GridPortalLinkMerging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "Acts/Definitions/Tolerance.hpp"
#include "Acts/Geometry/CompositePortalLink.hpp"
#include "Acts/Geometry/GridPortalLink.hpp"
#include "Acts/Geometry/TrivialPortalLink.hpp"
#include "Acts/Surfaces/CylinderSurface.hpp"
#include "Acts/Surfaces/DiscSurface.hpp"
#include "Acts/Surfaces/PlaneSurface.hpp"
Expand All @@ -20,41 +19,11 @@
#include <limits>
#include <memory>
#include <stdexcept>
#include <type_traits>

namespace Acts {

namespace {

struct NoOtherAxis : public std::false_type {};

template <typename axis_t>
struct OtherAxis : public std::true_type {
using AxisType = std::decay_t<axis_t>;
const AxisType& m_axis;

OtherAxis(const AxisType& axis) : m_axis(axis) {}
};

template <typename axis_t>
OtherAxis(axis_t&&) -> OtherAxis<std::decay_t<axis_t>>;

template <typename axis_t>
struct PrependAxis : public OtherAxis<std::decay_t<axis_t>> {
static constexpr bool prepend = true;
};

template <typename axis_t>
PrependAxis(axis_t&&) -> PrependAxis<std::decay_t<axis_t>>;

template <typename axis_t>
struct AppendAxis : public OtherAxis<std::decay_t<axis_t>> {
static constexpr bool prepend = false;
};

template <typename axis_t>
AppendAxis(axis_t&&) -> AppendAxis<std::decay_t<axis_t>>;

template <typename... Args>
std::unique_ptr<GridPortalLink> makeGrid(
const std::shared_ptr<RegularSurface>& surface, BinningValue direction,
Expand Down

0 comments on commit cc29f3e

Please sign in to comment.