Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/EventData/GenericFreeTrackParameters.hpp>
Public Types | |
using | Scalar = ActsScalar |
using | ParametersVector = FreeVector |
using | CovarianceMatrix = FreeSquareMatrix |
using | ParticleHypothesis = particle_hypothesis_t |
Public Member Functions | |
GenericFreeTrackParameters (const ParametersVector ¶ms, std::optional< CovarianceMatrix > cov, ParticleHypothesis particleHypothesis) | |
GenericFreeTrackParameters (const Vector4 &pos4, Scalar phi, Scalar theta, Scalar qOverP, std::optional< CovarianceMatrix > cov, ParticleHypothesis particleHypothesis) | |
template<typename other_particle_hypothesis_t > | |
GenericFreeTrackParameters (const GenericFreeTrackParameters< other_particle_hypothesis_t > &other) | |
Converts a free track parameter with a different hypothesis. | |
GenericFreeTrackParameters ()=delete | |
Parameters are not default constructible due to the charge type. | |
GenericFreeTrackParameters (const GenericFreeTrackParameters &)=default | |
GenericFreeTrackParameters (GenericFreeTrackParameters &&)=default | |
~GenericFreeTrackParameters ()=default | |
GenericFreeTrackParameters & | operator= (const GenericFreeTrackParameters &)=default |
GenericFreeTrackParameters & | operator= (GenericFreeTrackParameters &&)=default |
const ParametersVector & | parameters () const |
Parameters vector. | |
const std::optional < CovarianceMatrix > & | covariance () const |
Optional covariance matrix. | |
template<FreeIndices kIndex> | |
Scalar | get () const |
Vector4 | fourPosition () const |
Space-time position four-vector. | |
Vector3 | position () const |
Spatial position three-vector. | |
Scalar | time () const |
Time coordinate. | |
Scalar | phi () const |
Phi direction. | |
Scalar | theta () const |
Theta direction. | |
Scalar | qOverP () const |
Charge over momentum. | |
Vector3 | direction () const |
Unit direction three-vector, i.e. the normalized momentum three-vector. | |
Scalar | absoluteMomentum () const |
Absolute momentum. | |
Scalar | transverseMomentum () const |
Transverse momentum. | |
Vector3 | momentum () const |
Momentum three-vector. | |
Scalar | charge () const |
Particle electric charge. | |
const ParticleHypothesis & | particleHypothesis () const |
Particle hypothesis. | |
Static Public Member Functions | |
template<typename other_track_parameter_t > | |
static GenericFreeTrackParameters | create (const other_track_parameter_t &other) |
Converts an unknown bound track parameter. | |
Private Attributes | |
FreeVector | m_params |
std::optional< FreeSquareMatrix > | m_cov |
ParticleHypothesis | m_particleHypothesis |
Friends | |
std::ostream & | operator<< (std::ostream &os, const GenericFreeTrackParameters &tp) |
Print information to the output stream. | |
Track parameters not bound to a surface for a single track.
particle_hypothesis_t | Helper type to interpret the particle charge/momentum |
Parameters and covariance matrix are stored using the free parametrization defined in enum FreeIndices
.
Definition at line 32 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 32 of file GenericFreeTrackParameters.hpp
using Acts::GenericFreeTrackParameters< particle_hypothesis_t >::CovarianceMatrix = FreeSquareMatrix |
Definition at line 36 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 36 of file GenericFreeTrackParameters.hpp
using Acts::GenericFreeTrackParameters< particle_hypothesis_t >::ParametersVector = FreeVector |
Definition at line 35 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 35 of file GenericFreeTrackParameters.hpp
using Acts::GenericFreeTrackParameters< particle_hypothesis_t >::ParticleHypothesis = particle_hypothesis_t |
Definition at line 37 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 37 of file GenericFreeTrackParameters.hpp
using Acts::GenericFreeTrackParameters< particle_hypothesis_t >::Scalar = ActsScalar |
Definition at line 34 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 34 of file GenericFreeTrackParameters.hpp
|
inline |
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.
Definition at line 50 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 50 of file GenericFreeTrackParameters.hpp
|
inline |
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 |
Definition at line 65 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 65 of file GenericFreeTrackParameters.hpp
References Acts::eFreeDir0, Acts::eFreeDir1, Acts::eFreeDir2, Acts::eFreePos0, Acts::eFreePos1, Acts::eFreePos2, Acts::eFreeQOverP, Acts::eFreeTime, Acts::eMom0, Acts::eMom1, Acts::eMom2, Acts::ePos0, Acts::ePos1, Acts::ePos2, Acts::eTime, Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params, Acts::makeDirectionFromPhiTheta(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::qOverP().
|
inline |
Converts a free track parameter with a different hypothesis.
Definition at line 84 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 84 of file GenericFreeTrackParameters.hpp
|
delete |
Parameters are not default constructible due to the charge type.
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::create().
|
default |
|
default |
|
default |
|
inline |
Absolute momentum.
Definition at line 149 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 149 of file GenericFreeTrackParameters.hpp
References Acts::eFreeQOverP, Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params, and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_particleHypothesis.
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::momentum(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::transverseMomentum().
|
inline |
Particle electric charge.
Definition at line 169 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 169 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_particleHypothesis.
|
inline |
Optional covariance matrix.
Definition at line 113 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 113 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_cov.
Referenced by BOOST_DATA_TEST_CASE().
|
inlinestatic |
Converts an unknown bound track parameter.
Definition at line 92 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 92 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::GenericFreeTrackParameters().
|
inline |
Unit direction three-vector, i.e. the normalized momentum three-vector.
Definition at line 145 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 145 of file GenericFreeTrackParameters.hpp
References Acts::eFreeDir0, and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::momentum(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::phi(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::theta().
|
inline |
Space-time position four-vector.
Definition at line 124 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 124 of file GenericFreeTrackParameters.hpp
References Acts::eFreePos0, Acts::eFreePos1, Acts::eFreePos2, Acts::eFreeTime, Acts::ePos0, Acts::ePos1, Acts::ePos2, Acts::eTime, Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params, and Acts::Test::pos4().
|
inline |
Access a single parameter value identified by its index.
kIndex | Track parameter index |
Definition at line 119 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 119 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
|
inline |
Momentum three-vector.
Definition at line 166 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 166 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::absoluteMomentum(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::direction().
|
default |
|
default |
|
inline |
Parameters vector.
Definition at line 111 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 111 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
|
inline |
Particle hypothesis.
Definition at line 174 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 174 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_particleHypothesis.
|
inline |
Phi direction.
Definition at line 138 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 138 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::direction(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::phi().
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::phi().
|
inline |
Spatial position three-vector.
Definition at line 133 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 133 of file GenericFreeTrackParameters.hpp
References Acts::eFreePos0, and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
|
inline |
Charge over momentum.
Definition at line 142 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 142 of file GenericFreeTrackParameters.hpp
References Acts::eFreeQOverP, and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::GenericFreeTrackParameters().
|
inline |
Theta direction.
Definition at line 140 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 140 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::direction(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::theta().
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::theta().
|
inline |
Time coordinate.
Definition at line 135 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 135 of file GenericFreeTrackParameters.hpp
References Acts::eFreeTime, and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
|
inline |
Transverse momentum.
Definition at line 153 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 153 of file GenericFreeTrackParameters.hpp
References Acts::GenericFreeTrackParameters< particle_hypothesis_t >::absoluteMomentum(), Acts::eFreeDir0, Acts::eFreeDir1, Acts::eFreeDir2, and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::m_params.
|
friend |
Print information to the output stream.
Definition at line 185 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 185 of file GenericFreeTrackParameters.hpp
|
private |
Definition at line 180 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 180 of file GenericFreeTrackParameters.hpp
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::covariance().
|
private |
Definition at line 179 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 179 of file GenericFreeTrackParameters.hpp
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::absoluteMomentum(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::direction(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::fourPosition(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::GenericFreeTrackParameters(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::get(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::parameters(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::position(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::qOverP(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::time(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::transverseMomentum().
|
private |
Definition at line 182 of file GenericFreeTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 182 of file GenericFreeTrackParameters.hpp
Referenced by Acts::GenericFreeTrackParameters< particle_hypothesis_t >::absoluteMomentum(), Acts::GenericFreeTrackParameters< particle_hypothesis_t >::charge(), and Acts::GenericFreeTrackParameters< particle_hypothesis_t >::particleHypothesis().