|
Juggler
Juggling algorithms and event processing using gaudi framework
|
#include <Trajectories.hpp>
Public Types | |
| using | MultiTrajectory = ::Acts::MultiTrajectory |
| (Reconstructed) trajectory with multiple states. More... | |
| using | IndexedParameters = std::unordered_map< size_t, TrackParameters > |
| Fitted parameters identified by indices in the multi trajectory. More... | |
Public Member Functions | |
| Trajectories ()=default | |
| Trajectories (const MultiTrajectory &multiTraj, const std::vector< size_t > &tTips, const IndexedParameters ¶meters) | |
| bool | empty () const |
| Return true if there exists no valid trajectory. More... | |
| const MultiTrajectory & | multiTrajectory () const |
| Access the underlying multi trajectory. More... | |
| const std::vector< size_t > & | tips () const |
| Access the tip indices that identify valid trajectories. More... | |
| bool | hasTrajectory (size_t entryIndex) const |
| bool | hasTrackParameters (size_t entryIndex) const |
| const TrackParameters & | trackParameters (size_t entryIndex) const |
Store reconstructed trajectories from track finding/fitting.
It contains a MultiTrajectory with a vector of entry indices for individual trajectories, and a map of fitted parameters indexed by the entry index. In case of track fitting, there is at most one trajectory in the MultiTrajectory; In case of track finding, there could be multiple trajectories in the MultiTrajectory.
| using Jug::Trajectories::IndexedParameters = std::unordered_map<size_t, TrackParameters> |
Fitted parameters identified by indices in the multi trajectory.
| using Jug::Trajectories::MultiTrajectory = ::Acts::MultiTrajectory |
(Reconstructed) trajectory with multiple states.
|
default |
Default construct an empty object. Required for container compatibility and to signal an error.
|
inline |
Construct from fitted multi trajectory and parameters.
| multiTraj | The multi trajectory |
| tTips | Tip indices that identify valid trajectories |
| parameters | Fitted track parameters indexed by trajectory index |
|
inline |
Return true if there exists no valid trajectory.
|
inline |
Check if fitted track parameters exists for the given index.
| entryIndex | The trajectory entry index |
|
inline |
Check if a trajectory exists for the given index.
| entryIndex | The trajectory entry index |
|
inline |
Access the underlying multi trajectory.
|
inline |
Access the tip indices that identify valid trajectories.
|
inline |
Access the fitted track parameters for the given index.
| entryIndex | The trajectory entry index |