3 #ifndef ALIL3HOUGHTRANSFORMERROW_H
4 #define ALIL3HOUGHTRANSFORMERROW_H
6 #include "AliL3RootTypes.h"
7 #include "AliL3HoughBaseTransformer.h"
10 #define MAX_GAP_SIZE 4
11 #define MIN_TRACK_LENGTH 70
12 #define MAX_MISS_ROWS 2
16 class AliL3HoughTransformerRow : public AliL3HoughBaseTransformer {
19 AliL3HoughTransformerRow();
20 AliL3HoughTransformerRow(Int_t slice,Int_t patch,Int_t netasegments,Bool_t DoMC=kFALSE,Float_t zvertex=0.0);
21 virtual ~AliL3HoughTransformerRow();
23 //void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t ptres,Int_t nybin,Float_t psi);
24 void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax)
25 {STDCERR<<"This method for creation of parameter space histograms is not supported for this Transformer!"<<STDENDL;}
26 void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax,
27 Int_t nybin,Float_t ymin,Float_t ymax);
29 void TransformCircle();
31 Int_t GetEtaIndex(Double_t eta) const;
32 AliL3Histogram *GetHistogram(Int_t etaindex);
33 Double_t GetEta(Int_t etaindex,Int_t slice) const;
34 Int_t GetTrackID(Int_t etaindex,Double_t alpha1,Double_t alpha2) const;
35 UChar_t *GetRowCount(Int_t etaindex);
36 UChar_t *GetGapCount(Int_t etaindex);
37 UChar_t *GetCurrentRowCount(Int_t etaindex);
38 static UChar_t *GetTrackNRows();
39 static UChar_t *GetTrackFirstRow();
40 static UChar_t *GetTrackLastRow();
41 static Float_t GetBeta1() {return fgBeta1;}
42 static Float_t GetBeta2() {return fgBeta2;}
46 AliL3Histogram **fParamSpace; //!
49 static AliL3TrackIndex **fgTrackID; //!
51 Bool_t fDoMC; // Do MC labels or not
53 void DeleteHistograms(); //Method to clean up the histograms containing Hough space
55 static UChar_t **fgRowCount; //!
56 static UChar_t **fgGapCount; //!
57 static UChar_t **fgCurrentRowCount; //!
59 static UChar_t *fgTrackNRows; //!
60 static UChar_t *fgTrackFirstRow; //!
61 static UChar_t *fgTrackLastRow; //!
63 Float_t *fLUTforwardZ; //!
64 Float_t *fLUTforwardZ2; //!
65 Float_t *fLUTbackwardZ; //!
66 Float_t *fLUTbackwardZ2; //!
68 static Float_t fgBeta1,fgBeta2; // Two curves which define the Hough space
70 ClassDef(AliL3HoughTransformerRow,1) //TPC Rows Hough transformation class