ATLAS Offline Software
Loading...
Searching...
No Matches
TrkMeasurementCalibrator.cxx
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4*/
6
7namespace ActsTrk::detail {
9 return Acts::SourceLink{meas};
10 }
11 const Trk::MeasurementBase* TrkMeasurementCalibrator::unpack(const Acts::SourceLink& sl) {
12 SourceLink_t meas = sl.template get<SourceLink_t>();
13 assert(meas != nullptr);
14 return meas;
15 }
16}
static Acts::SourceLink pack(const Trk::MeasurementBase *meas)
Packs the pointer to the track measurement into an Acts::SouceLink.
const Trk::MeasurementBase * SourceLink_t
Abbrivation of the underlying source link type.
static const Trk::MeasurementBase * unpack(const Acts::SourceLink &sl)
Unpacks the Acts::SourceLink to a Trk measurement.
This class is the pure abstract base class for all fittable tracking measurements.
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.