]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
4de874d1 | 3 | #ifndef ALIL3_HOUGHTRANSFORMER |
4 | #define ALIL3_HOUGHTRANSFORMER | |
5 | ||
6 | #include "AliL3RootTypes.h" | |
c52cf5d8 | 7 | #include "AliL3HoughBaseTransformer.h" |
4de874d1 | 8 | |
99e7186b | 9 | class AliL3Histogram; |
4de874d1 | 10 | |
c52cf5d8 | 11 | class AliL3HoughTransformer : public AliL3HoughBaseTransformer { |
4de874d1 | 12 | |
13 | private: | |
99e7186b | 14 | |
99e7186b | 15 | AliL3Histogram **fParamSpace; //! |
1eef4efc | 16 | #ifdef do_mc |
17 | TrackIndex **fTrackID; //! | |
18 | #endif | |
c980a70c | 19 | Bool_t fDoMC; |
3e87ef69 | 20 | Bool_t fEtaOverlap; |
21 | ||
99e7186b | 22 | void DeleteHistograms(); |
4de874d1 | 23 | |
24 | public: | |
25 | AliL3HoughTransformer(); | |
3e87ef69 | 26 | AliL3HoughTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments,Bool_t DoEtaOverlap=kFALSE,Bool_t DoMC=kFALSE); |
4de874d1 | 27 | virtual ~AliL3HoughTransformer(); |
99e7186b | 28 | |
b2a02bce | 29 | void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t ptres,Int_t nybin,Float_t psi); |
30 | void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax); | |
31 | void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax, | |
32 | Int_t nybin,Float_t ymin,Float_t ymax); | |
e26acabd | 33 | void Reset(); |
4fc9a6a4 | 34 | void TransformCircle(); |
3e87ef69 | 35 | void TransformCircleC(Int_t *row_range,Int_t every=1); |
36 | void TransformLine(Int_t *rowrange=0,Float_t *phirange=0); | |
37 | void TransformLineC(Int_t *rowrange,Float_t *phirange); | |
4fc9a6a4 | 38 | |
c52cf5d8 | 39 | Int_t GetEtaIndex(Double_t eta); |
3e87ef69 | 40 | void GetEtaIndexes(Double_t eta,Int_t *indexes); |
99e7186b | 41 | AliL3Histogram *GetHistogram(Int_t eta_index); |
afd8fed4 | 42 | Double_t GetEta(Int_t eta_index,Int_t slice); |
1eef4efc | 43 | Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi); |
44 | ||
237d3f5c | 45 | ClassDef(AliL3HoughTransformer,1) //Normal Hough transformation class |
4de874d1 | 46 | |
47 | }; | |
48 | ||
49 | #endif | |
7646f3c3 | 50 | |
51 | ||
52 | ||
53 |