eed6153081d37503f4aba628986ae43c45ee39ab
[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
7 class AliL3HoughTransformer;
8 class AliL3Transform;
9 class AliL3HoughTrack;
10 class AliL3DigitRowData;
11 class AliL3Histogram;
12
13
14 class AliL3HoughEval : public TObject {
15   
16  private:
17
18   Int_t fSlice;
19   Int_t fPatch;
20   Int_t fNrows;
21   Int_t fNEtaSegments;
22   Double_t fEtaMin;
23   Double_t fEtaMax;
24   Int_t fNumOfPadsToLook;
25   Int_t fNumOfRowsToMiss;
26   
27   //Flags
28   Bool_t fRemoveFoundTracks;
29   
30   AliL3Transform *fTransform; //!
31   AliL3HoughTransformer *fHoughTransformer; //!
32   AliL3DigitRowData **fRowPointers; //!
33   
34  public:
35   AliL3HoughEval(); 
36   AliL3HoughEval(AliL3HoughTransformer *transform);
37   virtual ~AliL3HoughEval();
38   
39   void GenerateLUT();
40   void DisplayEtaSlice(Int_t eta_index,AliL3Histogram *hist);
41   Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t eta_index,Bool_t remove=kFALSE);
42   void CompareMC(AliL3TrackArray *tracks,Char_t *goodtracks="good_tracks");
43   
44   //Setters:
45   void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;}
46   void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;}
47   void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;}
48
49   ClassDef(AliL3HoughEval,1)
50
51 };
52
53 #endif