]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HoughEval.h
Some changes in AliL3Hough::Evaluate. Comments have been added in the code.
[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
237d3f5c 7class AliL3HoughBaseTransformer;
99e7186b 8class AliL3HoughTrack;
9class AliL3DigitRowData;
10class AliL3Histogram;
b46b21a5 11class AliL3Histogram1D;
162e2e5a 12
95a00d93 13class AliL3HoughEval {
4de874d1 14
15 private:
99e7186b 16
17 Int_t fSlice;
18 Int_t fPatch;
19 Int_t fNrows;
20 Int_t fNEtaSegments;
21 Double_t fEtaMin;
22 Double_t fEtaMax;
f80b98cb 23 Int_t fNumOfPadsToLook;
24 Int_t fNumOfRowsToMiss;
b46b21a5 25 AliL3Histogram1D **fEtaHistos; //!
26
99e7186b 27 //Flags
28 Bool_t fRemoveFoundTracks;
29
237d3f5c 30 AliL3HoughBaseTransformer *fHoughTransformer; //!
99e7186b 31 AliL3DigitRowData **fRowPointers; //!
f80b98cb 32
4de874d1 33 public:
34 AliL3HoughEval();
4de874d1 35 virtual ~AliL3HoughEval();
4de874d1 36
237d3f5c 37 void InitTransformer(AliL3HoughBaseTransformer *transformer);
99e7186b 38 void GenerateLUT();
39 void DisplayEtaSlice(Int_t eta_index,AliL3Histogram *hist);
0309a5ee 40 Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t &nrows_crossed,Bool_t remove=kFALSE);
95a00d93 41#ifdef use_root
b1886074 42 void CompareMC(AliL3TrackArray *tracks,Char_t *goodtracks="good_tracks",Int_t treshold=0);
95a00d93 43#endif
b46b21a5 44 void FindEta(AliL3TrackArray *tracks);
99e7186b 45
b46b21a5 46 //Getters
47 AliL3Histogram1D *GetEtaHisto(Int_t i) {if(!fEtaHistos) return 0; if(!fEtaHistos[i]) return 0; return fEtaHistos[i];}
48
99e7186b 49 //Setters:
50 void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;}
4fc9a6a4 51 void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;}
52 void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;}
53
b1886074 54 ClassDef(AliL3HoughEval,1) //Hough transform verfication class
4de874d1 55
56};
57
58#endif