#include <RefittingCalibrator.h>
Definition at line 19 of file RefittingCalibrator.h.
◆ ConstTrackStateProxy
◆ MutableTrackStateProxy
◆ accessSurface()
static const Acts::Surface* ActsTrk::detail::RefittingCalibrator::accessSurface |
( |
const Acts::SourceLink & |
sourceLink | ) |
|
|
inlinestatic |
Definition at line 37 of file RefittingCalibrator.h.
39 const auto& refittingSl = sourceLink.get<RefittingSourceLink>();
40 return &refittingSl.state.referenceSurface();
◆ calibrate()
void ActsTrk::detail::RefittingCalibrator::calibrate |
( |
const Acts::GeometryContext & |
gctx, |
|
|
const Acts::CalibrationContext & |
cctx, |
|
|
const Acts::SourceLink & |
sourceLink, |
|
|
MutableTrackStateProxy |
trackState |
|
) |
| const |
Definition at line 14 of file RefittingCalibrator.cxx.
18 const auto& sl = sourceLink.get<RefittingSourceLink>();
21 trackState.setUncalibratedSourceLink(sl.state.getUncalibratedSourceLink());
25 Acts::visit_measurement(sl.state.calibratedSize(), [&](
auto N) {
26 constexpr int Size = decltype(N)::value;
28 trackState.allocateCalibrated(
29 sl.state.template calibrated<Size>().eval(),
30 sl.state.template calibratedCovariance<Size>().eval());
33 if (!sl.state.projectorSubspaceIndices().empty()) {
34 trackState.setProjectorSubspaceIndices(sl.state.projectorSubspaceIndices());
The documentation for this class was generated from the following files: