StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StiKalmanTrackFinder Class Reference

#include <StiKalmanTrackFinder.h>

Inheritance diagram for StiKalmanTrackFinder:
StiTrackFinder Named

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 StiTrackfindTrack (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
 

Detailed Description

Author
Claude Pruneau, Wayne State University
Date
March 2001
Note
The Kalman Filter Code imbedded in this class was given to us gracioulsy by Jouri Belikov from the ALICE collaboration. i.e. code reproduced with autorization.

Definition at line 31 of file StiKalmanTrackFinder.h.

Member Function Documentation

void StiKalmanTrackFinder::clear ( void  )
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().

void StiKalmanTrackFinder::findTracks ( )
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().

void StiKalmanTrackFinder::reset ( void  )
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().


The documentation for this class was generated from the following files: