1 #ifndef StiKalmanTrackFinder_H_INCLUDED
4 #define StiKalmanTrackFinder_H_INCLUDED
5 #include "Sti/StiTrackFinder.h"
6 #include "Sti/Base/Named.h"
7 #include "Sti/Base/Described.h"
13 class StiKalmanTrackFactory;
19 template<
class Factorized>
class Factory;
36 void addSeedFinder(
StiTrackFinder* sf) {_seedFinders.push_back(sf);}
50 void extendTracks(
double rMin);
53 void extendTracksToVertices(
const std::vector<StiHit*> &vertices);
56 int getNPrims()
const {
return _nPrimTracks;}
59 virtual void unset(){}
64 virtual void finish()
const;
68 static void setDebug(
int m = 0) {_debug = m;}
69 static int debug() {
return _debug;}
101 std::vector<StiTrackFinder*> _seedFinders;
108 TStopwatch *mTimg[3];
virtual void initialize()
Initialize the finder.
virtual void findTracks()
Find all tracks of the currently loaded event.
Definition of Kalman Track.
void extendSeeds(double rMin)
Extend seeds to tracks.
bool find(StiTrack *track, int direction, double rmin=0)
Find/extend the given track, in the given direction.
Abstract definition of a Track.
virtual StiTrack * findTrack(double rMin=0)
Find the next track.
virtual Filter< StiTrack > * getTrackFilter()
Get the track filter currently used by the tracker.
virtual void reset()
Reset the tracker.
int getNTracks() const
get number of tracks
int extendTrack(StiKalmanTrack *track, double rMin)
Extend track.
virtual void finish() const
Finish the tracker.
void setTiming()
Set timing of tracking.
virtual void clear()
Clear the tracker.
An abstract class defining the interface to the track finder.