Rewriting and cleaning up
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughEval.h
1 #ifndef ALIL3_HOUGH_Eval
2 #define ALIL3_HOUGH_Eval
3
4 #include "AliL3RootTypes.h"
5
6 class AliL3HoughTransformer;
7 class AliL3Transform;
8 class AliL3HoughTrack;
9 class AliL3DigitRowData;
10 class AliL3Histogram;
11
12 class AliL3HoughEval : public TObject {
13   
14  private:
15
16   Int_t fSlice;
17   Int_t fPatch;
18   Int_t fNrows;
19   Int_t fNEtaSegments;
20   Double_t fEtaMin;
21   Double_t fEtaMax;
22   Int_t fNumOfPadsToLook;
23   Int_t fNumOfRowsToMiss;
24   
25   //Flags
26   Bool_t fRemoveFoundTracks;
27   
28   AliL3Transform *fTransform; //!
29   AliL3HoughTransformer *fHoughTransformer; //!
30   AliL3DigitRowData **fRowPointers; //!
31   
32  public:
33   AliL3HoughEval(); 
34   AliL3HoughEval(AliL3HoughTransformer *transform);
35   virtual ~AliL3HoughEval();
36   
37   void GenerateLUT();
38   void DisplayEtaSlice(Int_t eta_index,AliL3Histogram *hist);
39   Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t eta_index,Bool_t remove=kFALSE);
40   
41   //Setters:
42   void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;}
43   void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;}
44   void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;}
45
46   ClassDef(AliL3HoughEval,1)
47
48 };
49
50 #endif