5#ifndef ACTSTRACKRECONSTRUCTION_ONTRACKCALIBRATOR_H
6#define ACTSTRACKRECONSTRUCTION_ONTRACKCALIBRATOR_H
8#include "GaudiKernel/ToolHandle.h"
13#include "Acts/Geometry/TrackingGeometry.hpp"
20#include "boost/container/static_vector.hpp"
25template <
typename traj_t>
33 std::pair<PixelPos, PixelCov>(
const Acts::GeometryContext&,
34 const Acts::CalibrationContext&,
41 std::pair<StripPos, StripCov>(
const Acts::GeometryContext&,
42 const Acts::CalibrationContext&,
49 std::pair<HgtdPos, HgtdCov>(
const Acts::GeometryContext&,
50 const Acts::CalibrationContext&,
93 const Acts::CalibrationContext& cctx,
94 const Acts::SourceLink& link,
102 boost::container::static_vector<std::unique_ptr<ClusterCalibratorBase >, 3>
m_calibrators;
105 template <std::
size_t Dim,
typename Cluster>
108 const Acts::CalibrationContext& ,
109 const Cluster& cluster,
113 template <
typename T_CalibratorToolHandle,
typename T_Delegate>
118 template<
typename T_CalibratorToolHandle,
typename T_Delegate>
120 const T_CalibratorToolHandle &calibrator_tool,
121 T_Delegate &delegate);
MeasurementCalibratorBase()=default
HGTDCalibrator hgtdCalibrator
void calibrate(const Acts::GeometryContext &geoctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &link, TrackStateProxy state) const
Function that's hooked to the calibration delegate of the implemented Acts fitters.
OnTrackCalibrator(const EventContext &ctx, const ActsTrk::ITrackingGeometryTool *trackGeoTool, const ToolHandle< IPixelOnTrackCalibratorTool< traj_t > > &pixelTool, const ToolHandle< IStripOnTrackCalibratorTool< traj_t > > &stripTool, const ToolHandle< IHGTDOnTrackCalibratorTool< traj_t > > &hgtdTool)
Standard cosntructor which activates the calibration of the ITk & HGTD measurements based on the best...
xAODUncalibMeasSurfAcc m_surfAcc
std::pair< xAOD::MeasVector< Dim >, xAOD::MeasMatrix< Dim > > passthrough(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &, const Cluster &cluster, const TrackStateProxy &state) const
xAOD::MeasVector< 1 > StripPos
xAOD::MeasMatrix< 3 > HgtdCov
xAOD::MeasVector< 2 > PixelPos
OnTrackCalibrator(const ActsTrk::ITrackingGeometryTool *trackGeoTool)
create a "NoCalibration" on track calibrator for all measurement types.
static OnTrackCalibrator NoCalibration(const ActsTrk::ITrackingGeometryTool *trackGeoTool)
Constructs a calibrator which copies the local position & covariance of the ITk measurements onto the...
Acts::Delegate< std::pair< PixelPos, PixelCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::PixelCluster &, const TrackStateProxy &)> PixelCalibrator
OnTrackCalibrator()=default
Empty default constructor.
typename Acts::MultiTrajectory< traj_t >::TrackStateProxy TrackStateProxy
Acts::Delegate< std::pair< StripPos, StripCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const TrackStateProxy &)> StripCalibrator
Acts::Delegate< std::pair< HgtdPos, HgtdCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::HGTDCluster &, const TrackStateProxy &)> HGTDCalibrator
xAOD::MeasMatrix< 1 > StripCov
void connectPassThrough(T_Delegate &delegate)
boost::container::static_vector< std::unique_ptr< ClusterCalibratorBase >, 3 > m_calibrators
xAOD::MeasVector< 3 > HgtdPos
void connect(const EventContext &ctx, const T_CalibratorToolHandle &calibrator_tool, T_Delegate &delegate)
StripCalibrator stripCalibrator
xAOD::MeasMatrix< 2 > PixelCov
PixelCalibrator pixelCalibrator
Helper class to access the Acts::surface associated with an Uncalibrated xAOD measurement.
Athena definition of the Eigen plugin.
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
Eigen::Matrix< float, N, N > MeasMatrix
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
HGTDCluster_v1 HGTDCluster
Define the version of the pixel cluster class.