ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ActsTrk::detail::OnTrackCalibrator< traj_t > Class Template Reference

Inner detector / ITk calibrator implementation used in the KalmanFilterTool. More...

#include <IOnTrackCalibratorTool.h>

Collaboration diagram for ActsTrk::detail::OnTrackCalibrator< traj_t >:

Public Types

using TrackStateProxy = typename Acts::MultiTrajectory< traj_t >::TrackStateProxy
 
using PixelPos = xAOD::MeasVector< 2 >
 
using PixelCov = xAOD::MeasMatrix< 2 >
 
using PixelCalibrator = Acts::Delegate< std::pair< PixelPos, PixelCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::PixelCluster &, const TrackStateProxy &)>
 
using StripPos = xAOD::MeasVector< 1 >
 
using StripCov = xAOD::MeasMatrix< 1 >
 
using StripCalibrator = Acts::Delegate< std::pair< StripPos, StripCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const TrackStateProxy &)>
 
using HgtdPos = xAOD::MeasVector< 3 >
 
using HgtdCov = xAOD::MeasMatrix< 3 >
 
using HGTDCalibrator = Acts::Delegate< std::pair< HgtdPos, HgtdCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::HGTDCluster &, const TrackStateProxy &)>
 

Public Member Functions

 OnTrackCalibrator ()=default
 Empty default constructor. More...
 
 OnTrackCalibrator (const ActsTrk::ITrackingGeometryTool *trackGeoTool, const ToolHandle< IOnTrackCalibratorTool< traj_t >> &pixelTool, const ToolHandle< IOnTrackCalibratorTool< traj_t >> &stripTool, const ToolHandle< IOnTrackCalibratorTool< traj_t >> &hgtdTool)
 Standard cosntructor which activates the calibration of the ITk & HGTD measurements based on the best track predicition. More...
 
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. More...
 

Static Public Member Functions

static OnTrackCalibrator NoCalibration (const ActsTrk::ITrackingGeometryTool *trackGeoTool)
 Constructs a calibrator which copies the local position & covariance of the ITk measurements onto the track state. More...
 

Public Attributes

PixelCalibrator pixelCalibrator
 
StripCalibrator stripCalibrator
 
HGTDCalibrator hgtdCalibrator
 

Private Member Functions

template<std::size_t Dim, typename Cluster >
std::pair< xAOD::MeasVector< Dim >, xAOD::MeasMatrix< Dim > > passthrough (const Acts::GeometryContext &gctx, const Acts::CalibrationContext &, const Cluster &cluster, const TrackStateProxy &state) const
 

Private Attributes

xAODUncalibMeasSurfAcc m_surfAcc {}
 Helper class to access the Acts surfaces. More...
 

Detailed Description

template<typename traj_t>
class ActsTrk::detail::OnTrackCalibrator< traj_t >

Inner detector / ITk calibrator implementation used in the KalmanFilterTool.

Definition at line 14 of file IOnTrackCalibratorTool.h.

Member Typedef Documentation

◆ HGTDCalibrator

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::HGTDCalibrator = Acts::Delegate< std::pair<HgtdPos, HgtdCov>(const Acts::GeometryContext&, const Acts::CalibrationContext&, const xAOD::HGTDCluster &, const TrackStateProxy&)>

Definition at line 44 of file OnTrackCalibrator.h.

◆ HgtdCov

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::HgtdCov = xAOD::MeasMatrix<3>

Definition at line 43 of file OnTrackCalibrator.h.

◆ HgtdPos

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::HgtdPos = xAOD::MeasVector<3>

Definition at line 42 of file OnTrackCalibrator.h.

◆ PixelCalibrator

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::PixelCalibrator = Acts::Delegate< std::pair<PixelPos, PixelCov>(const Acts::GeometryContext&, const Acts::CalibrationContext&, const xAOD::PixelCluster&, const TrackStateProxy&)>

Definition at line 28 of file OnTrackCalibrator.h.

◆ PixelCov

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::PixelCov = xAOD::MeasMatrix<2>

Definition at line 27 of file OnTrackCalibrator.h.

◆ PixelPos

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::PixelPos = xAOD::MeasVector<2>

Definition at line 26 of file OnTrackCalibrator.h.

