]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
c62b480b | 3 | #ifndef ALIL3HOUGHEVAL_H |
4 | #define ALIL3HOUGHEVAL_H | |
4de874d1 | 5 | |
6 | #include "AliL3RootTypes.h" | |
7 | ||
2061190a | 8 | class AliL3TrackArray; |
237d3f5c | 9 | class AliL3HoughBaseTransformer; |
99e7186b | 10 | class AliL3HoughTrack; |
11 | class AliL3DigitRowData; | |
12 | class AliL3Histogram; | |
b46b21a5 | 13 | class AliL3Histogram1D; |
162e2e5a | 14 | |
95a00d93 | 15 | class AliL3HoughEval { |
4de874d1 | 16 | |
4de874d1 | 17 | public: |
18 | AliL3HoughEval(); | |
4de874d1 | 19 | virtual ~AliL3HoughEval(); |
4de874d1 | 20 | |
237d3f5c | 21 | void InitTransformer(AliL3HoughBaseTransformer *transformer); |
99e7186b | 22 | void GenerateLUT(); |
c62b480b | 23 | void DisplayEtaSlice(Int_t etaindex,AliL3Histogram *hist); |
24 | Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t &nrowscrossed,Int_t *rowrange,Bool_t remove=kFALSE); | |
95a00d93 | 25 | #ifdef use_root |
b1886074 | 26 | void CompareMC(AliL3TrackArray *tracks,Char_t *goodtracks="good_tracks",Int_t treshold=0); |
95a00d93 | 27 | #endif |
b46b21a5 | 28 | void FindEta(AliL3TrackArray *tracks); |
99e7186b | 29 | |
b46b21a5 | 30 | //Getters |
31 | AliL3Histogram1D *GetEtaHisto(Int_t i) {if(!fEtaHistos) return 0; if(!fEtaHistos[i]) return 0; return fEtaHistos[i];} | |
32 | ||
99e7186b | 33 | //Setters: |
34 | void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;} | |
4fc9a6a4 | 35 | void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;} |
36 | void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;} | |
3e87ef69 | 37 | void SetSlice(Int_t i) {fSlice=i;} |
0bd0c1ef | 38 | void SetZVertex(Float_t zvertex) {fZVertex=zvertex;} |
4fc9a6a4 | 39 | |
c62b480b | 40 | private: |
41 | ||
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 | |
52 | ||
53 | //Flags | |
54 | Bool_t fRemoveFoundTracks;//Remove the found tracks or not? | |
55 | ||
56 | AliL3HoughBaseTransformer *fHoughTransformer; //! | |
57 | AliL3DigitRowData **fRowPointers; //! | |
58 | ||
b1886074 | 59 | ClassDef(AliL3HoughEval,1) //Hough transform verfication class |
4de874d1 | 60 | |
61 | }; | |
62 | ||
63 | #endif |