Simplify TrackFindingAlg
Follow-up to !64606 (merged) to simplify the TrackFindingAlg
.
- separate
DuplicateSeedDetector
fromTrackFindingMeasurements
(renamed fromMeasurements
). -
TrackFindingMeasurements
can now be forward-declared as a simple class inTrackFindingAlg.h
. No (virtual) inheritance needed. - construct
TrackFindingMeasurements
andDuplicateSeedDetector
directly inTrackFindingAlg::execute
as stack variables. No need forTrackFindingAlg::initMeasurements
andunique_ptr
. - don't keep
sourceLinkVec
unless needed byTrackStatePrinter
inTrackFindingMeasurements::addMeasurements
. - better way to enable tools from @cvarni.
-
ATLASUncalibSourceLinkElementsName
now has to be enabled. Otherwise, downstream, this would cause deallocated memory accesses to the source links. - Check for errors with
WriteHandle::isValid()
.