]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
c62b480b | 3 | #ifndef ALIL3HOUGHTEST_H |
4 | #define ALIL3HOUGHTEST_H | |
7a1f1432 | 5 | |
6 | #include "AliL3RootTypes.h" | |
7 | ||
c62b480b | 8 | struct AliL3SimData { |
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; //?? | |
7a1f1432 | 13 | }; |
14 | ||
15 | class AliL3Histogram; | |
16 | class TH2; | |
c3853fab | 17 | class TH3; |
3e87ef69 | 18 | class AliL3TrackArray; |
7a1f1432 | 19 | |
20 | class AliL3HoughTest { | |
7a1f1432 | 21 | |
22 | public: | |
23 | ||
24 | AliL3HoughTest(); | |
25 | virtual ~AliL3HoughTest(); | |
26 | ||
c3853fab | 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); | |
d7ab65da | 29 | void Transform2Circle(AliL3Histogram *hist); |
30 | void Transform2CircleC(AliL3Histogram *hist); | |
3e87ef69 | 31 | void Transform2CircleF(AliL3Histogram *hist); |
d7ab65da | 32 | void Transform2Line(AliL3Histogram *hist,Int_t *rowrange); |
33 | void Transform2LineC(AliL3Histogram *hist,Int_t *rowrange); | |
3e87ef69 | 34 | void Transform2Line3D(TH3 *hist,Int_t *rowrange,Float_t *phirange); |
c3853fab | 35 | void Transform2LineC3D(TH3 *hist,Int_t *rowrange); |
3e87ef69 | 36 | void TransformLines2Circle(TH3 *hist,AliL3TrackArray *tracks); |
37 | void Transform2Center(AliL3Histogram *hist); | |
38 | ||
c62b480b | 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 | AliL3SimData *fData; //?? | |
43 | Int_t fCurrentPatch; //index of the current patch | |
d7ab65da | 44 | |
7a1f1432 | 45 | ClassDef(AliL3HoughTest,1) //Hough transform base class |
46 | }; | |
47 | ||
48 | #endif | |
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 |