]>
Commit | Line | Data |
---|---|---|
4de874d1 | 1 | #ifndef ALIL3_HOUGH_Eval |
2 | #define ALIL3_HOUGH_Eval | |
3 | ||
4 | #include "AliL3RootTypes.h" | |
5 | ||
2061190a | 6 | class AliL3TrackArray; |
237d3f5c | 7 | class AliL3HoughBaseTransformer; |
99e7186b | 8 | class AliL3HoughTrack; |
9 | class AliL3DigitRowData; | |
10 | class AliL3Histogram; | |
b46b21a5 | 11 | class AliL3Histogram1D; |
162e2e5a | 12 | |
95a00d93 | 13 | class 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 |