◆ StripCalibrator

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::StripCalibrator = Acts::Delegate< std::pair<StripPos, StripCov>(const Acts::GeometryContext&, const Acts::CalibrationContext&, const xAOD::StripCluster&, const TrackStateProxy&)>

Definition at line 36 of file OnTrackCalibrator.h.

◆ StripCov

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::StripCov = xAOD::MeasMatrix<1>

Definition at line 35 of file OnTrackCalibrator.h.

◆ StripPos

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::StripPos = xAOD::MeasVector<1>

Definition at line 34 of file OnTrackCalibrator.h.

◆ TrackStateProxy

template<typename traj_t >
using ActsTrk::detail::OnTrackCalibrator< traj_t >::TrackStateProxy = typename Acts::MultiTrajectory<traj_t>::TrackStateProxy

Definition at line 24 of file OnTrackCalibrator.h.

Constructor & Destructor Documentation

◆ OnTrackCalibrator() [1/2]

template<typename traj_t >
ActsTrk::detail::OnTrackCalibrator< traj_t >::OnTrackCalibrator ( )
default

Empty default constructor.

Surface look will fail.

◆ OnTrackCalibrator() [2/2]

template<typename traj_t >
ActsTrk::detail::OnTrackCalibrator< traj_t >::OnTrackCalibrator ( const ActsTrk::ITrackingGeometryTool trackGeoTool,
const ToolHandle< IOnTrackCalibratorTool< traj_t >> &  pixelTool,
const ToolHandle< IOnTrackCalibratorTool< traj_t >> &  stripTool,
const ToolHandle< IOnTrackCalibratorTool< traj_t >> &  hgtdTool 
)

Standard cosntructor which activates the calibration of the ITk & HGTD measurements based on the best track predicition.

It takes the configured instance to the TrackingGeometryTool and then for each silicon measurement type a calibration tool handle. There's also the possibility to pass an empty tool, then the information from the measurement is directly copied onto the track state. *

Parameters
trackGeoToolPointer to the tracking geometry tool to access the needed surfaces during the calibration
pixelToolReference to a (configured) calibration tool responsible for the PixelCluster measurements
stripToolReference to a (configured) calibration tool responsible for the ITk strip measurements
hdtdToolReference to a (configured) calibration tool responsible for the HGTD strip measurements

Member Function Documentation

◆ calibrate()

template<typename traj_t >
void ActsTrk::detail::OnTrackCalibrator< traj_t >::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.

Parameters
geoctxThe geometry context to fetch the local -> global transformations for the surfaces
cctxCalibration context which is a packed pointer to the current ATLAS EventContext
linkSourcelink to the actual measurement to calibrate
stateProxy to the track state onto which the calibrated information is copied.

◆ NoCalibration()

template<typename traj_t >
static OnTrackCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::NoCalibration ( const ActsTrk::ITrackingGeometryTool trackGeoTool)
static

Constructs a calibrator which copies the local position & covariance of the ITk measurements onto the track state.

Parameters
trackGeoToolPointer to a valid tracking geometry tool to associate the surfaces to the measurements

◆ passthrough()

template<typename traj_t >
template<std::size_t Dim, typename Cluster >
std::pair<xAOD::MeasVector<Dim>, xAOD::MeasMatrix<Dim> > ActsTrk::detail::OnTrackCalibrator< traj_t >::passthrough ( const Acts::GeometryContext &  gctx,
const Acts::CalibrationContext &  ,
const Cluster &  cluster,
const TrackStateProxy state 
) const
private

Member Data Documentation

◆ hgtdCalibrator

template<typename traj_t >
HGTDCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::hgtdCalibrator

Definition at line 53 of file OnTrackCalibrator.h.

◆ m_surfAcc

template<typename traj_t >
xAODUncalibMeasSurfAcc ActsTrk::detail::OnTrackCalibrator< traj_t >::m_surfAcc {}
private

Helper class to access the Acts surfaces.

Definition at line 87 of file OnTrackCalibrator.h.

◆ pixelCalibrator

template<typename traj_t >
PixelCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::pixelCalibrator

Definition at line 51 of file OnTrackCalibrator.h.

◆ stripCalibrator

template<typename traj_t >
StripCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::stripCalibrator

Definition at line 52 of file OnTrackCalibrator.h.


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