StRoot
1
|
#include <StiKalmanTrackFinder.h>
Classes | |
class | QAFind |
Public Types | |
enum | TFitStatus { kNoErrors = 0, kApproxFail, kFitFail, kExtendFail, kCheckFail } |
enum | TExtendStatus { kExtended, kNotExtended, kNotRefitedIn, kNotRefitedOut } |
Public Member Functions | |
StiKalmanTrackFinder (StiToolkit *toolkit) | |
void | addSeedFinder (StiTrackFinder *sf) |
virtual void | initialize () |
Initialize the finder. | |
void | setTiming () |
Set timing of tracking. | |
virtual void | findTracks () |
Find all tracks of the currently loaded event. More... | |
bool | find (StiTrack *track, int direction, double rmin=0) |
Find/extend the given track, in the given direction. | |
virtual StiTrack * | findTrack (double rMin=0) |
Find the next track. | |
void | extendSeeds (double rMin) |
Extend seeds to tracks. | |
void | extendTracks (double rMin) |
int | extendTrack (StiKalmanTrack *track, double rMin) |
Extend track. | |
void | extendTracksToVertices (const std::vector< StiHit * > &vertices) |
int | getNTracks () const |
get number of tracks | |
int | getNPrims () const |
virtual void | reset () |
Reset the tracker. More... | |
virtual void | unset () |
virtual void | clear () |
Clear the tracker. More... | |
virtual void | finish () const |
Finish the tracker. | |
virtual Int_t | Fit (StiKalmanTrack *track, Double_t rMin=0) |
virtual Filter< StiTrack > * | getTrackFilter () |
Get the track filter currently used by the tracker. | |
Public Member Functions inherited from StiTrackFinder | |
virtual void | startEvent () |
Trigger class about new event. | |
void | setComb (int comb=7) |
Set the vertex finder used by this tracker. | |
int | useComb () const |
virtual void | FeedBack (int badGood) |
Public Member Functions inherited from Named | |
void | setName (const string &newName) |
Set the name of the object. | |
const string & | getName () const |
Get the name of the object. | |
bool | isName (const string &aName) const |
Determine whether name equals given name. | |
Static Public Member Functions | |
static void | setDebug (int m=0) |
static int | debug () |
Protected Member Functions | |
void | printState () |
Protected Member Functions inherited from Named | |
Named (const string &aName=" ") | |
Only derived class are Named. | |
Protected Attributes | |
StiToolkit * | _toolkit |
Filter< StiTrack > * | _trackFilter |
Factory< StiKalmanTrackNode > * | _trackNodeFactory |
StiDetectorContainer * | _detectorContainer |
StiHitContainer * | _hitContainer |
StiTrackContainer * | _trackContainer |
std::vector< StiTrackFinder * > | _seedFinders |
int | _nPrimTracks |
int | mEventPerm |
Protected Attributes inherited from StiTrackFinder | |
int | mComb |
Protected Attributes inherited from Named | |
string | _name |
Definition at line 31 of file StiKalmanTrackFinder.h.
|
virtual |
Clear the tracker.
Reset the state of the finder to "no event loaded"
A reset or clear command is used to all components this tracker depends on. This include the hitContainer, the detector container, the hit, track, track node, mc track factories, the track containers, and the seed finder.
Reimplemented from StiTrackFinder.
Definition at line 133 of file StiKalmanTrackFinder.cxx.
References StiHitContainer::clear().
Referenced by StiMaker::Make().
|
virtual |
Find all tracks of the currently loaded event.
Find all tracks associated with the current event.
Algorithm: In a while loop, obtain track seeds from current track seed finder and proceed to extend it through the detector.
Found tracks are added to the track container if no track filter is set or if they satisfy the track filter requirements.
Reimplemented from StiTrackFinder.
Definition at line 153 of file StiKalmanTrackFinder.cxx.
References extendSeeds().
|
virtual |
Reset the tracker.
Reset the state of the finder to "event not tracked"
The track factory, the track container are reset. This method is distinct from the "clear" method which reset the state to "event not loaded".
Reimplemented from StiTrackFinder.
Definition at line 112 of file StiKalmanTrackFinder.cxx.
References BFactory::reset(), and StiDetectorContainer::reset().