ATLAS Offline Software
Loading...
Searching...
No Matches
TrkPrepRawDataCalibrator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSCALIBRATION_DETAIL_PREPRAWDATACALIBRATOR_H
5#define ACTSCALIBRATION_DETAIL_PREPRAWDATACALIBRATOR_H
6
12
13#include <memory>
14namespace ActsTrk::detail {
18 public:
19
27 const Trk::IRIO_OnTrackCreator* rotCreator);
34 template <Acts::TrackStateProxyConcept proxy_t>
35 void calibrate(const Acts::GeometryContext &gctx,
36 const Acts::CalibrationContext & cctx,
37 const Acts::SourceLink& sl,
38 proxy_t trackState) const;
47 template <Acts::TrackStateProxyConcept proxy_t>
48 std::unique_ptr<Trk::RIO_OnTrack> createROT(const Acts::GeometryContext &gctx,
49 const Acts::CalibrationContext & cctx,
50 const Acts::SourceLink& sl,
51 const proxy_t& trackState) const;
54 static const Trk::PrepRawData* unpack(const Acts::SourceLink& sl);
55 private:
61 };
62}
64#endif
Interface for the conversion tool to translate the surface and track parameter objects between the Ac...
Calibrator class that links the legacy Trk::MeasurementBase objects with the Acts MultiTrajectory tra...
std::unique_ptr< Trk::RIO_OnTrack > createROT(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, const proxy_t &trackState) const
Create a Track Raw Input object (ROT) from the source link to the PRD measurement and the predicted t...
const ActsTrk::IGeometryRealmConvTool * m_convTool
Pointer to the track conversion tool.
static const Trk::PrepRawData * unpack(const Acts::SourceLink &sl)
Unpack the prepraw data measurement from the source link.
TrkPrepRawDataCalibrator()=default
Empty constructor not configuring any tool -> crash if not later overwritten.
const Trk::IRIO_OnTrackCreator * m_rotCreator
ROT creator.
void calibrate(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, proxy_t trackState) const
Calibrator delegate implementation to calibrate the ActsTrk fit from Trk::PrepRawData objects.
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.