Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
RefittingCalibrator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSTRACKRECONSTRUCTION_REFITTINGCALIBRATOR_H
6 #define ACTSTRACKRECONSTRUCTION_REFITTINGCALIBRATOR_H
7 
8 #include "Acts/EventData/MultiTrajectory.hpp"
9 #include "Acts/EventData/SourceLink.hpp"
10 #include "Acts/EventData/VectorMultiTrajectory.hpp"
11 #include "Acts/Geometry/GeometryContext.hpp"
12 #include "Acts/Geometry/GeometryIdentifier.hpp"
13 #include "Acts/Surfaces/Surface.hpp"
14 #include "Acts/Utilities/CalibrationContext.hpp"
16 
17 namespace ActsTrk::detail {
18 
20  public:
25 
27 
28  ActsTrk::TrackContainer::ConstTrackStateProxy state;
29 
30  RefittingSourceLink() = delete;
31 
33  const ActsTrk::TrackContainer::ConstTrackStateProxy& inputState)
34  : state(inputState) {}
35  };
36 
37  static const Acts::Surface* accessSurface(
38  const Acts::SourceLink& sourceLink) {
39  const auto& refittingSl = sourceLink.get<RefittingSourceLink>();
40  return &refittingSl.state.referenceSurface();
41  }
42 
43  void calibrate(const Acts::GeometryContext& gctx,
44  const Acts::CalibrationContext& cctx,
45  const Acts::SourceLink& sourceLink,
46  MutableTrackStateProxy trackState) const;
47 };
48 
49 } // namespace ActsTrk::detail
50 
51 #endif // ACTSTRACKRECONSTRUCTION_REFITTINGCALIBRATOR_H
ActsTrk::detail::RefittingCalibrator
Definition: RefittingCalibrator.h:19
ActsTrk::MutableMultiTrajectory::TrackStateProxy
typename Acts::MultiTrajectory< ActsTrk::MutableMultiTrajectory >::TrackStateProxy TrackStateProxy
Definition: MultiTrajectory.h:82
ActsTrk::detail::RefittingCalibrator::MutableTrackStateProxy
ActsTrk::MutableTrackStateBackend::TrackStateProxy MutableTrackStateProxy
Definition: RefittingCalibrator.h:22
ActsTrk::detail::RefittingCalibrator::accessSurface
static const Acts::Surface * accessSurface(const Acts::SourceLink &sourceLink)
Definition: RefittingCalibrator.h:37
ActsTrk::MutableMultiTrajectory::ConstTrackStateProxy
typename Acts::MultiTrajectory< ActsTrk::MutableMultiTrajectory >::ConstTrackStateProxy ConstTrackStateProxy
Definition: MultiTrajectory.h:84
ActsTrk::detail::RefittingCalibrator::calibrate
void calibrate(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sourceLink, MutableTrackStateProxy trackState) const
Definition: RefittingCalibrator.cxx:14
ActsTrk::detail
Definition: Decoration.h:15
ActsTrk::detail::RefittingCalibrator::ConstTrackStateProxy
ActsTrk::MutableTrackStateBackend::ConstTrackStateProxy ConstTrackStateProxy
Definition: RefittingCalibrator.h:24
TrackContainer.h