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
10#include "Acts/EventData/MultiTrajectory.hpp"
11#include "Acts/EventData/SourceLink.hpp"
12#include "Acts/EventData/VectorMultiTrajectory.hpp"
13#include "Acts/Geometry/GeometryContext.hpp"
14#include "Acts/Geometry/GeometryIdentifier.hpp"
15#include "Acts/Surfaces/Surface.hpp"
16#include "Acts/Utilities/CalibrationContext.hpp"
18
22
26
27namespace ActsTrk::detail {
28
30 public:
32 const Trk::IRIO_OnTrackCreator* rotCreator);
33
34 using MutableTrackStateProxy = ActsTrk::MutableTrackStateBackend::TrackStateProxy;
35 using ConstTrackStateProxy = ActsTrk::MutableTrackStateBackend::ConstTrackStateProxy;
36
37 void calibrate(const Acts::GeometryContext& gctx,
38 const Acts::CalibrationContext& cctx,
39 const Acts::SourceLink& sourceLink,
40 MutableTrackStateProxy trackState) const;
41
42 template <auto Callable, typename Type>
45 m_xAODCalibrator.connect<Callable>(type, instance);
46 }
47 private:
51
52 };
53
55 public:
57 const ActsTrk::ITrackingGeometryTool* trackGeoTool);
59 const Acts::Surface* operator()(const Acts::SourceLink& sourceLink) const;
60
61 private:
65
66 };
67
68} // namespace ActsTrk::detail
69
70#endif // ACTSTRACKRECONSTRUCTION_REFITTINGCALIBRATOR_H
std::map< std::string, double > instance
Conversion tool interface to translate surfaces & track parameters between the Acts & Trk realm.
Geometry helper tool extending the Tracking geometry service by the data dependency to fetch the geom...
void calibrate(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sourceLink, MutableTrackStateProxy trackState) const
RefittingCalibrator(const ActsTrk::IActsToTrkConverterTool *convTool, const Trk::IRIO_OnTrackCreator *rotCreator)
ActsTrk::MutableTrackStateBackend::ConstTrackStateProxy ConstTrackStateProxy
ActsTrk::MutableTrackStateBackend::TrackStateProxy MutableTrackStateProxy
TrkMeasurementCalibrator m_measCalibrator
xAODUncalibMeasCalibrator m_xAODCalibrator
void connect(const xAOD::UncalibMeasType type, const Type *instance)
Register a calibrator implementation instance for a given measurement type.
const Acts::Surface * operator()(const Acts::SourceLink &sourceLink) const
Operator called by the Acts API to fetch the surface.
RefittingSurfaceAccesor(const IActsToTrkConverterTool *trkConvTool, const ActsTrk::ITrackingGeometryTool *trackGeoTool)
Helper class to access the Acts::Surface for a given Acts::SourceLink which is poiniting to a Trk::Me...
Calibrator class that links the legacy Trk::MeasurementBase objects with the Acts MultiTrajectory tra...
Class to calibrate the Acts track states with uncalibrated Trk::PrepRaw data objects.
Helper class to access the Acts::surface associated with a Trk::PrepRawData measurement.
Source link calibrator implementation for xAOD::Uncalibrated measurements.
Helper class to access the Acts::surface associated with an Uncalibrated xAOD measurement.
Interface class for transforming Trk::PrepRawData to Trk::RIO_OnTrack using a local track hypothesis.
Hash functions to pack the source link into unordered_maps / unordered_sets.
UncalibMeasType
Define the type of the uncalibrated measurement.