|
ACTS
Experiment-independent tracking
|
Proxy class representing a single track. More...
#include <Acts/EventData/TrackProxy.hpp>
Public Types | |
| using | ConstCovariance |
| Same as Covariance, but with const semantics. | |
| using | ConstParameters |
| Same as Parameters, but with const semantics. | |
| using | ConstProxyType = ConstTrackProxy |
| Alias for an associated const track proxy, with the same backends. | |
| using | ConstTrackProxy |
| Alias for the const version of this track proxy, with the same backends. | |
| using | ConstTrackStateProxy = typename Trajectory::ConstTrackStateProxy |
| Alias for an associated const track state proxy, with the same backends. | |
| using | Container = track_container_t |
| The track container backend given as a template parameter. | |
| using | Covariance |
| Map-type for a bound covariance. | |
| using | IndexType = TrackIndexType |
| The index type of the track container. | |
| using | MutableTrackProxy |
| Alias for the mutable version of this track proxy, with the same backends. | |
| using | Parameters |
| Map-type for a bound parameter vector. | |
| using | TrackStateProxy = typename Trajectory::TrackStateProxy |
| Alias for an associated mutable track state proxy, with the same backends. | |
| using | Trajectory = trajectory_t |
| The track state container backend given as a template parameter. | |
| Public Types inherited from Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, true >, track_container_t::IndexType, true > | |
| using | IndexType |
| Index type used for referencing track states. | |
Public Member Functions | |
| auto & | container () |
| Return a reference to the track container backend, mutable version. | |
| const auto & | container () const |
| Return a reference to the track container backend, const version. | |
| BoundTrackParameters | createParametersAtReference () const |
| Return the track parameters at the reference surface. | |
| BoundTrackParameters | createParametersFromState (const ConstTrackStateProxy &trackState) const |
| Convert a track state into track parameters. | |
| bool | operator== (const TrackProxy &other) const |
| Equality operator with another track proxy Checks the container identity and the track index. | |
Constructors and assignment operator | |
| TrackProxy (const TrackProxy &other)=default | |
| Copy constructor: const to const or mutable to mutable. | |
| TrackProxy & | operator= (const TrackProxy &other)=default |
| Copy assignment operator: const to const or mutable to mutable. | |
| TrackProxy (const MutableTrackProxy &other) | |
| Constructor from mutable track proxy. | |
| TrackProxy & | operator= (const MutableTrackProxy &other) |
| Copy assignment operator from mutable track proxy. | |
TrackProxy properties | |
Methods that give access to the properties of a track represented by Many of these methods come in a | |
| const Surface & | referenceSurface () const |
| Get the reference surface of the track (e.g. | |
| void | setReferenceSurface (std::shared_ptr< const Surface > srf) |
| Set a new reference surface for this track. | |
| bool | hasReferenceSurface () const |
| Returns whether the track has a reference surface or not. | |
| ConstParameters | parameters () const |
| Get the parameters of the track at the reference surface (e.g. | |
| ConstCovariance | covariance () const |
| Get the covariance of the track at the reference surface (e.g. | |
| Parameters | parameters () |
| Get the parameters of the track at the reference surface (e.g. | |
| Covariance | covariance () |
| Get the covariance of the track at the reference surface (e.g. | |
| ParticleHypothesis | particleHypothesis () const |
| Get the particle hypothesis. | |
| void | setParticleHypothesis (const ParticleHypothesis &particleHypothesis) |
| Set a new particle hypothesis for this track. | |
| unsigned int | nTrackStates () const |
| Return the number of track states associated to this track. | |
| IndexType | index () const |
| Return the index of this track in the track container. | |
| double | absoluteMomentum () const |
| Get the absolute momentum. | |
| double | charge () const |
| Get the charge. | |
| float | chi2 () const |
| Return the local chi-squared contribution. | |
| float & | chi2 () |
| Return a mutable reference to 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 () const |
| Return the number of degrees of freedom. | |
| unsigned int & | nDoF () |
| Return a mutable reference to the number of degrees of freedom. | |
| unsigned int | nHoles () const |
| Return the number of holes on this track. | |
| unsigned int & | nHoles () |
| Return a mutable reference to the number of holes. | |
| unsigned int | nMeasurements () const |
| Return the number of measurements assigned to this track. | |
| unsigned int & | nMeasurements () |
| Return a mutable reference to the number of measurements. | |
| unsigned int | nOutliers () const |
| Return the number of outliers for this track. | |
| unsigned int & | nOutliers () |
| Return a mutable reference to the number of outliers. | |
| unsigned int | nSharedHits () const |
| Return the number of shared hits for this track. | |
| unsigned int & | nSharedHits () |
| Return a mutable reference to the number of shared hits. | |
| 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 () const |
| Get the stem index, i.e. the innermost track state in the track. | |
| IndexType & | stemIndex () |
| Get a mutable reference to the stem index. | |
| 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 () const |
| Get the tip index, i.e. the entry point into the track state container. | |
| IndexType & | tipIndex () |
| Get a mutable reference to the tip index. | |
| double | transverseMomentum () const |
| Get the transverse momentum. | |
TrackProxy track state access | |
| ConstTrackStateProxy | outermostTrackState () const |
| Return a const track state proxy to the outermost track state. | |
| TrackStateProxy | outermostTrackState () |
| Return a mutable track state proxy to the outermost track state. | |
| auto | innermostTrackState () const |
| Return a const track state proxy to the innermost track state. | |
| auto | innermostTrackState () |
| Return a mutable track state proxy to the innermost track state. | |
| auto | trackStatesReversed () const |
| Get a range over the track states of this track. | |
| auto | trackStatesReversed () |
| Get a range over the track states of this track. | |
| auto | trackStates () const |
| Get a range over the track states of this track. | |
| auto | trackStates () |
| Get a range over the track states of this track. | |
TrackProxy track state manipulation | |
Methods that manipulate the track states of a track represented by Copy Methods Overview: Three main copy methods are available with different behaviors:
Choose based on your needs:
| |
| void | linkForward () |
| Forward connect a track. | |
| auto | appendTrackState (TrackStatePropMask mask=TrackStatePropMask::All) |
| Append a track state to this track. | |
| template<TrackProxyConcept track_proxy_t> requires (!ReadOnly) | |
| void | copyFrom (const track_proxy_t &other) |
| Create a complete deep copy of another track, including all track states. | |
| template<TrackProxyConcept track_proxy_t> requires (!ReadOnly) | |
| void | copyFromWithoutStates (const track_proxy_t &other) |
| Copy track-level properties from another track, but not the track states. | |
| template<TrackProxyConcept track_proxy_t> requires (!ReadOnly) | |
| void | copyFromShallow (const track_proxy_t &other) |
| Create a shallow copy from another track, sharing the same track states. | |
| void | reverseTrackStates (bool invertJacobians=false) |
| Reverse the ordering of track states for this track Afterwards, the previous endpoint of the track state sequence will be the "innermost" track state. | |
TrackProxy generic component access | |
Methods that give access to generic components of a track represented by Internally, a compile-time hash of the component name is used to identify which component is being requested. Most of the named methods in TrackProxy properties use these methods to retrieve the actual data. A number of overloads exist, where you can either supply the HashedString | |
| template<typename T, HashedString key> requires (!ReadOnly) | |
| constexpr T & | component () |
| Retrieve a mutable reference to a component. | |
| template<typename T> requires (!ReadOnly) | |
| constexpr T & | component (HashedString key) |
| Retrieve a mutable reference to a component. | |
| template<typename T> requires (!ReadOnly) | |
| constexpr T & | component (std::string_view key) |
| Retrieve a mutable reference to a component. | |
| template<typename T, HashedString key> | |
| constexpr const T & | component () const |
| Retrieve a const reference to a component. | |
| bool | hasColumn (HashedString key) const |
| Check whether a dynamic column exists. | |
| template<typename T> | |
| constexpr const T & | component (HashedString key) const |
| Retrieve a const reference to a component. | |
| template<typename T> | |
| constexpr const T & | component (std::string_view key) const |
| Retrieve a const reference to a component. | |
| Public Member Functions inherited from Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, true >, track_container_t::IndexType, true > | |
| double | absoluteMomentum () const |
| Get the absolute momentum. | |
| double | charge () const |
| Get the charge. | |
| 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 () const |
| Return the number of degrees of freedom. | |
| unsigned int | nHoles () const |
| Return the number of holes on this track. | |
| unsigned int | nMeasurements () const |
| Return the number of measurements assigned to this track. | |
| unsigned int | nOutliers () const |
| Return the number of outliers for this track. | |
| 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 () 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 () const |
| Get the tip index, i.e. the entry point into the track state container. | |
| double | transverseMomentum () const |
| Get the transverse momentum. | |
Static Public Attributes | |
| static constexpr IndexType | kInvalid = kTrackIndexInvalid |
| Sentinel value that indicates an invalid index. | |
| static constexpr bool | ReadOnly = read_only |
| Indicates whether this track proxy is read-only or if it can be modified. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, true >, track_container_t::IndexType, true > | |
| constexpr TrackProxy< track_container_t, trajectory_t, holder_t, true > & | derived () |
Proxy class representing a single track.
This class provides a view into an associated TrackContainer, and has reference semantics. You can think of it as a pointer to a vector of tracks, which exposes an object-oriented interface for accessing the track properties.
| track_container_t | the container backend |
| trajectory_t | the track state container backend |
| holder_t | ownership management class for the backend |
| read_only | true if this track container is not mutable |
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::ConstCovariance |
Same as Covariance, but with const semantics.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::ConstParameters |
Same as Parameters, but with const semantics.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::ConstProxyType = ConstTrackProxy |
Alias for an associated const track proxy, with the same backends.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::ConstTrackProxy |
Alias for the const version of this track proxy, with the same backends.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::ConstTrackStateProxy = typename Trajectory::ConstTrackStateProxy |
Alias for an associated const track state proxy, with the same backends.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::Container = track_container_t |
The track container backend given as a template parameter.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::Covariance |
Map-type for a bound covariance.
This has reference semantics, i.e. points at a matrix by an internal pointer.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::IndexType = TrackIndexType |
The index type of the track container.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::MutableTrackProxy |
Alias for the mutable version of this track proxy, with the same backends.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::Parameters |
Map-type for a bound parameter vector.
This has reference semantics, i.e. points at a matrix by an internal pointer.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::TrackStateProxy = typename Trajectory::TrackStateProxy |
Alias for an associated mutable track state proxy, with the same backends.
| using Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::Trajectory = trajectory_t |
The track state container backend given as a template parameter.
|
default |
Copy constructor: const to const or mutable to mutable.
| other | the other track proxy |
|
explicit |
Constructor from mutable track proxy.
| other | the other track proxy |
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::absoluteMomentum | ( | ) | const |
Get the absolute momentum.
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::appendTrackState | ( | TrackStatePropMask | mask = TrackStatePropMask::All | ) |
Append a track state to this track.
This will modify the tip index to point at the newly created track state, which will be directly after the previous track state at tip index.
| mask | The allocation prop mask for the new track state |
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::charge | ( | ) | const |
Get the charge.
| float & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::chi2 | ( | ) |
Return a mutable reference to the local chi-squared contribution.
| float Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::chi2 | ( | ) | const |
Return the local chi-squared contribution.
|
constexpr |
Retrieve a mutable reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a const reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a mutable reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a const reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a mutable reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key at runtime instead of compile-time key
|
constexpr |
Retrieve a const reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key at runtime instead of compile-time key | auto & Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::container | ( | ) |
Return a reference to the track container backend, mutable version.
| const auto & Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::container | ( | ) | const |
Return a reference to the track container backend, const version.
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::copyFrom | ( | const track_proxy_t & | other | ) |
Create a complete deep copy of another track, including all track states.
This creates new track states in the destination trajectory and copies all data from the source track states. The track state sequence order is preserved.
Implementation details:
What gets copied:
Result:
| track_proxy_t | the other track proxy's type |
| other | The source track proxy to copy from |
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::copyFromShallow | ( | const track_proxy_t & | other | ) |
Create a shallow copy from another track, sharing the same track states.
This copies all track-level properties and makes the destination track point to the same track state sequence as the source. The track states themselves are not duplicated - both tracks will reference the same track state objects in memory.
What gets copied:
What gets shared (not duplicated):
Result:
| track_proxy_t | the other track proxy's type |
| other | The source track proxy to create a shallow copy from |
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::copyFromWithoutStates | ( | const track_proxy_t & | other | ) |
Copy track-level properties from another track, but not the track states.
This copies all track metadata and properties but leaves the track state sequence unchanged. Useful when you want to copy track properties to an existing track that may already have track states.
What gets copied:
What does NOT get copied:
Result:
| track_proxy_t | the other track proxy's type |
| other | The source track proxy to copy properties from |
| Covariance Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::covariance | ( | ) |
Get the covariance of the track at the reference surface (e.g.
perigee). Mutable version
| ConstCovariance Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::covariance | ( | ) | const |
Get the covariance of the track at the reference surface (e.g.
perigee). Const version
| BoundTrackParameters Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::createParametersAtReference | ( | ) | const |
Return the track parameters at the reference surface.
| BoundTrackParameters Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::createParametersFromState | ( | const ConstTrackStateProxy & | trackState | ) | const |
Convert a track state into track parameters.
| trackState | Track state to convert to parameters |
| Vector3 Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::direction | ( | ) | const |
Get a unit vector along the track direction at the reference surface.
| Vector4 Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::fourMomentum | ( | ) | const |
Get the four-momentum vector: (px, py, pz, e).
| bool Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::hasColumn | ( | HashedString | key | ) | const |
Check whether a dynamic column exists.
| key | String key for the component to check |
| bool Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::hasReferenceSurface | ( | ) | const |
Returns whether the track has a reference surface or not.
| IndexType Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::index | ( | ) | const |
Return the index of this track in the track container.
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::innermostTrackState | ( | ) |
Return a mutable track state proxy to the innermost track state.
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::innermostTrackState | ( | ) | const |
Return a const track state proxy to the innermost track state.
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::linkForward | ( | ) |
Forward connect a track.
This means setting indices from the inside out on all track states.
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::loc0 | ( | ) | const |
Access the loc0 parameter of the track at the reference surface.
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::loc1 | ( | ) | const |
Access the loc1 parameter of the track at the reference surface.
| Vector3 Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::momentum | ( | ) | const |
Get the global momentum vector.
| unsigned int & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nDoF | ( | ) |
Return a mutable reference to the number of degrees of freedom.
| unsigned int Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nDoF | ( | ) | const |
Return the number of degrees of freedom.
| unsigned int & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nHoles | ( | ) |
Return a mutable reference to the number of holes.
| unsigned int Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nHoles | ( | ) | const |
Return the number of holes on this track.
| unsigned int & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nMeasurements | ( | ) |
Return a mutable reference to the number of measurements.
| unsigned int Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nMeasurements | ( | ) | const |
Return the number of measurements assigned to this track.
| unsigned int & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nOutliers | ( | ) |
Return a mutable reference to the number of outliers.
| unsigned int Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nOutliers | ( | ) | const |
Return the number of outliers for this track.
| unsigned int & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nSharedHits | ( | ) |
Return a mutable reference to the number of shared hits.
| unsigned int Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::nSharedHits | ( | ) | const |
Return the number of shared hits for this track.
| unsigned int Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::nTrackStates | ( | ) | const |
Return the number of track states associated to this track.
| TrackProxy & Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::operator= | ( | const MutableTrackProxy< track_container_t, trajectory_t, holder_t, read_only > & | other | ) |
Copy assignment operator from mutable track proxy.
| other | the other track proxy |
|
default |
Copy assignment operator: const to const or mutable to mutable.
| other | the other track proxy |
| bool Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::operator== | ( | const TrackProxy< track_container_t, trajectory_t, holder_t, read_only > & | other | ) | const |
Equality operator with another track proxy Checks the container identity and the track index.
| other | Other track proxy to compare with |
| TrackStateProxy Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::outermostTrackState | ( | ) |
Return a mutable track state proxy to the outermost track state.
| ConstTrackStateProxy Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::outermostTrackState | ( | ) | const |
Return a const track state proxy to the outermost track state.
| Parameters Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::parameters | ( | ) |
Get the parameters of the track at the reference surface (e.g.
perigee). Mutable version
| ConstParameters Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::parameters | ( | ) | const |
Get the parameters of the track at the reference surface (e.g.
perigee). Const version
| ParticleHypothesis Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::particleHypothesis | ( | ) | const |
Get the particle hypothesis.
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::phi | ( | ) | const |
Access the phi parameter of the track at the reference surface.
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::qOverP | ( | ) | const |
Access the q/p (curvature) parameter of the track at the reference surface.
| const Surface & Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::referenceSurface | ( | ) | const |
Get the reference surface of the track (e.g.
the perigee)
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::reverseTrackStates | ( | bool | invertJacobians = false | ) |
Reverse the ordering of track states for this track Afterwards, the previous endpoint of the track state sequence will be the "innermost" track state.
| invertJacobians | Whether to invert the Jacobians of the track states |
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::setParticleHypothesis | ( | const ParticleHypothesis & | particleHypothesis | ) |
Set a new particle hypothesis for this track.
| particleHypothesis | The particle hypothesis to set |
| void Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::setReferenceSurface | ( | std::shared_ptr< const Surface > | srf | ) |
Set a new reference surface for this track.
| srf | The surface to set |
| IndexType & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::stemIndex | ( | ) |
Get a mutable reference to the stem index.
| IndexType Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::stemIndex | ( | ) | const |
Get the stem index, i.e. the innermost track state in the track.
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::theta | ( | ) | const |
Access the theta parameter of the track at the reference surface.
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::time | ( | ) | const |
Access the time parameter of the track at the reference surface.
| IndexType & Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::tipIndex | ( | ) |
Get a mutable reference to the tip index.
| IndexType Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::tipIndex | ( | ) | const |
Get the tip index, i.e. the entry point into the track state container.
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::trackStates | ( | ) |
Get a range over the track states of this track.
Return value is compatible with range based for loop. This overload returns a mutable track state range, which means you can modify the track states obtained in the iteration.
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::trackStates | ( | ) | const |
Get a range over the track states of this track.
Return value is compatible with range based for loop. This overload returns a const-only track state range, which means you cannot modify the track states obtained in the iteration.
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::trackStatesReversed | ( | ) |
Get a range over the track states of this track.
Return value is compatible with range based for loop. Mutable version
| auto Acts::TrackProxy< track_container_t, trajectory_t, holder_t, read_only >::trackStatesReversed | ( | ) | const |
Get a range over the track states of this track.
Return value is compatible with range based for loop. Const version
| double Acts::TrackProxyCommon< TrackProxy< track_container_t, trajectory_t, holder_t, read_only >, typename track_container_t::IndexType, read_only >::transverseMomentum | ( | ) | const |
Get the transverse momentum.
|
staticconstexpr |
Sentinel value that indicates an invalid index.
|
staticconstexpr |
Indicates whether this track proxy is read-only or if it can be modified.