ATLAS Offline Software
TrkMeasurementCalibrator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSTRACKRECONSTRUCTION_DETAIL_TRKMEASUREMENTCALIBRATOR_H
6 #define ACTSTRACKRECONSTRUCTION_DETAIL_TRKMEASUREMENTCALIBRATOR_H
7 
9 
10 #include "Acts/EventData/Types.hpp"
11 #include "Acts/EventData/SourceLink.hpp"
17 
18 namespace ActsTrk::detail {
19 
21  : public MeasurementCalibratorBase {
22  private:
23 
24  // internal class definition
26  public:
27  MeasurementAdapter(const Trk::MeasurementBase &measurement);
28 
30 
31  template <std::size_t DIM>
32  inline const Trk::LocalParameters& localPosition() const;
33 
34  template <std::size_t DIM>
35  inline const Amg::MatrixX &localCovariance() const;
36 
37  private:
39  };
40 
41  // class definition
42  public:
44 
45  template <typename trajectory_t>
46  void calibrate([[maybe_unused]] const Acts::GeometryContext &gctx,
47  [[maybe_unused]] const Acts::CalibrationContext & cctx,
48  const Acts::SourceLink& sl,
49  typename Acts::MultiTrajectory<trajectory_t>::TrackStateProxy trackState) const;
50 
51  private:
53  };
54 
55 }
56 
58 
59 #endif
ActsTrk::detail::TrkMeasurementCalibrator::m_converterTool
const ActsTrk::IActsToTrkConverterTool * m_converterTool
Definition: TrkMeasurementCalibrator.h:52
Trk::LocalParameters
Definition: LocalParameters.h:98
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
MeasurementBase.h
TrkMeasurementCalibrator.icc
ActsTrk::detail::TrkMeasurementCalibrator
Definition: TrkMeasurementCalibrator.h:21
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::m_measurement
const Trk::MeasurementBase * m_measurement
Definition: TrkMeasurementCalibrator.h:38
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::MeasurementAdapter
MeasurementAdapter(const Trk::MeasurementBase &measurement)
Definition: TrkMeasurementCalibrator.cxx:10
ActsTrk::detail::TrkMeasurementCalibrator::calibrate
void calibrate([[maybe_unused]] const Acts::GeometryContext &gctx, [[maybe_unused]] const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, typename Acts::MultiTrajectory< trajectory_t >::TrackStateProxy trackState) const
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter
Definition: TrkMeasurementCalibrator.h:25
ActsTrk::IActsToTrkConverterTool
Definition: IActsToTrkConverterTool.h:43
MeasurementCalibratorBase.h
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::type
xAOD::UncalibMeasType type() const
Definition: TrkMeasurementCalibrator.cxx:14
ActsTrk::detail::TrkMeasurementCalibrator::TrkMeasurementCalibrator
TrkMeasurementCalibrator(const ActsTrk::IActsToTrkConverterTool &converter_tool)
Definition: TrkMeasurementCalibrator.cxx:25
ActsTrk::detail::MeasurementCalibratorBase
Definition: MeasurementCalibratorBase.h:19
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::localCovariance
const Amg::MatrixX & localCovariance() const
MeasurementDefs.h
Trk::MeasurementBase
Definition: MeasurementBase.h:58
LocalParameters.h
ActsTrk::detail::TrkMeasurementCalibrator::MeasurementAdapter::localPosition
const Trk::LocalParameters & localPosition() const
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition: MeasurementDefs.h:24
IActsToTrkConverterTool.h
ActsTrk::detail
Definition: Decoration.h:15