Algebra definitions

The main algebra classes for ACTS are defined in the Acts/Definitions/Algebra.hpp header file. The basic scalar type can be defined via this file and is set per default to double, however, if ACTS_CUSTOM_SCALAR is set it will be used instead.

using ActsScalar = ACTS_CUSTOM_SCALAR;
using ActsScalar = double;

It is recommended within the code to deduce the Scalar type from the Event Data object, e.g.

using Scalar = Vector3::Scalar;

Currently only the Core package builds with float precision.