49c5e27511d1b0efb531b485ccfdd08a43cad5c5
[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 TClonesArray;
7 class TObjArray;
8 class TH2F;
9 class TH1F;
10 class AliL3Transform;
11 class AliL3TrackArray;
12 class AliL3HoughTransformer;
13
14 class AliL3HoughEval : public TObject {
15   
16  private:
17   
18   AliL3HoughTransformer *fHoughTransformer;
19   AliL3Transform *fTransform; //!
20   Int_t fNumOfPadsToLook;
21   Int_t fNumOfRowsToMiss;
22   Int_t *fMcTrackTable;
23   
24  public:
25   AliL3HoughEval(); 
26   AliL3HoughEval(AliL3HoughTransformer *transformer);
27   virtual ~AliL3HoughEval();
28
29   void DefineGoodParticles(Char_t *rootfile,Double_t pet);
30   Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t eta_index,Bool_t remove=(Bool_t)kFALSE);
31   void LookInsideRawRoad(AliL3TrackArray *tracks,Int_t eta_index,Bool_t remove=(Bool_t)kFALSE);
32   void RemoveTrackFromImage(AliL3HoughTrack *track,Int_t eta_index);
33
34   void DisplaySlice(TH2F *hist);
35   void CompareMC(Char_t *rootfile,AliL3TrackArray *merged_tracks,Float_t *eta);
36   Int_t *GetMcTrackTable() {return fMcTrackTable;}
37   
38   void SetNumOfPadsToLook(Int_t f) {fNumOfPadsToLook = f;}
39   void SetNumOfRowsToMiss(Int_t f) {fNumOfRowsToMiss = f;}
40   void SetTransformer(AliL3HoughTransformer *t) {fHoughTransformer=t;}
41   
42
43
44   ClassDef(AliL3HoughEval,1)
45
46 };
47
48 #endif