Little changes to make g++ version 3.2 compile the hough library.
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformer.h
1 #ifndef ALIL3_HOUGHTRANSFORMER
2 #define ALIL3_HOUGHTRANSFORMER
3
4 #include "AliL3RootTypes.h"
5 #include "AliL3HoughBaseTransformer.h"
6
7 class AliL3Histogram;
8
9 class AliL3HoughTransformer : public AliL3HoughBaseTransformer {
10   
11  private:
12   
13   AliL3Histogram **fParamSpace; //!
14 #ifdef do_mc
15   TrackIndex **fTrackID; //!
16 #endif
17   Bool_t fDoMC;
18
19   void DeleteHistograms();
20
21  public:
22   AliL3HoughTransformer(); 
23   AliL3HoughTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments);
24   virtual ~AliL3HoughTransformer();
25   
26   void CreateHistograms(Int_t nxbin,Double_t ptmin,Int_t nybin,Double_t phimin,Double_t phimax);
27   void CreateHistograms(Int_t nxbin,Double_t xmin,Double_t xmax,
28                         Int_t nybin,Double_t ymin,Double_t ymax);
29   void Reset();
30   void TransformCircle();
31   void TransformCircleC(Int_t row_range);
32   void TransformLine();
33
34   Int_t GetEtaIndex(Double_t eta);
35   AliL3Histogram *GetHistogram(Int_t eta_index);
36   Double_t GetEta(Int_t eta_index,Int_t slice);
37   Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi);
38   
39   //void Init(Int_t slice=0,Int_t patch=0,Int_t n_eta_segments=100);
40   
41   ClassDef(AliL3HoughTransformer,1) //Normal Hough transformation class
42
43 };
44
45 #endif
46
47
48
49