Added function CompareMC
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughEval.h
CommitLineData
4de874d1 1#ifndef ALIL3_HOUGH_Eval
2#define ALIL3_HOUGH_Eval
3
4#include "AliL3RootTypes.h"
5
162e2e5a 6
4de874d1 7class AliL3HoughTransformer;
99e7186b 8class AliL3Transform;
9class AliL3HoughTrack;
10class AliL3DigitRowData;
11class AliL3Histogram;
4de874d1 12
162e2e5a 13
4de874d1 14class AliL3HoughEval : public TObject {
15
16 private:
99e7186b 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;
f80b98cb 24 Int_t fNumOfPadsToLook;
25 Int_t fNumOfRowsToMiss;
99e7186b 26
27 //Flags
28 Bool_t fRemoveFoundTracks;
29
30 AliL3Transform *fTransform; //!
31 AliL3HoughTransformer *fHoughTransformer; //!
32 AliL3DigitRowData **fRowPointers; //!
f80b98cb 33
4de874d1 34 public:
35 AliL3HoughEval();
99e7186b 36 AliL3HoughEval(AliL3HoughTransformer *transform);
4de874d1 37 virtual ~AliL3HoughEval();
4de874d1 38
99e7186b 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);
162e2e5a 42 void CompareMC(AliL3TrackArray *tracks,Char_t *goodtracks="good_tracks");
99e7186b 43
44 //Setters:
45 void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;}
4fc9a6a4 46 void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;}
47 void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;}
48
4de874d1 49 ClassDef(AliL3HoughEval,1)
50
51};
52
53#endif