10 return std::holds_alternative<const Trk::MeasurementBase*>(meas) ?
11 std::get<const Trk::MeasurementBase*>(meas) :
nullptr;
std::variant< std::monostate, const xAOD::UncalibratedMeasurement *, const Trk::PrepRawData *, const Trk::MeasurementBase * > SourceLink_t
Encode the source links supported by the Calibrator class as a variant of the measurement class 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?)
Hash functions to pack the source link into unordered_maps / unordered_sets.