1 #ifndef ALIL3_HOUGHTRANSFORMERLUT
2 #define ALIL3_HOUGHTRANSFORMERLUT
4 #include "AliL3RootTypes.h"
5 #include "AliL3HoughBaseTransformer.h"
9 class AliL3HoughTransformerLUT : public AliL3HoughBaseTransformer {
12 AliL3Histogram **fParamSpace; //!
14 TrackIndex **fTrackID; //!
18 void DeleteHistograms();
29 Float_t fZLengthPlusOff;
37 Float_t *fLUTphi0; //!
38 Float_t *fLUT2sinphi0; //!
39 Float_t *fLUT2cosphi0; //!
40 Float_t *fLUTKappa; //!
45 Float_t CalcRoverZ2(Float_t eta);
46 Float_t CalcEta(Float_t roverz2);
47 Float_t CalcX(Int_t row);
48 Float_t CalcY(Int_t pad, Int_t row);
49 Float_t CalcZ(Int_t time);
51 Int_t FindIndex(Float_t rz2, Int_t start=-100);
55 AliL3HoughTransformerLUT();
56 AliL3HoughTransformerLUT(Int_t slice,Int_t patch,Int_t n_eta_segments);
57 virtual ~AliL3HoughTransformerLUT();
59 void CreateHistograms(Int_t nxbin,Double_t ptmin,Int_t nybin,Double_t phimin,Double_t phimax);
60 void CreateHistograms(Int_t nxbin,Double_t xmin,Double_t xmax,Int_t nybin,Double_t ymin,Double_t ymax);
63 void TransformCircle();
64 void TransformCircleC(Int_t row_range){STDCERR<<"TransformCircleC is not defined for this transformer!"<<STDENDL;}
65 void TransformLine() {STDCERR<<"TransformLine is not defined for this transformer!"<<STDENDL;}
67 Int_t GetEtaIndex(Double_t eta);
68 AliL3Histogram *GetHistogram(Int_t eta_index);
69 Double_t GetEta(Int_t eta_index,Int_t slice);
70 Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi);
73 void Init(Int_t slice=0,Int_t patch=0,Int_t n_eta_segments=100);
75 ClassDef(AliL3HoughTransformerLUT,1) //Normal Hough transformation class