Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
ActsTrk::IFitterTool Class Referenceabstract

Generic interface class to fit xAOD::Uncalibrated measurements to (multi)-trajectories. More...

#include <IFitterTool.h>

Inheritance diagram for ActsTrk::IFitterTool:
Collaboration diagram for ActsTrk::IFitterTool:

Public Member Functions

 DeclareInterfaceID (IFitterTool, 1, 0)
 
virtual std::unique_ptr< MutableTrackContainerfit (const Seed &seed, const Acts::BoundTrackParameters &initialParams, const Acts::GeometryContext &tgContext, const Acts::MagneticFieldContext &mfContext, const Acts::CalibrationContext &calContext) const =0
 Tries to fit a short-line track from an initial ITk/ID seed made up out of three spacepoints. More...
 
virtual std::unique_ptr< MutableTrackContainerfit (const std::vector< const xAOD::UncalibratedMeasurement * > &measList, const Acts::BoundTrackParameters &initialParams, const Acts::GeometryContext &tgContext, const Acts::MagneticFieldContext &mfContext, const Acts::CalibrationContext &calContext, const Acts::Surface *targetSurface=nullptr) const =0
 Attempt to fit a trajectory from a list of uncalibrated measurements. More...
 
virtual StatusCode fit (const EventContext &ctx, const TrackContainer::ConstTrackProxy &track, MutableTrackContainer &trackContainer) const =0
 

Detailed Description

Generic interface class to fit xAOD::Uncalibrated measurements to (multi)-trajectories.

Depending on the fitter in use, the methods either construct a single track trajectory or a bunch of trajectories sharing subsets of measurements with each other. By convention, the creation of the returned trajectory container is not guaranteed and usually the fitters return nullptrs in case of fit failures.

Definition at line 27 of file IFitterTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

ActsTrk::IFitterTool::DeclareInterfaceID ( IFitterTool  ,
,
 
)

◆ fit() [1/3]

virtual StatusCode ActsTrk::IFitterTool::fit ( const EventContext &  ctx,
const TrackContainer::ConstTrackProxy &  track,
MutableTrackContainer trackContainer 
) const
pure virtual

◆ fit() [2/3]

virtual std::unique_ptr<MutableTrackContainer> ActsTrk::IFitterTool::fit ( const Seed seed,
const Acts::BoundTrackParameters &  initialParams,
const Acts::GeometryContext &  tgContext,
const Acts::MagneticFieldContext &  mfContext,
const Acts::CalibrationContext &  calContext 
) const
pure virtual

Tries to fit a short-line track from an initial ITk/ID seed made up out of three spacepoints.

For a better fit convergence, this method also takes an external estimate of the track parameters

Parameters
seedReference to the riplet of ITk/ID space points to fit.
initialParamsRough parameter estimate used to start the fit
tgContextGeometry context to fetch the aligned positions of each surface
mfContextReference to the magnetic field context having the ATLAS magnetic field wrapped
calContextReference to the CalibrationContext which is wrapping the pointer to the Gaudi-event context
Returns
: In case of fit-failure, a nullptr otherwise a unique_ptr to the fitted trajectories from the fit

◆ fit() [3/3]

virtual std::unique_ptr< MutableTrackContainer > ActsTrk::IFitterTool::fit ( const std::vector< const xAOD::UncalibratedMeasurement * > &  measList,
const Acts::BoundTrackParameters &  initialParams,
const Acts::GeometryContext &  tgContext,
const Acts::MagneticFieldContext &  mfContext,
const Acts::CalibrationContext &  calContext,
const Acts::Surface *  targetSurface = nullptr 
) const
pure virtual

Attempt to fit a trajectory from a list of uncalibrated measurements.

The measurements need to be sorted such that the associated surfaces are passed in consecutive order by the constructed trajectory. For a betterfit convergence, the method takes an external estimate of the track parameters.

Parameters
measListList of pointers to the uncalibrated measurements to consider for fitting
initialParamsRough parameter estimate used to start the fit
tgContextGeometry context to fetch the aligned positions of each surface
mfContextReference to the magnetic field context having the ATLAS magnetic field wrapped
calContextReference to the CalibrationContext which is wrapping the pointer to the Gaudi-event context
Returns
: In case of fit-failure, a nullptr otherwise a unique_ptr to the fitted trajectories from the fit

The documentation for this class was generated from the following file: