]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
c62b480b | 3 | #ifndef ALIL3HOUGHTRANSFORMERVHDL_H |
4 | #define ALIL3HOUGHTRANSFORMERVHDL_H | |
b46b53c1 | 5 | |
4aa41877 | 6 | #include "AliHLTHistogram.h" |
7 | #include "AliHLTHoughTransformerLUT.h" | |
8 | class AliHLTHistogram; | |
b46b53c1 | 9 | |
4aa41877 | 10 | class AliHLTHoughTransformerVhdl : public AliHLTHoughTransformerLUT |
6173606e | 11 | { |
18659a6b | 12 | |
b46b53c1 | 13 | public: |
6173606e | 14 | |
4aa41877 | 15 | AliHLTHoughTransformerVhdl(); |
16 | AliHLTHoughTransformerVhdl(Int_t slice,Int_t patch,Int_t netasegments,Int_t nits=0); | |
17 | virtual ~AliHLTHoughTransformerVhdl(); | |
6173606e | 18 | |
298edb8a | 19 | void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t pres,Int_t nybin,Float_t psi) { |
4aa41877 | 20 | AliHLTHoughTransformerLUT::CreateHistograms(ptmin,ptmax,pres,nybin,psi); |
298edb8a | 21 | } |
b2a02bce | 22 | void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax); |
23 | void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax, | |
24 | Int_t nybin,Float_t ymin,Float_t ymax); | |
45f0bc53 | 25 | |
b46b53c1 | 26 | void TransformCircle(); |
298edb8a | 27 | void TransformCircle(Int_t *row_range,Int_t every) { |
4aa41877 | 28 | AliHLTHoughTransformerLUT::TransformCircle(row_range,every); |
298edb8a | 29 | } |
dd7d3870 | 30 | void TransformCircleC(Int_t */*rowrange*/,Int_t /*every*/) {return;} |
3e87ef69 | 31 | |
c62b480b | 32 | void Init(Int_t slice=0,Int_t patch=0,Int_t netasegments=100,Int_t nits=-1); |
45f0bc53 | 33 | void Print(); |
c62b480b | 34 | void PrintVhdl() const; |
35 | ||
36 | protected: | |
37 | Float_t fEpsilon;//?? | |
38 | Float_t fSinEpsilon;//?? | |
39 | Float_t fCosEpsilon;//?? | |
40 | Int_t fIts;//?? | |
41 | ||
42 | Int_t fNxbin;//Number of bins in X | |
43 | Float_t fXmin;//Lower limit in X | |
44 | Float_t fXmax;//Upper limit in X | |
45 | Int_t fNybin;//Number of bins in Y | |
46 | Float_t fYmin;//Lower limit in Y | |
47 | Float_t fYmax;//Upper limit in Y | |
b46b53c1 | 48 | |
4aa41877 | 49 | ClassDef(AliHLTHoughTransformerVhdl,1) //VHDL Hough transformation class |
b46b53c1 | 50 | |
51 | }; | |
52 | ||
4aa41877 | 53 | typedef AliHLTHoughTransformerVhdl AliL3HoughTransformerVhdl; // for backward compatibility |
54 | ||
b46b53c1 | 55 | #endif |
56 | ||
57 | ||
58 | ||
59 | ||
6173606e | 60 | |
61 |