]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/hough/AliL3HoughTransformerVhdl.h
Moved this functionaly to a functio in AliL3Transform::MakeInitFile.
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformerVhdl.h
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  public:
17
18   AliL3HoughTransformerVhdl(); 
19   AliL3HoughTransformerVhdl(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t n_its=0);
20   virtual ~AliL3HoughTransformerVhdl();
21
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);
25
26   void TransformCircle();
27 #if 0
28
29
30   void Reset();
31
32   void TransformCircleC(Int_t row_range) {STDCERR<<"TransformCircleC is not defined!"<<STDENDL;}
33   void TransformLine() {STDCERR<<"TransformLine is not defined!"<<STDENDL;}
34
35   Int_t GetEtaIndex(Double_t eta);
36   AliL3Histogram *GetHistogram(Int_t eta_index);
37   Double_t GetEta(Int_t eta_index,Int_t slice);
38
39
40 #endif
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();
43
44   ClassDef(AliL3HoughTransformerVhdl,1) //Normal Hough transformation class
45
46 };
47
48 #endif
49
50
51
52
53
54