|
ACTS
Experiment-independent tracking
|
Track parameters not bound to a surface for a single track. More...
#include <Acts/EventData/FreeTrackParameters.hpp>
Public Types | |
| using | CovarianceMatrix = FreeMatrix |
| Type alias for covariance matrix. | |
| using | ParametersVector = FreeVector |
| Type alias for bound parameters vector. | |
Public Member Functions | |
| FreeTrackParameters (const FreeVector ¶ms, std::optional< FreeMatrix > cov, ParticleHypothesis particleHypothesis) | |
| Construct from a parameters vector and particle charge. | |
| FreeTrackParameters (const Vector4 &pos4, const Vector3 &dir, double qOverP, std::optional< FreeMatrix > cov, ParticleHypothesis particleHypothesis) | |
| Construct from four-position, direction, absolute momentum, and charge. | |
| FreeTrackParameters (const Vector4 &pos4, double phi, double theta, double qOverP, std::optional< FreeMatrix > cov, ParticleHypothesis particleHypothesis) | |
| Construct from four-position, angles, absolute momentum, and charge. | |
| double | absoluteMomentum () const |
| Absolute momentum. | |
| double | charge () const |
| Particle electric charge. | |
| const std::optional< FreeMatrix > & | covariance () const |
| Optional covariance matrix. | |
| Vector3 | direction () const |
| Unit direction three-vector, i.e. | |
| Vector4 | fourPosition () const |
| Space-time position four-vector. | |
| template<FreeIndices kIndex> | |
| double | get () const |
| Access a single parameter value identified by its index. | |
| Vector3 | momentum () const |
| Momentum three-vector. | |
| const FreeVector & | parameters () const |
| Parameters vector. | |
| const ParticleHypothesis & | particleHypothesis () const |
| Particle hypothesis. | |
| double | phi () const |
| Phi direction. | |
| Vector3 | position () const |
| Spatial position three-vector. | |
| double | qOverP () const |
| Charge over momentum. | |
| FreeTrackParameters | reflect () const |
| Reflect the parameters. | |
| void | reflectInPlace () |
| Reflect the parameters in place. | |
| double | theta () const |
| Theta direction. | |
| double | time () const |
| Time coordinate. | |
| double | transverseMomentum () const |
| Transverse momentum. | |
Track parameters not bound to a surface for a single track.
Parameters and covariance matrix are stored using the free parametrization defined in enum FreeIndices.
| Acts::FreeTrackParameters::FreeTrackParameters | ( | const FreeVector & | params, |
| std::optional< FreeMatrix > | cov, | ||
| ParticleHypothesis | particleHypothesis ) |
Construct from a parameters vector and particle charge.
| params | Free parameters vector |
| cov | Free parameters covariance matrix |
| particleHypothesis | Particle hypothesis |
In principle, only the charge magnitude is needed her to allow unambiguous extraction of the absolute momentum. The particle charge is required as an input here to be consistent with the other constructors below that that also take the charge as an input. The charge sign is only used in debug builds to check for consistency with the q/p parameter.
| Acts::FreeTrackParameters::FreeTrackParameters | ( | const Vector4 & | pos4, |
| const Vector3 & | dir, | ||
| double | qOverP, | ||
| std::optional< FreeMatrix > | cov, | ||
| ParticleHypothesis | particleHypothesis ) |
Construct from four-position, direction, absolute momentum, and charge.
| pos4 | Track position/time four-vector |
| dir | Track direction three-vector; normalization is ignored. |
| qOverP | Charge over momentum |
| cov | Free parameters covariance matrix |
| particleHypothesis | Particle hypothesis |
| Acts::FreeTrackParameters::FreeTrackParameters | ( | const Vector4 & | pos4, |
| double | phi, | ||
| double | theta, | ||
| double | qOverP, | ||
| std::optional< FreeMatrix > | cov, | ||
| ParticleHypothesis | particleHypothesis ) |
Construct from four-position, angles, absolute momentum, and charge.
| pos4 | Track position/time four-vector |
| phi | Transverse track direction angle |
| theta | Longitudinal track direction angle |
| qOverP | Charge over momentum |
| cov | Free parameters covariance matrix |
| particleHypothesis | Particle hypothesis |
| double Acts::FreeTrackParameters::absoluteMomentum | ( | ) | const |
Absolute momentum.
| double Acts::FreeTrackParameters::charge | ( | ) | const |
Particle electric charge.
| const std::optional< FreeMatrix > & Acts::FreeTrackParameters::covariance | ( | ) | const |
Optional covariance matrix.
| Vector3 Acts::FreeTrackParameters::direction | ( | ) | const |
Unit direction three-vector, i.e.
the normalized momentum three-vector.
| Vector4 Acts::FreeTrackParameters::fourPosition | ( | ) | const |
Space-time position four-vector.
| double Acts::FreeTrackParameters::get | ( | ) | const |
Access a single parameter value identified by its index.
| kIndex | Track parameter index |
| Vector3 Acts::FreeTrackParameters::momentum | ( | ) | const |
Momentum three-vector.
| const FreeVector & Acts::FreeTrackParameters::parameters | ( | ) | const |
Parameters vector.
| const ParticleHypothesis & Acts::FreeTrackParameters::particleHypothesis | ( | ) | const |
Particle hypothesis.
| double Acts::FreeTrackParameters::phi | ( | ) | const |
Phi direction.
| Vector3 Acts::FreeTrackParameters::position | ( | ) | const |
Spatial position three-vector.
| double Acts::FreeTrackParameters::qOverP | ( | ) | const |
Charge over momentum.
| FreeTrackParameters Acts::FreeTrackParameters::reflect | ( | ) | const |
Reflect the parameters.
| double Acts::FreeTrackParameters::theta | ( | ) | const |
Theta direction.
| double Acts::FreeTrackParameters::time | ( | ) | const |
Time coordinate.
| double Acts::FreeTrackParameters::transverseMomentum | ( | ) | const |
Transverse momentum.