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 <typename trajectory_t>
35 void calibrate(const Acts::GeometryContext &gctx,
36 const Acts::CalibrationContext & cctx,
37 const Acts::SourceLink& sl,
38 TrackState_t<trajectory_t> trackState) const;
47 template <typename trackstate_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 trackstate_t& trackState) const;
56 static SourceLink_t unpack(const Acts::SourceLink& sl);
59 static Acts::SourceLink pack(const SourceLink_t prd);
60 private:
66 };
67}
69#endif
Conversion tool interface to translate surfaces & track parameters between the Acts & Trk realm.
typename Acts::MultiTrajectory< trajectory_t >::TrackStateProxy TrackState_t
Abbrivation of the track state proxy type.
Calibrator class that links the legacy Trk::MeasurementBase objects with the Acts MultiTrajectory tra...
static SourceLink_t 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.
static Acts::SourceLink pack(const SourceLink_t prd)
Pack the PrepRaw data measurement into a source link.
const Trk::PrepRawData * SourceLink_t
abrivation of the underlying source link type
void calibrate(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, TrackState_t< trajectory_t > trackState) const
Calibrator delegate implementation to calibrate the ActsTrk fit from Trk::PrepRawData objects.
const Trk::IRIO_OnTrackCreator * m_rotCreator
ROT creator.
std::unique_ptr< Trk::RIO_OnTrack > createROT(const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, const trackstate_t &trackState) const
Create a Track Raw Input object (ROT) from the source link to the PRD measurement and the predicted t...
const ActsTrk::IActsToTrkConverterTool * m_convTool
Pointer to the track conversion tool.
Interface class for transforming Trk::PrepRawData to Trk::RIO_OnTrack using a local track hypothesis.
Athena definition of the Eigen plugin.