File IAxis.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

class IAxis
#include <Acts/Utilities/IAxis.hpp>

Common base class for all Axis instance.

This allows generice handling such as for inspection.

Public Functions

virtual std::vector<ActsScalar> getBinEdges() const = 0

Return a vector of bin edges.

Returns

Vector which contains the bin edges

virtual detail::AxisBoundaryType getBoundaryType() const = 0

returns the boundary type set in the template param

Returns

AxisBoundaryType of this axis

virtual ActsScalar getMax() const = 0

get maximum of binning range

Returns

maximum of binning range

virtual ActsScalar getMin() const = 0

get minimum of binning range

Returns

minimum of binning range

virtual size_t getNBins() const = 0

get total number of bins

Returns

total number of bins (excluding under-/overflow bins)

virtual bool isEquidistant() const = 0

returns whether the axis is equidistant

Returns

bool is equidistant

virtual bool isVariable() const = 0

returns whether the axis is variable

Returns

bool is variable