ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace ActsTrk::detail {
18
20 public:
22 ActsTrk::MutableTrackStateBackend::TrackStateProxy;
24 ActsTrk::MutableTrackStateBackend::ConstTrackStateProxy;
25
27
28 ActsTrk::TrackContainer::ConstTrackStateProxy state;
29
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::MutableTrackStateBackend::TrackStateProxy MutableTrackStateProxy
void calibrate(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sourceLink, MutableTrackStateProxy trackState) const
static const Acts::Surface * accessSurface(const Acts::SourceLink &sourceLink)
ActsTrk::MutableTrackStateBackend::ConstTrackStateProxy ConstTrackStateProxy
Athena definition of the Eigen plugin.