Template Class SingleFreeTrackParameters

Class Documentation

template<class ChargePolicy>
class Acts::SingleFreeTrackParameters

Free track parameters not bound to a surface.

This is a base class for neutral and charged free parameters. All parameters and the corresponding covariance matrix is stored in global coordinates. It is assumed that the order of the parameters (and thereby the order of the entries of the covariance as well) is given as (position_x, position_y, position_z, time, direction_x, direction_y, direction_z, charge / |momentum|).

Note

It is assumed that a charged particle has a charge of +/-1

Template Parameters
  • ChargePolicy: Selection type if the particle is charged or neutral

Public Types

using CovMatrix_t = FreeSymMatrix

Public typedefs Type of covariance matrix.

Public Functions

template<typename T = ChargePolicy, std::enable_if_t<std::is_same<T, ChargedPolicy>::value, int> = 0>
SingleFreeTrackParameters(std::optional<CovMatrix_t> cov, const FreeVector &parValues)

Construct track parameters for charged particles.

Template Parameters
  • T: Type of the charge policy (ChargedPolicy)

Parameters
  • [in] cov: The covariance matrix

  • [in] parValues: Vector with parameter values

template<typename T = ChargePolicy, std::enable_if_t<std::is_same<T, NeutralPolicy>::value, int> = 0>
SingleFreeTrackParameters(std::optional<CovMatrix_t> cov, const FreeVector &parValues)

Construct track parameters for neutral particles.

Template Parameters
  • T: Type of the charge policy (NeutralPolicy)

Parameters
  • [in] cov: The covariance matrix

  • [in] parValues: Vector with parameter values

FreeVector parameters() const

Access all parameters.

Return

Vector containing the store parameters