]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIL3_HOUGH_Eval | |
2 | #define ALIL3_HOUGH_Eval | |
3 | ||
4 | #include "AliL3RootTypes.h" | |
5 | ||
6 | ||
7 | class AliL3HoughBaseTransformer; | |
8 | class AliL3HoughTrack; | |
9 | class AliL3DigitRowData; | |
10 | class AliL3Histogram; | |
11 | class AliL3Histogram1D; | |
12 | ||
13 | class AliL3HoughEval { | |
14 | ||
15 | private: | |
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; | |
23 | Int_t fNumOfPadsToLook; | |
24 | Int_t fNumOfRowsToMiss; | |
25 | AliL3Histogram1D **fEtaHistos; //! | |
26 | ||
27 | //Flags | |
28 | Bool_t fRemoveFoundTracks; | |
29 | ||
30 | AliL3HoughBaseTransformer *fHoughTransformer; //! | |
31 | AliL3DigitRowData **fRowPointers; //! | |
32 | ||
33 | public: | |
34 | AliL3HoughEval(); | |
35 | virtual ~AliL3HoughEval(); | |
36 | ||
37 | void InitTransformer(AliL3HoughBaseTransformer *transformer); | |
38 | void GenerateLUT(); | |
39 | void DisplayEtaSlice(Int_t eta_index,AliL3Histogram *hist); | |
40 | Bool_t LookInsideRoad(AliL3HoughTrack *track,Int_t &nrows_crossed,Bool_t remove=kFALSE); | |
41 | #ifdef use_root | |
42 | void CompareMC(AliL3TrackArray *tracks,Char_t *goodtracks="good_tracks",Int_t treshold=0); | |
43 | #endif | |
44 | void FindEta(AliL3TrackArray *tracks); | |
45 | ||
46 | //Getters | |
47 | AliL3Histogram1D *GetEtaHisto(Int_t i) {if(!fEtaHistos) return 0; if(!fEtaHistos[i]) return 0; return fEtaHistos[i];} | |
48 | ||
49 | //Setters: | |
50 | void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;} | |
51 | void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;} | |
52 | void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;} | |
53 | ||
54 | ClassDef(AliL3HoughEval,1) //Hough transform verfication class | |
55 | ||
56 | }; | |
57 | ||
58 | #endif |