|
ACTS
Experiment-independent tracking
|
Common CRTP implementation shared by the various track proxy front-ends. More...
#include <Acts/EventData/TrackProxyCommon.hpp>
Public Types | |
| using | IndexType = index_t |
| Index type used for referencing track states. | |
Public Member Functions | |
| double | absoluteMomentum () const |
| Get the absolute momentum. | |
| double | charge () const |
| Get the charge. | |
| float & | chi2 () |
| Return a mutable reference to the local chi-squared contribution. | |
| float | chi2 () const |
| Return the local chi-squared contribution. | |
| Vector3 | direction () const |
| Get a unit vector along the track direction at the reference surface. | |
| Vector4 | fourMomentum () const |
| Get the four-momentum vector: (px, py, pz, e). | |
| double | loc0 () const |
| Access the loc0 parameter of the track at the reference surface. | |
| double | loc1 () const |
| Access the loc1 parameter of the track at the reference surface. | |
| Vector3 | momentum () const |
| Get the global momentum vector. | |
| unsigned int & | nDoF () |
| Return a mutable reference to the number of degrees of freedom. | |
| unsigned int | nDoF () const |
| Return the number of degrees of freedom. | |
| unsigned int & | nHoles () |
| Return a mutable reference to the number of holes. | |
| unsigned int | nHoles () const |
| Return the number of holes on this track. | |
| unsigned int & | nMeasurements () |
| Return a mutable reference to the number of measurements. | |
| unsigned int | nMeasurements () const |
| Return the number of measurements assigned to this track. | |
| unsigned int & | nOutliers () |
| Return a mutable reference to the number of outliers. | |
| unsigned int | nOutliers () const |
| Return the number of outliers for this track. | |
| unsigned int & | nSharedHits () |
| Return a mutable reference to the number of shared hits. | |
| unsigned int | nSharedHits () const |
| Return the number of shared hits for this track. | |
| double | phi () const |
| Access the phi parameter of the track at the reference surface. | |
| double | qOverP () const |
| Access the q/p (curvature) parameter of the track at the reference surface. | |
| IndexType & | stemIndex () |
| Get a mutable reference to the stem index. | |
| IndexType | stemIndex () const |
| Get the stem index, i.e. the innermost track state in the track. | |
| double | theta () const |
| Access the theta parameter of the track at the reference surface. | |
| double | time () const |
| Access the time parameter of the track at the reference surface. | |
| IndexType & | tipIndex () |
| Get a mutable reference to the tip index. | |
| IndexType | tipIndex () const |
| Get the tip index, i.e. the entry point into the track state container. | |
| double | transverseMomentum () const |
| Get the transverse momentum. | |
Protected Member Functions | |
| constexpr Derived & | derived () |
| constexpr const Derived & | derived () const |
Common CRTP implementation shared by the various track proxy front-ends.
The derived proxy only needs to expose the component helpers, while this base class wires up the commonly used convenience methods.
| Derived | The proxy implementation inheriting from this base |
| index_t | The index type used by the proxy |
| read_only | Whether the proxy provides mutable access |
| using Acts::TrackProxyCommon< Derived, index_t, read_only >::IndexType = index_t |
Index type used for referencing track states.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::absoluteMomentum | ( | ) | const |
Get the absolute momentum.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::charge | ( | ) | const |
Get the charge.
| float & Acts::TrackProxyCommon< Derived, index_t, read_only >::chi2 | ( | ) |
Return a mutable reference to the local chi-squared contribution.
| float Acts::TrackProxyCommon< Derived, index_t, read_only >::chi2 | ( | ) | const |
Return the local chi-squared contribution.
|
constexprprotected |
|
constexprprotected |
| Vector3 Acts::TrackProxyCommon< Derived, index_t, read_only >::direction | ( | ) | const |
Get a unit vector along the track direction at the reference surface.
| Vector4 Acts::TrackProxyCommon< Derived, index_t, read_only >::fourMomentum | ( | ) | const |
Get the four-momentum vector: (px, py, pz, e).
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::loc0 | ( | ) | const |
Access the loc0 parameter of the track at the reference surface.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::loc1 | ( | ) | const |
Access the loc1 parameter of the track at the reference surface.
| Vector3 Acts::TrackProxyCommon< Derived, index_t, read_only >::momentum | ( | ) | const |
Get the global momentum vector.
| unsigned int & Acts::TrackProxyCommon< Derived, index_t, read_only >::nDoF | ( | ) |
Return a mutable reference to the number of degrees of freedom.
| unsigned int Acts::TrackProxyCommon< Derived, index_t, read_only >::nDoF | ( | ) | const |
Return the number of degrees of freedom.
| unsigned int & Acts::TrackProxyCommon< Derived, index_t, read_only >::nHoles | ( | ) |
Return a mutable reference to the number of holes.
| unsigned int Acts::TrackProxyCommon< Derived, index_t, read_only >::nHoles | ( | ) | const |
Return the number of holes on this track.
| unsigned int & Acts::TrackProxyCommon< Derived, index_t, read_only >::nMeasurements | ( | ) |
Return a mutable reference to the number of measurements.
| unsigned int Acts::TrackProxyCommon< Derived, index_t, read_only >::nMeasurements | ( | ) | const |
Return the number of measurements assigned to this track.
| unsigned int & Acts::TrackProxyCommon< Derived, index_t, read_only >::nOutliers | ( | ) |
Return a mutable reference to the number of outliers.
| unsigned int Acts::TrackProxyCommon< Derived, index_t, read_only >::nOutliers | ( | ) | const |
Return the number of outliers for this track.
| unsigned int & Acts::TrackProxyCommon< Derived, index_t, read_only >::nSharedHits | ( | ) |
Return a mutable reference to the number of shared hits.
| unsigned int Acts::TrackProxyCommon< Derived, index_t, read_only >::nSharedHits | ( | ) | const |
Return the number of shared hits for this track.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::phi | ( | ) | const |
Access the phi parameter of the track at the reference surface.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::qOverP | ( | ) | const |
Access the q/p (curvature) parameter of the track at the reference surface.
| IndexType & Acts::TrackProxyCommon< Derived, index_t, read_only >::stemIndex | ( | ) |
Get a mutable reference to the stem index.
| IndexType Acts::TrackProxyCommon< Derived, index_t, read_only >::stemIndex | ( | ) | const |
Get the stem index, i.e. the innermost track state in the track.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::theta | ( | ) | const |
Access the theta parameter of the track at the reference surface.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::time | ( | ) | const |
Access the time parameter of the track at the reference surface.
| IndexType & Acts::TrackProxyCommon< Derived, index_t, read_only >::tipIndex | ( | ) |
Get a mutable reference to the tip index.
| IndexType Acts::TrackProxyCommon< Derived, index_t, read_only >::tipIndex | ( | ) | const |
Get the tip index, i.e. the entry point into the track state container.
| double Acts::TrackProxyCommon< Derived, index_t, read_only >::transverseMomentum | ( | ) | const |
Get the transverse momentum.