]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIL3_HOUGHTRANSFORMERVHDL | |
2 | #define ALIL3_HOUGHTRANSFORMERVDHL | |
3 | ||
4 | #include "AliL3Histogram.h" | |
5 | #include "AliL3HoughTransformerLUT.h" | |
6 | class AliL3Histogram; | |
7 | ||
8 | class AliL3HoughTransformerVhdl : public AliL3HoughTransformerLUT | |
9 | { | |
10 | protected: | |
11 | Float_t fEpsilon; | |
12 | Float_t fSinEpsilon; | |
13 | Float_t fCosEpsilon; | |
14 | Int_t fIts; | |
15 | ||
16 | Int_t fNxbin; | |
17 | Float_t fXmin; | |
18 | Float_t fXmax; | |
19 | Int_t fNybin; | |
20 | Float_t fYmin; | |
21 | Float_t fYmax; | |
22 | ||
23 | public: | |
24 | ||
25 | AliL3HoughTransformerVhdl(); | |
26 | AliL3HoughTransformerVhdl(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t n_its=0); | |
27 | virtual ~AliL3HoughTransformerVhdl(); | |
28 | ||
29 | void CreateHistograms(Int_t nxbin,Double_t ptmin,Int_t nybin,Double_t phimin,Double_t phimax); | |
30 | void CreateHistograms(Int_t nxbin,Double_t xmin,Double_t xmax, | |
31 | Int_t nybin,Double_t ymin,Double_t ymax); | |
32 | ||
33 | void TransformCircle(); | |
34 | ||
35 | void Init(Int_t slice=0,Int_t patch=0,Int_t n_eta_segments=100,Int_t n_its=-1); | |
36 | void Print(); | |
37 | void PrintVhdl(); | |
38 | ||
39 | ClassDef(AliL3HoughTransformerVhdl,1) //Normal Hough transformation class | |
40 | ||
41 | }; | |
42 | ||
43 | #endif | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 |