14 return std::holds_alternative<const Trk::PrepRawData*>(prd) ?
15 std::get<const Trk::PrepRawData*>(prd) :
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 ...
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.
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?)
Hash functions to pack the source link into unordered_maps / unordered_sets.