]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/hough/AliL3HoughTransformerRow.h
Merged Cvetans RowHoughTransformer, Anders latest developments in comp
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformerRow.h
1 // @(#) $Id$
2
3 #ifndef ALIL3_HOUGHTRANSFORMERROW
4 #define ALIL3_HOUGHTRANSFORMERROW
5
6 #include "AliL3RootTypes.h"
7 #include "AliL3HoughBaseTransformer.h"
8
9 class AliL3Histogram;
10
11 class AliL3HoughTransformerRow : public AliL3HoughBaseTransformer {
12   
13  private:
14   
15   AliL3Histogram **fParamSpace; //!
16
17 #ifdef do_mc
18   static TrackIndex **fTrackID; //!
19 #endif
20   Bool_t fDoMC;
21
22   void DeleteHistograms();
23
24   static UChar_t **fRowCount; //!
25   static UChar_t **fGapCount; //!
26   static UChar_t **fCurrentRowCount; //!
27
28   Float_t *fLUT2sinphi0up; //!   
29   Float_t *fLUT2cosphi0up; //!
30   Float_t *fLUT2sinphi0low; //!   
31   Float_t *fLUT2cosphi0low; //!
32
33   Float_t *fLUTforwardZ; //!
34   Float_t *fLUTforwardZ2; //!
35   Float_t *fLUTbackwardZ; //!
36   Float_t *fLUTbackwardZ2; //!
37
38  public:
39   AliL3HoughTransformerRow(); 
40   AliL3HoughTransformerRow(Int_t slice,Int_t patch,Int_t n_eta_segments,Bool_t DoMC=kFALSE,Float_t zvertex=0.0);
41   virtual ~AliL3HoughTransformerRow();
42
43   //void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t ptres,Int_t nybin,Float_t psi);
44   void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax);
45   void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax,
46                         Int_t nybin,Float_t ymin,Float_t ymax);
47   void Reset();
48   void TransformCircle();
49
50   Int_t GetEtaIndex(Double_t eta);
51   AliL3Histogram *GetHistogram(Int_t eta_index);
52   Double_t GetEta(Int_t eta_index,Int_t slice);
53   Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi);
54   UChar_t *GetRowCount(Int_t eta_index);
55   UChar_t *GetGapCount(Int_t eta_index);
56
57   ClassDef(AliL3HoughTransformerRow,1) //TPC Rows Hough transformation class
58
59 };
60
61 #endif
62
63
64
65