StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiCATpcSeedFinder.h
1 #ifndef __StiCATpcSeedFinder_h__
2 #define __StiCATpcSeedFinder_h__
3 #include "Sti/StiHitContainer.h"
4 #include "Sti/StiTrackFinder.h"
5 
6 class StiTrack;
8 
9 struct SeedHit_t {
10 #if 0
11  Int_t mMinPad, mMaxPad, mMinTmbk, mMaxTmbk;
12 #endif
13  Int_t padrow, status, taken, track_key ; //"m" for modified
14  Double_t x,y,z;
15  StiHit *hit;
16 };
17 class Seed_t {
18  public:
19  vector<SeedHit_t *> vhit;
20  Int_t total_hits;
21  StiNodePars firstNodePars;
22  StiNodePars lastNodePars;
23  StiNodeErrs firstNodeErrs;
24  StiNodeErrs lastNodeErrs;
25  virtual void Print(Option_t *option="") const {
26  firstNodePars.print();
27  firstNodeErrs.print();
28  lastNodePars.print();
29  lastNodeErrs.print();
30  }
31 };
33 {
34  public:
35  StiCATpcSeedFinder(){mSeeds=0;mEnded=0;setName("CASeedFinder");}
36  virtual void startEvent(){mEnded=0;};
37  virtual StiTrack *findTrack(double rMin=0);
38  static Bool_t SeedsCompareStatus(const Seed_t a, const Seed_t b);
39 //?? static void findTpcTracks(StiCATpcTrackerInterface &caTrackerInt);
40  protected:
41  int mEnded;
42  std::vector<Seed_t> *mSeeds;
43 };
44 
45 #endif
virtual StiTrack * findTrack(double rMin=0)
Find the next track.
Abstract definition of a Track.
Definition: StiTrack.h:59
Definition: StiHit.h:51
virtual void startEvent()
Trigger class about new event.
An abstract class defining the interface to the track finder.
void setName(const string &newName)
Set the name of the object.
Definition: Named.cxx:15