3 #ifndef ALIL3HOUGHEVAL_H
4 #define ALIL3HOUGHEVAL_H
6 #include "AliL3RootTypes.h"
9 class AliL3HoughBaseTransformer;
10 class AliL3HoughTrack;
11 class AliL3DigitRowData;
13 class AliL3Histogram1D;
15 class AliL3HoughEval {
19 virtual ~AliL3HoughEval();
21 void InitTransformer(AliL3HoughBaseTransformer *transformer);
23 void DisplayEtaSlice(Int_t etaindex,AliL3Histogram *hist);
24 Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t &nrowscrossed,Int_t *rowrange,Bool_t remove=kFALSE);
26 void CompareMC(AliL3TrackArray *tracks,Char_t *goodtracks="good_tracks",Int_t treshold=0);
28 void FindEta(AliL3TrackArray *tracks);
31 AliL3Histogram1D *GetEtaHisto(Int_t i) {if(!fEtaHistos) return 0; if(!fEtaHistos[i]) return 0; return fEtaHistos[i];}
34 void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;}
35 void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;}
36 void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;}
37 void SetSlice(Int_t i) {fSlice=i;}
38 void SetZVertex(Float_t zvertex) {fZVertex=zvertex;}
42 Int_t fSlice;//Index of the slice being processed
43 Int_t fPatch;//Index of the patch being processed
44 Int_t fNrows;//Number of padrows inside the patch
45 Int_t fNEtaSegments;//Number of eta slices
46 Double_t fEtaMin;//Minimum allowed eta
47 Double_t fEtaMax;//Maximum allowed eta
48 Int_t fNumOfPadsToLook;//Padrow search window
49 Int_t fNumOfRowsToMiss;//Maximum numbers of padrow which could be missed
50 AliL3Histogram1D **fEtaHistos; //!
51 Float_t fZVertex;//Z position of the primary vertex
54 Bool_t fRemoveFoundTracks;//Remove the found tracks or not?
56 AliL3HoughBaseTransformer *fHoughTransformer; //!
57 AliL3DigitRowData **fRowPointers; //!
59 ClassDef(AliL3HoughEval,1) //Hough transform verfication class