]>
Commit | Line | Data |
---|---|---|
b46b53c1 | 1 | #ifndef ALIL3_HOUGHTRANSFORMERVHDL |
2 | #define ALIL3_HOUGHTRANSFORMERVDHL | |
3 | ||
45f0bc53 | 4 | #include "AliL3Histogram.h" |
5 | #include "AliL3HoughTransformerLUT.h" | |
b46b53c1 | 6 | class AliL3Histogram; |
7 | ||
45f0bc53 | 8 | class AliL3HoughTransformerVhdl : public AliL3HoughTransformerLUT |
6173606e | 9 | { |
45f0bc53 | 10 | protected: |
11 | Float_t fEpsilon; | |
12 | Float_t fSinEpsilon; | |
13 | Float_t fCosEpsilon; | |
14 | Int_t fIts; | |
b46b53c1 | 15 | |
16 | public: | |
6173606e | 17 | |
b46b53c1 | 18 | AliL3HoughTransformerVhdl(); |
45f0bc53 | 19 | AliL3HoughTransformerVhdl(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t n_its=0); |
b46b53c1 | 20 | virtual ~AliL3HoughTransformerVhdl(); |
6173606e | 21 | |
b46b53c1 | 22 | void CreateHistograms(Int_t nxbin,Double_t ptmin,Int_t nybin,Double_t phimin,Double_t phimax); |
23 | void CreateHistograms(Int_t nxbin,Double_t xmin,Double_t xmax, | |
24 | Int_t nybin,Double_t ymin,Double_t ymax); | |
45f0bc53 | 25 | |
b46b53c1 | 26 | void TransformCircle(); |
45f0bc53 | 27 | #if 0 |
28 | ||
29 | ||
30 | void Reset(); | |
31 | ||
e6cdf93b | 32 | void TransformCircleC(Int_t row_range) {STDCERR<<"TransformCircleC is not defined!"<<STDENDL;} |
33 | void TransformLine() {STDCERR<<"TransformLine is not defined!"<<STDENDL;} | |
b46b53c1 | 34 | |
35 | Int_t GetEtaIndex(Double_t eta); | |
36 | AliL3Histogram *GetHistogram(Int_t eta_index); | |
afd8fed4 | 37 | Double_t GetEta(Int_t eta_index,Int_t slice); |
6173606e | 38 | |
45f0bc53 | 39 | |
6173606e | 40 | #endif |
45f0bc53 | 41 | void Init(Int_t slice=0,Int_t patch=0,Int_t n_eta_segments=100,Int_t n_its=-1); |
42 | void Print(); | |
b46b53c1 | 43 | |
44 | ClassDef(AliL3HoughTransformerVhdl,1) //Normal Hough transformation class | |
45 | ||
46 | }; | |
47 | ||
b46b53c1 | 48 | #endif |
49 | ||
50 | ||
51 | ||
52 | ||
6173606e | 53 | |
54 |