]>
Commit | Line | Data |
---|---|---|
4aa41877 | 1 | // @(#) $Id$ |
2 | ||
3 | #ifndef ALIL3HOUGHTEST_H | |
4 | #define ALIL3HOUGHTEST_H | |
5 | ||
6 | #include "AliHLTRootTypes.h" | |
7 | ||
8 | struct AliHLTSimData { | |
9 | Int_t fPads[10][10];//maximum 10 pads width | |
10 | Int_t fNPads; //number of pads | |
11 | Int_t fMinpad; //?? | |
12 | Int_t fMintime; //?? | |
13 | }; | |
14 | ||
15 | class AliHLTHistogram; | |
16 | class TH2; | |
17 | class TH3; | |
18 | class AliHLTTrackArray; | |
19 | ||
20 | class AliHLTHoughTest { | |
21 | ||
22 | public: | |
23 | ||
24 | AliHLTHoughTest(); | |
25 | virtual ~AliHLTHoughTest(); | |
26 | ||
27 | Bool_t GenerateTrackData(Double_t pt,Double_t psi,Double_t tgl,Int_t sign,Int_t patch,Int_t minhits); | |
28 | void FillImage(TH2 *hist,Int_t row=-1); | |
29 | void Transform2Circle(AliHLTHistogram *hist); | |
30 | void Transform2CircleC(AliHLTHistogram *hist); | |
31 | void Transform2CircleF(AliHLTHistogram *hist); | |
32 | void Transform2Line(AliHLTHistogram *hist,Int_t *rowrange); | |
33 | void Transform2LineC(AliHLTHistogram *hist,Int_t *rowrange); | |
34 | void Transform2Line3D(TH3 *hist,Int_t *rowrange,Float_t *phirange); | |
35 | void Transform2LineC3D(TH3 *hist,Int_t *rowrange); | |
36 | void TransformLines2Circle(TH3 *hist,AliHLTTrackArray *tracks); | |
37 | void Transform2Center(AliHLTHistogram *hist); | |
38 | ||
39 | void FindAbsMaxima(TH3 *hist,Int_t zsearch,Float_t &maxx,Float_t &maxy,Float_t &maxz,Int_t &maxvalue) const; | |
40 | ||
41 | private: | |
42 | AliHLTSimData *fData; //?? | |
43 | Int_t fCurrentPatch; //index of the current patch | |
44 | ||
45 | ClassDef(AliHLTHoughTest,1) //Hough transform base class | |
46 | }; | |
47 | ||
48 | typedef AliHLTHoughTest AliL3HoughTest; // for backward compatibility | |
49 | ||
50 | #endif | |
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 |