 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef ACTSCALIBRATION_DETAIL_XAODUNCALIBMEASCALIBRATOR_H
5 #define ACTSCALIBRATION_DETAIL_XAODUNCALIBMEASCALIBRATOR_H
10 #include "Acts/TrackFitting/GlobalChiSquareFitter.hpp"
35 template <auto Callable,
typename Type>
50 void calibrate(
const Acts::GeometryContext& gctx,
51 const Acts::CalibrationContext& cctx,
52 const Acts::SourceLink& sl,
53 const MutableTrackStateBackend::TrackStateProxy trackState)
const;
65 const Acts::CalibrationContext& cctx,
66 const Acts::SourceLink& sl,
67 MutableTrackStateBackend::TrackStateProxy trackState)
const;
76 const Acts::CalibrationContext& cctx,
77 const Acts::SourceLink& sl,
78 MutableTrackStateBackend::TrackStateProxy trackState)
const;
81 using CalibDelegate = Acts::Experimental::Gx2FitterExtensions<MutableTrackStateBackend>::Calibrator;
constexpr static int s_nMeasTypes
void connect(const xAOD::UncalibMeasType type, const Type *instance)
Register a calibrator implementation instance for a given measurement type.
static Acts::SourceLink pack(const xAOD::UncalibratedMeasurement *meas)
Helper method to pack an uncalibrated measurement to an Acts source link.
static const xAOD::UncalibratedMeasurement * unpack(const Acts::SourceLink &sl)
Helper method to unpack an Acts source link to an uncalibrated measurement.
void auxillaryCalibrator(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, MutableTrackStateBackend::TrackStateProxy trackState) const
Delegate method for the Auxiliary measurements.
std::array< CalibDelegate, s_nMeasTypes > m_calibrators
Dispatch table of the calibrators per measurement type.
Base class providing the boiler code to fill the Acts multi trajectory track states.
void calibrate(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, const MutableTrackStateBackend::TrackStateProxy trackState) const
: Interface method for the Acts fitter to calibrate the trajectory track states from the source link ...
Source link calibrator implementation for xAOD::Uncalibrated measurements.
Acts::Experimental::Gx2FitterExtensions< MutableTrackStateBackend >::Calibrator CalibDelegate
Abrivation for the calibrator delegate.
UncalibMeasType
Define the type of the uncalibrated measurement.
void invalidCalibrator(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, MutableTrackStateBackend::TrackStateProxy trackState) const
Delegate method that's assigned during the construction phase of this class.
Athena definition of the Eigen plugin.
xAODUncalibMeasCalibrator()
Empty default constructor.