StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiTrackFinderFilter.h
1 #ifndef StiTrackFinderFilter_H_INCLUDED
2 #define StiTrackFinderFilter_H_INCLUDED
3 #include <string>
4 #include "StiTrack.h"
5 #include "Base/Filter.h"
7 class StiTrackFinderFilter : public Filter<StiTrack>
8 {
9  public:
11  StiTrackFinderFilter(const string & name, const string & description);
12  virtual ~StiTrackFinderFilter();
13  bool accept(const StiTrack *filtered) const;
14  virtual void initialize();
15  virtual void setDefaults();
16 
17  typedef enum{ // type of return value for the fit() procedure
18  kNoErrors = 0,
19  kNoEnoughValidHits,
20  kNoEnoughFittedValidHits,
21  kWeird
22  } TAcceptStatus;
23 
24  protected:
25  int _minPtsCount;
26  int _minFitPtsCount;
27  float _minFitToPtsRatio;
28 
29 };
30 
31 #endif
Abstract definition of a Track.
Definition: StiTrack.h:59