File IAxis.hpp

namespace Acts

Set the Geometry Context PLUGIN.

Set the Calibration Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.

Set the Mangetic Field Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.

Currently implemented for the two most common formats: rz and xyz.

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