]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking/AliHLTTPCHoughEval.h
make hough tracking code compiling
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking / AliHLTTPCHoughEval.h
1 // @(#) $Id$
2 // origin: hough/AliL3HoughEval.h,v 1.17 Thu Jun 17 10:36:14 2004 UTC by cvetan
3
4 #ifndef ALIHLTTPCHOUGHEVAL_H
5 #define ALIHLTTPCHOUGHEVAL_H
6
7 #include "AliHLTTPCRootTypes.h"
8
9 class AliHLTTPCTrackArray;
10 class AliHLTTPCHoughTransformer;
11 class AliHLTTPCHoughTrack;
12 class AliHLTTPCDigitRowData;
13 class AliHLTTPCHistogram;
14 class AliHLTTPCHistogram1D;
15
16 class AliHLTTPCHoughEval {
17   
18  public:
19   AliHLTTPCHoughEval(); 
20   virtual ~AliHLTTPCHoughEval();
21   
22   void InitTransformer(AliHLTTPCHoughTransformer *transformer);
23   void GenerateLUT();
24   void DisplayEtaSlice(Int_t etaindex,AliHLTTPCHistogram *hist);
25   Bool_t LookInsideRoad(AliHLTTPCHoughTrack *track,Int_t &nrowscrossed,Int_t *rowrange,Bool_t remove=kFALSE);
26   void CompareMC(AliHLTTPCTrackArray *tracks,Char_t *goodtracks="good_tracks",Int_t treshold=0);
27   void FindEta(AliHLTTPCTrackArray *tracks);
28   
29   //Getters
30   AliHLTTPCHistogram1D *GetEtaHisto(Int_t i) {if(!fEtaHistos) return 0; if(!fEtaHistos[i]) return 0; return fEtaHistos[i];}
31
32   //Setters:
33   void RemoveFoundTracks() {fRemoveFoundTracks = kTRUE;}
34   void SetNumOfRowsToMiss(Int_t i) {fNumOfRowsToMiss = i;}
35   void SetNumOfPadsToLook(Int_t i) {fNumOfPadsToLook = i;}
36   void SetSlice(Int_t i) {fSlice=i;}
37   void SetZVertex(Float_t zvertex) {fZVertex=zvertex;}
38
39  private:
40
41   Int_t fSlice;//Index of the slice being processed
42   Int_t fPatch;//Index of the patch being processed
43   Int_t fNrows;//Number of padrows inside the patch
44   Int_t fNEtaSegments;//Number of eta slices
45   Double_t fEtaMin;//Minimum allowed eta
46   Double_t fEtaMax;//Maximum allowed eta
47   Int_t fNumOfPadsToLook;//Padrow search window
48   Int_t fNumOfRowsToMiss;//Maximum numbers of padrow which could be missed
49   AliHLTTPCHistogram1D **fEtaHistos; //!
50   Float_t fZVertex;//Z position of the primary vertex
51
52   //Flags
53   Bool_t fRemoveFoundTracks;//Remove the found tracks or not?
54   
55   AliHLTTPCHoughTransformer *fHoughTransformer; //!
56   AliHLTTPCDigitRowData **fRowPointers; //!
57   
58   ClassDef(AliHLTTPCHoughEval,1) //Hough transform verfication class
59
60 };
61
62 #endif