ATLAS Offline Software
Loading...
Searching...
No Matches
TrkPrepRawDataCalibrator.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
5
6namespace ActsTrk::detail {
10
12 TrkPrepRawDataCalibrator::unpack(const Acts::SourceLink& sl) {
13 SourceLink_t prd = sl.template get<SourceLink_t>();
14 assert(prd != nullptr);
15 return prd;
16 }
17 Acts::SourceLink TrkPrepRawDataCalibrator::pack(const SourceLink_t prd) {
18 return Acts::SourceLink{prd};
19 }
20}
Conversion tool interface to translate surfaces & track parameters between the Acts & Trk realm.
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
const Trk::IRIO_OnTrackCreator * m_rotCreator
ROT creator.
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.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:130
Athena definition of the Eigen plugin.