|
ACTS
Experiment-independent tracking
|
This class is only a light wrapper around a surface and a vector of parameters. More...
#include <Acts/EventData/MultiComponentTrackParameters.hpp>
Public Types | |
| using | ConstructionTuple |
| Type alias for construction tuple containing weight, position, direction, q/p, and covariance. | |
| using | CovarianceMatrix = typename Parameters::CovarianceMatrix |
| Type alias for covariance matrix. | |
| using | Parameters = BoundTrackParameters |
| Type alias for bound track parameters. | |
| using | ParametersVector = typename Parameters::ParametersVector |
| Type alias for bound parameters vector. | |
| using | ParticleHypothesis = Parameters::ParticleHypothesis |
| Type alias for particle hypothesis. | |
Public Member Functions | |
| MultiComponentBoundTrackParameters ()=delete | |
| Parameters are not default constructible due to the charge type. | |
| MultiComponentBoundTrackParameters (const MultiComponentBoundTrackParameters &)=default | |
| Copy constructor. | |
| MultiComponentBoundTrackParameters (MultiComponentBoundTrackParameters &&)=default | |
| Move constructor. | |
| MultiComponentBoundTrackParameters (std::shared_ptr< const Surface > surface, const ParametersVector ¶ms, std::optional< BoundSquareMatrix > cov, ParticleHypothesis particleHypothesis) | |
| Construct from a parameters vector on the surface and particle charge. | |
| template<typename covariance_t> | |
| MultiComponentBoundTrackParameters (std::shared_ptr< const Surface > surface, const std::vector< std::tuple< double, ParametersVector, covariance_t > > &cmps, ParticleHypothesis particleHypothesis) | |
| Construct from multiple components. | |
| ~MultiComponentBoundTrackParameters ()=default | |
| double | absoluteMomentum () const |
| Absolute momentum. | |
| double | charge () const |
| Particle electric charge. | |
| const auto & | components () const |
| Access the parameters. | |
| std::optional< CovarianceMatrix > | covariance () const |
| Optional covariance matrix. | |
| Vector3 | direction () const |
| Unit direction three-vector, i.e. | |
| Vector4 | fourPosition (const GeometryContext &geoCtx) const |
| Space-time position four-vector. | |
| template<BoundIndices kIndex> | |
| double | get () const |
| Access a single parameter value identified by its index. | |
| Vector3 | momentum () const |
| Momentum three-vector. | |
| MultiComponentBoundTrackParameters & | operator= (const MultiComponentBoundTrackParameters &)=default |
| Copy assignment operator. | |
| MultiComponentBoundTrackParameters & | operator= (MultiComponentBoundTrackParameters &&)=default |
| Move assignment operator. | |
| std::pair< double, Parameters > | operator[] (std::size_t i) const |
| Get the weight and a GenericBoundTrackParameters object for one component. | |
| ParametersVector | parameters () const |
| Parameters vector. | |
| const ParticleHypothesis & | particleHypothesis () const |
| Particle hypothesis. | |
| double | phi () const |
| Phi direction. | |
| Vector3 | position (const GeometryContext &geoCtx) const |
| Spatial position three-vector. | |
| double | qOverP () const |
| Charge over momentum. | |
| const Surface & | referenceSurface () const |
| Reference surface onto which the parameters are bound. | |
| double | theta () const |
| Theta direction. | |
| double | time () const |
| Time coordinate. | |
| MultiComponentBoundTrackParameters | toBound () const |
| Comply with bound convertible, in this case return a copy. | |
| double | transverseMomentum () const |
| Transverse momentum. | |
Static Public Member Functions | |
| static MultiComponentBoundTrackParameters | createCurvilinear (const GeometryContext &geoCtx, const std::vector< ConstructionTuple > &curvi, ParticleHypothesis particleHypothesis) |
| We need this helper function in order to construct the base class properly. | |
This class is only a light wrapper around a surface and a vector of parameters.
Its main purpose is to provide many constructors for the underlying vector. Most accessors are generated from the BoundTrackParameters equivalent and thus may be expensive
Type alias for construction tuple containing weight, position, direction, q/p, and covariance.
| using Acts::MultiComponentBoundTrackParameters::CovarianceMatrix = typename Parameters::CovarianceMatrix |
Type alias for covariance matrix.
Type alias for bound track parameters.
| using Acts::MultiComponentBoundTrackParameters::ParametersVector = typename Parameters::ParametersVector |
Type alias for bound parameters vector.
Type alias for particle hypothesis.
| Acts::MultiComponentBoundTrackParameters::MultiComponentBoundTrackParameters | ( | std::shared_ptr< const Surface > | surface, |
| const std::vector< std::tuple< double, ParametersVector, covariance_t > > & | cmps, | ||
| ParticleHypothesis | particleHypothesis ) |
Construct from multiple components.
| surface | Surface on which the parameters are bound |
| cmps | Vector of weight, parameters vector, and covariance components |
| particleHypothesis | Particle hypothesis for the parameters |
| Acts::MultiComponentBoundTrackParameters::MultiComponentBoundTrackParameters | ( | std::shared_ptr< const Surface > | surface, |
| const ParametersVector & | params, | ||
| std::optional< BoundSquareMatrix > | cov, | ||
| ParticleHypothesis | particleHypothesis ) |
Construct from a parameters vector on the surface and particle charge.
| surface | Reference surface the parameters are defined on |
| params | Bound parameters vector |
| particleHypothesis | Particle hypothesis for these parameters |
| cov | Bound parameters covariance matrix |
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.
|
delete |
Parameters are not default constructible due to the charge type.
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
| double Acts::MultiComponentBoundTrackParameters::absoluteMomentum | ( | ) | const |
Absolute momentum.
| double Acts::MultiComponentBoundTrackParameters::charge | ( | ) | const |
Particle electric charge.
| const auto & Acts::MultiComponentBoundTrackParameters::components | ( | ) | const |
Access the parameters.
| std::optional< CovarianceMatrix > Acts::MultiComponentBoundTrackParameters::covariance | ( | ) | const |
Optional covariance matrix.
|
static |
We need this helper function in order to construct the base class properly.
| geoCtx | Geometry context for construction |
| curvi | Vector of construction tuples containing component data |
| particleHypothesis | Particle hypothesis for the parameters |
| Vector3 Acts::MultiComponentBoundTrackParameters::direction | ( | ) | const |
Unit direction three-vector, i.e.
the normalized momentum three-vector.
| Vector4 Acts::MultiComponentBoundTrackParameters::fourPosition | ( | const GeometryContext & | geoCtx | ) | const |
Space-time position four-vector.
| [in] | geoCtx | Geometry context for the local-to-global transformation |
| double Acts::MultiComponentBoundTrackParameters::get | ( | ) | const |
Access a single parameter value identified by its index.
| kIndex | Track parameter index |
| Vector3 Acts::MultiComponentBoundTrackParameters::momentum | ( | ) | const |
Momentum three-vector.
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
| std::pair< double, Parameters > Acts::MultiComponentBoundTrackParameters::operator[] | ( | std::size_t | i | ) | const |
Get the weight and a GenericBoundTrackParameters object for one component.
| i | Index of the component to access |
| ParametersVector Acts::MultiComponentBoundTrackParameters::parameters | ( | ) | const |
Parameters vector.
| const ParticleHypothesis & Acts::MultiComponentBoundTrackParameters::particleHypothesis | ( | ) | const |
Particle hypothesis.
| double Acts::MultiComponentBoundTrackParameters::phi | ( | ) | const |
Phi direction.
| Vector3 Acts::MultiComponentBoundTrackParameters::position | ( | const GeometryContext & | geoCtx | ) | const |
Spatial position three-vector.
| [in] | geoCtx | Geometry context for the local-to-global transformation |
| double Acts::MultiComponentBoundTrackParameters::qOverP | ( | ) | const |
Charge over momentum.
| const Surface & Acts::MultiComponentBoundTrackParameters::referenceSurface | ( | ) | const |
Reference surface onto which the parameters are bound.
| double Acts::MultiComponentBoundTrackParameters::theta | ( | ) | const |
Theta direction.
| double Acts::MultiComponentBoundTrackParameters::time | ( | ) | const |
Time coordinate.
| MultiComponentBoundTrackParameters Acts::MultiComponentBoundTrackParameters::toBound | ( | ) | const |
Comply with bound convertible, in this case return a copy.
| double Acts::MultiComponentBoundTrackParameters::transverseMomentum | ( | ) | const |
Transverse momentum.