![]() |
ATLAS Offline Software
|
Tool wrapping an ACTS track fitter tool to expose the Trk::ITrackFitter interface. More...
#include <ActsToTrkFitterWrapTool.h>
Public Member Functions | |
| ~ActsToTrkFitterWrapTool ()=default | |
| StatusCode | initialize () override |
| virtual std::unique_ptr< Trk::Track > | fit (const EventContext &ctx, const Trk::Track &track, const Trk::RunOutlierRemoval runOutlier=false, const Trk::ParticleHypothesis hypothesis=Trk::nonInteracting) const override |
| Re-fit a track using the ACTS fitter tool. | |
| virtual std::unique_ptr< Trk::Track > | fit (const EventContext &ctx, const Trk::Track &track, const Trk::MeasurementSet &measSet, const Trk::RunOutlierRemoval runOutlier=false, const Trk::ParticleHypothesis hypothesis=Trk::nonInteracting) const override |
| Re-fit a track adding a fittable measurement set. | |
| virtual std::unique_ptr< Trk::Track > | fit (const EventContext &ctx, const Trk::Track &track, const Trk::PrepRawDataSet &prepRawSet, const Trk::RunOutlierRemoval runOutlier=false, const Trk::ParticleHypothesis hypothesis=Trk::nonInteracting) const override |
| Re-fit a track adding a set of prepared raw data. | |
| virtual std::unique_ptr< Trk::Track > | fit (const EventContext &ctx, const Trk::PrepRawDataSet &prepRawSet, const Trk::TrackParameters ¶ms, const Trk::RunOutlierRemoval runOutlier=false, const Trk::ParticleHypothesis hypothesis=Trk::nonInteracting) const override |
| Fit a track to a set of prepared raw data. | |
| virtual std::unique_ptr< Trk::Track > | fit (const EventContext &ctx, const Trk::MeasurementSet &measSet, const Trk::TrackParameters ¶ms, const Trk::RunOutlierRemoval runOutlier=false, const Trk::ParticleHypothesis hypothesis=Trk::nonInteracting) const override |
| Fit a track to a set of measurements. | |
| virtual std::unique_ptr< Trk::Track > | fit (const EventContext &ctx, const Trk::Track &track1, const Trk::Track &track2, const Trk::RunOutlierRemoval runOutlier=false, const Trk::ParticleHypothesis hypothesis=Trk::nonInteracting) const override |
| Combines two tracks by fitting them together. | |
Private Member Functions | |
| std::unique_ptr< Trk::Track > | reFitImpl (const EventContext &ctx, const Trk::Track &track, const std::vector< Acts::SourceLink > &measColl, const Trk::ParticleHypothesis hypothesis, const bool useScaledCov=false) const |
| Implementation of the logic for re-fitting a track adding a set of measurements passed as source links. | |
| std::unique_ptr< Trk::Track > | fitImpl (const EventContext &ctx, const std::vector< Acts::SourceLink > &measColl, const Acts::BoundTrackParameters ¶ms) const |
| Implementation of the logic for fitting a track to a set of measurements passed as source links. | |
Private Attributes | |
| ToolHandle< IFitterTool > | m_actsFitterTool {this, "ActsFitterTool", ""} |
| The underlying Acts fitter tool. | |
| ToolHandle< IExtrapolationTool > | m_extrapolationTool {this, "ExtrapolationTool", ""} |
| Acts extrapolation tool. | |
| PublicToolHandle< ITrackingGeometryTool > | m_trackingGeometryTool {this, "TrackingGeometryTool", ""} |
| Tracking geometry tool. | |
| ToolHandle< ITrackConverterTool > | m_ATLASConverterTool {this, "ATLASConverterTool", ""} |
| Track converter tool for converting Acts tracks to ATLAS tracks. | |
| PublicToolHandle< IGeometryRealmConvTool > | m_geometryConvTool {this, "GeometryRealmConvTool", ""} |
| Geometry realm converter tool. | |
| Gaudi::Property< double > | m_option_seedCovarianceScale |
| Property for the seed covariance scale factor. | |
Tool wrapping an ACTS track fitter tool to expose the Trk::ITrackFitter interface.
The EDM objects are piped to the Acts::IFitterTool interface and processed by the ACTS infrastructure. The successful fit result is then converted back to a Trk::Track object. The wrapper leverages the usage of the ACTS fitters in the legacy reconstruction framework and is mainly meant to be used for validation and testing purposes.
Definition at line 31 of file ActsToTrkFitterWrapTool.h.
|
default |
|
overridevirtual |
Fit a track to a set of measurements.
| ctx | The event context. |
| measSet | The measurement set. |
| params | The initial track parameters. |
| runOutlier | Whether to run outlier removal. |
| hypothesis | The particle hypothesis. |
Definition at line 82 of file ActsToTrkFitterWrapTool.cxx.
|
overridevirtual |
Fit a track to a set of prepared raw data.
| ctx | The event context. |
| prepRawSet | The set of prepared raw data. |
| params | The initial track parameters. |
| runOutlier | Whether to run outlier removal. |
| hypothesis | The particle hypothesis. |
Definition at line 67 of file ActsToTrkFitterWrapTool.cxx.
|
overridevirtual |
Re-fit a track adding a fittable measurement set.
| ctx | The event context. |
| track | The input track. |
| measSet | The measurement set to add. |
| runOutlier | Whether to run outlier removal. |
| hypothesis | The particle hypothesis. |
Definition at line 37 of file ActsToTrkFitterWrapTool.cxx.
|
overridevirtual |
Re-fit a track adding a set of prepared raw data.
| ctx | The event context. |
| track | The input track. |
| prepRawSet | The set of prepared raw data to add. |
| runOutlier | Whether to run outlier removal. |
| hypothesis | The particle hypothesis. |
Definition at line 52 of file ActsToTrkFitterWrapTool.cxx.
|
overridevirtual |
Re-fit a track using the ACTS fitter tool.
| ctx | The event context. |
| track | The input track. |
| runOutlier | Whether to run outlier removal. |
| hypothesis | The particle hypothesis. |
Definition at line 27 of file ActsToTrkFitterWrapTool.cxx.
|
overridevirtual |
Combines two tracks by fitting them together.
| ctx | The event context. |
| track1 | The first track. |
| track2 | The second track. |
| runOutlier | Whether to run outlier removal. |
| hypothesis | The particle hypothesis. |
Definition at line 97 of file ActsToTrkFitterWrapTool.cxx.
|
private |
Implementation of the logic for fitting a track to a set of measurements passed as source links.
| ctx | The event context. |
| measColl | The collection of measurements. |
| params | The initial track parameters. |
Definition at line 164 of file ActsToTrkFitterWrapTool.cxx.
|
override |
Definition at line 16 of file ActsToTrkFitterWrapTool.cxx.
|
private |
Implementation of the logic for re-fitting a track adding a set of measurements passed as source links.
| ctx | The event context. |
| track | The input track. |
| measColl | The collection of measurements. |
| hypothesis | The particle hypothesis. |
| useScaledCov | Whether to use scaled covariance. |
Definition at line 126 of file ActsToTrkFitterWrapTool.cxx.
|
private |
The underlying Acts fitter tool.
Definition at line 150 of file ActsToTrkFitterWrapTool.h.
|
private |
Track converter tool for converting Acts tracks to ATLAS tracks.
Definition at line 157 of file ActsToTrkFitterWrapTool.h.
|
private |
Acts extrapolation tool.
Definition at line 153 of file ActsToTrkFitterWrapTool.h.
|
private |
Geometry realm converter tool.
Definition at line 159 of file ActsToTrkFitterWrapTool.h.
|
private |
Property for the seed covariance scale factor.
Definition at line 162 of file ActsToTrkFitterWrapTool.h.
|
private |
Tracking geometry tool.
Definition at line 155 of file ActsToTrkFitterWrapTool.h.