![]() |
ATLAS Offline Software
|
Inner detector / ITk calibrator implementation used in the KalmanFilterTool. More...
#include <OnTrackCalibrator.h>
Public Types | |
| using | TrackStateProxy = typename Acts::MultiTrajectory<traj_t>::TrackStateProxy |
| using | PixelPos = xAOD::MeasVector<2> |
| using | PixelCov = xAOD::MeasMatrix<2> |
| using | PixelCalibrator |
| using | StripPos = xAOD::MeasVector<1> |
| using | StripCov = xAOD::MeasMatrix<1> |
| using | StripCalibrator |
| using | HgtdPos = xAOD::MeasVector<3> |
| using | HgtdCov = xAOD::MeasMatrix<3> |
| using | HGTDCalibrator |
Public Member Functions | |
| OnTrackCalibrator ()=default | |
| Empty default constructor. | |
| 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. | |
| 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. | |
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. | |
Public Attributes | |
| PixelCalibrator | pixelCalibrator |
| StripCalibrator | stripCalibrator |
| HGTDCalibrator | hgtdCalibrator |
Private Types | |
| enum class | ProjectorType { e1DimNoTime = 0 , e1DimRotNoTime = 1 , e2DimNoTime = 2 , e1DimWithTime = 3 , e1DimRotWithTime = 4 , e2DimWithTime = 5 } |
| Enum encoding the possible projectors used in ATLAS. More... | |
| template<typename trajectory_t> | |
| using | TrackState_t = typename Acts::MultiTrajectory<trajectory_t>::TrackStateProxy |
| Abbrivation of the track state proxy type. | |
| template<typename trajectory_t> | |
| using | ConstTrackState_t = typename Acts::MultiTrajectory<trajectory_t>::ConstTrackStateProxy |
| Abbrivation of the const track state proxy type. | |
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 |
| template<std::size_t Dim, typename trajectory_t, typename pos_t, typename cov_t> | |
| void | setState (const ProjectorType projector, const pos_t &locpos, const cov_t &cov, Acts::SourceLink link, TrackState_t< trajectory_t > &trackState) const |
| Copy the local position & covariance into the Acts track state proxy. | |
Private Attributes | |
| xAODUncalibMeasSurfAcc | m_surfAcc {} |
| Helper class to access the Acts surfaces. | |
Static Private Attributes | |
| static constexpr std::array< Acts::BoundSubspaceIndices, 6 > | s_boundSpaceIndices |
| Array to map the Projector types to the bound index configurations used by the ATLAS detector measurements. | |
Inner detector / ITk calibrator implementation used in the KalmanFilterTool.
Definition at line 22 of file OnTrackCalibrator.h.
|
inherited |
Abbrivation of the const track state proxy type.
Definition at line 44 of file MeasurementCalibratorBase.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::HGTDCalibrator |
Definition at line 44 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::HgtdCov = xAOD::MeasMatrix<3> |
Definition at line 43 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::HgtdPos = xAOD::MeasVector<3> |
Definition at line 42 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::PixelCalibrator |
Definition at line 28 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::PixelCov = xAOD::MeasMatrix<2> |
Definition at line 27 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::PixelPos = xAOD::MeasVector<2> |
Definition at line 26 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::StripCalibrator |
Definition at line 36 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::StripCov = xAOD::MeasMatrix<1> |
Definition at line 35 of file OnTrackCalibrator.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::StripPos = xAOD::MeasVector<1> |
Definition at line 34 of file OnTrackCalibrator.h.
|
inherited |
Abbrivation of the track state proxy type.
Definition at line 41 of file MeasurementCalibratorBase.h.
| using ActsTrk::detail::OnTrackCalibrator< traj_t >::TrackStateProxy = typename Acts::MultiTrajectory<traj_t>::TrackStateProxy |
Definition at line 24 of file OnTrackCalibrator.h.
|
stronginherited |
Enum encoding the possible projectors used in ATLAS.
Their integer representations correspond to the element index in the s_boundSpaceIndices member
| Enumerator | |
|---|---|
| e1DimNoTime | |
| e1DimRotNoTime | Project out solely the locX (Applies to Itk strips, Rpc, Tgc, sTgc, Mm) |
| e2DimNoTime | Project out solely the locY - Complementary projector if the strip plane is rotated (Applies to Itk endcap strips, Rpc, Tgc, sTgc) |
| e1DimWithTime | Project out the two spatial coordinates - (Applies to ITk pixel, BI-Rpc, sTgc pad) |
| e1DimRotWithTime | Project out the locX & time coordinate - (Applies to Rpc, Tgc, Mm, sTgc) |
| e2DimWithTime | Project out the locY & time coordinate - (Applies to Rpc, Tgc, sTgc) |
Definition at line 29 of file MeasurementCalibratorBase.h.
|
default |
Empty default constructor.
Surface look will fail.
| 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. *
| trackGeoTool | Pointer to the tracking geometry tool to access the needed surfaces during the calibration |
| pixelTool | Reference to a (configured) calibration tool responsible for the PixelCluster measurements |
| stripTool | Reference to a (configured) calibration tool responsible for the ITk strip measurements |
| hdtdTool | Reference to a (configured) calibration tool responsible for the HGTD strip measurements |
| 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.
| geoctx | The geometry context to fetch the local -> global transformations for the surfaces |
| cctx | Calibration context which is a packed pointer to the current ATLAS EventContext |
| link | Sourcelink to the actual measurement to calibrate |
| state | Proxy to the track state onto which the calibrated information is copied. |
|
static |
Constructs a calibrator which copies the local position & covariance of the ITk measurements onto the track state.
| trackGeoTool | Pointer to a valid tracking geometry tool to associate the surfaces to the measurements |
|
private |
|
inherited |
Copy the local position & covariance into the Acts track state proxy.
| Dim | Dimension of the measurement |
| trajectory_t | Data type of the track state proxy backend |
| pos_t | Data type of the [Dim x 1] position vector |
| cov_t | Data type of the [Dim x Dim] covariance matrix |
| projector | Projector configuration of the measurement |
| locpos | Calibrated local postion |
| cov | Calibrated local covariance |
| link | Source link to associate with the state |
| trackState | Refrence to the track state proxy to write. |
| HGTDCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::hgtdCalibrator |
Definition at line 53 of file OnTrackCalibrator.h.
|
private |
| PixelCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::pixelCalibrator |
Definition at line 51 of file OnTrackCalibrator.h.
|
staticconstexprprivateinherited |
Array to map the Projector types to the bound index configurations used by the ATLAS detector measurements.
Definition at line 66 of file MeasurementCalibratorBase.h.
| StripCalibrator ActsTrk::detail::OnTrackCalibrator< traj_t >::stripCalibrator |
Definition at line 52 of file OnTrackCalibrator.h.