8#include <tracking/ckf/general/findlets/TrackFitterAndDeleter.h>
9#include <tracking/trackFindingCDC/utilities/Algorithms.h>
10#include <tracking/trackFitting/fitter/base/TrackFitter.h>
11#include <tracking/dataobjects/RecoTrack.h>
19 trackFitter.
fit(*recoTrack);
23 const auto trackWasNotFitted = [](
RecoTrack * recoTrack) {
24 return not recoTrack->wasFitSuccessful();
26 TrackFindingCDC::erase_remove_if(recoTracks, trackWasNotFitted);
This is the Reconstruction Event-Data Model Track.
void apply(std::vector< RecoTrack * > &recoTracks) override
Fit the tracks and remove unfittable ones.
Algorithm class to handle the fitting of RecoTrack objects.
bool fit(RecoTrack &recoTrack, genfit::AbsTrackRep *trackRepresentation, bool resortHits=false) const
Fit a reco track with a given non-default track representation.
Abstract base class for different kinds of events.