New version of SPD raw-data reconstruction. The format now correponds to the actual...
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughIntMerger.h
1 // @(#) $Id$
2
3 #ifndef ALIL3HOUGHINTMERGER_H
4 #define ALIL3HOUGHINTMERGER_H
5
6 #include "AliL3Merger.h"
7
8 class AliL3HoughTrack;
9 class AliL3Track;
10 class AliL3TrackArray;
11
12 class AliL3HoughIntMerger : public AliL3Merger {
13  
14  public:
15   AliL3HoughIntMerger();
16   virtual ~AliL3HoughIntMerger();
17
18   
19   AliL3Track *MultiMerge(AliL3TrackArray *mergedtrack,AliL3Track **tracks, Int_t ntrack);
20   Bool_t IsTrack(AliL3Track *innertrack,AliL3Track *outertrack);
21   void FillTracks(AliL3TrackArray *tracks);
22   void Init(Int_t *row,Int_t p){fRowMin=row[0];fRowMax=row[1];fPatch=p;}
23   Int_t Merge();
24   void MMerge();  //Loop over tracks from different subsectors
25   void SetParameters(Double_t maxkappa=0.001, Double_t maxpsi=0.05, Double_t maxtgl=0.1);
26   void SortTracks(AliL3Track **tracks, Int_t ntrack) const;
27   void Print(AliL3Track **tracks);
28
29  private:
30   Int_t fPatch;//Index of the current patch
31   Int_t fRowMin;//First padrow inside the patch
32   Int_t fRowMax;//Last padrow inside the patch
33   Double_t fMaxKappa;//Maximum track curvature
34   Double_t fMaxPhi0;//Maximum phi0??
35   Double_t fMaxTgl;//??
36
37   ClassDef(AliL3HoughIntMerger,1) 
38 };
39
40 #endif