Struct Acts::Experimental::ProtoBinning

struct ProtoBinning

Simple helper class to define a binning structure.

Note

no checks are performed on the consistency, this is only for convenience that the binning can be defined and then translated into concrete axis types

Public Functions

inline ProtoBinning(BinningValue bValue, Acts::detail::AxisBoundaryType bType, const std::vector<ActsScalar> &e, std::size_t exp = 0u)

Convenience constructors - recommended for variable binning.

Parameters
  • bValue – the value/cast in which this is binned

  • bType – the axis boundary type

  • e – the bin edges (variable binning)

  • exp – the expansion (in bins)

inline ProtoBinning(BinningValue bValue, Acts::detail::AxisBoundaryType bType, ActsScalar minE, ActsScalar maxE, std::size_t nbins, std::size_t exp = 0u)

Convenience constructors - recommended for variable binning.

Parameters
  • bValue – the value/cast in which this is binned

  • bType – the axis boundary type

  • minE – the lowest edge of the binning

  • maxE – the highest edge of the binning

  • nbins – the number of bins

  • exp – the expansion (in bins)

inline std::size_t bins() const

Public Members

Acts::detail::AxisType axisType = Acts::detail::AxisType::Equidistant

The axis type: equidistant or variable.

BinningValue binValue = BinningValue::binValues

The binning value of this.

Acts::detail::AxisBoundaryType boundaryType = Acts::detail::AxisBoundaryType::Bound

The axis boundary type: Open, Bound or Closed.

std::vector<ActsScalar> edges = {}

The binning edges.

std::size_t expansion = 0u

An expansion for the filling (in bins)