Template Function Acts::makeCurvilinearUnitVectors

Function Documentation

template<typename InputVector>
auto Acts::makeCurvilinearUnitVectors(const Eigen::MatrixBase<InputVector> &direction)

Construct the curvilinear unit vectors U and V for the given direction.

With

T the normalized input direction, the three vectors U, V, and T form an orthonormal basis set, i.e. they satisfy
U x V = T
V x T = U
T x U = V
Return

normalized unit vectors U and V orthogonal to the direction.

Parameters
  • direction: is the input direction vector

with the additional condition that U is located in the global x-y plane.