Added new function AliL3Hough::MergeEtaSlices which merges tracks which
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformer.h
CommitLineData
4de874d1 1#ifndef ALIL3_HOUGHTRANSFORMER
2#define ALIL3_HOUGHTRANSFORMER
3
4#include "AliL3RootTypes.h"
c52cf5d8 5#include "AliL3HoughBaseTransformer.h"
4de874d1 6
99e7186b 7class AliL3Histogram;
4de874d1 8
c52cf5d8 9class AliL3HoughTransformer : public AliL3HoughBaseTransformer {
4de874d1 10
11 private:
99e7186b 12
99e7186b 13 AliL3Histogram **fParamSpace; //!
1eef4efc 14#ifdef do_mc
15 TrackIndex **fTrackID; //!
16#endif
c980a70c 17 Bool_t fDoMC;
e06900d5 18
99e7186b 19 void DeleteHistograms();
4de874d1 20
21 public:
22 AliL3HoughTransformer();
44c7f8de 23 AliL3HoughTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments,Bool_t DoMC=kFALSE);
4de874d1 24 virtual ~AliL3HoughTransformer();
99e7186b 25
e26acabd 26 void CreateHistograms(Int_t nxbin,Double_t ptmin,Int_t nybin,Double_t phimin,Double_t phimax);
3ef466c5 27 void CreateHistograms(Int_t nxbin,Double_t xmin,Double_t xmax,
28 Int_t nybin,Double_t ymin,Double_t ymax);
e26acabd 29 void Reset();
4fc9a6a4 30 void TransformCircle();
3ef466c5 31 void TransformCircleC(Int_t row_range);
4fc9a6a4 32 void TransformLine();
33
c52cf5d8 34 Int_t GetEtaIndex(Double_t eta);
99e7186b 35 AliL3Histogram *GetHistogram(Int_t eta_index);
afd8fed4 36 Double_t GetEta(Int_t eta_index,Int_t slice);
1eef4efc 37 Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi);
38
7646f3c3 39 //void Init(Int_t slice=0,Int_t patch=0,Int_t n_eta_segments=100);
40
237d3f5c 41 ClassDef(AliL3HoughTransformer,1) //Normal Hough transformation class
4de874d1 42
43};
44
45#endif
7646f3c3 46
47
48
49