]>
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 | |
e26acabd | 29 | void CreateHistograms(Int_t nxbin,Double_t ptmin,Int_t nybin,Double_t phimin,Double_t phimax); |
3ef466c5 | 30 | void CreateHistograms(Int_t nxbin,Double_t xmin,Double_t xmax, |
31 | Int_t nybin,Double_t ymin,Double_t ymax); | |
e26acabd | 32 | void Reset(); |
4fc9a6a4 | 33 | void TransformCircle(); |
3e87ef69 | 34 | void TransformCircleC(Int_t *row_range,Int_t every=1); |
35 | void TransformLine(Int_t *rowrange=0,Float_t *phirange=0); | |
36 | void TransformLineC(Int_t *rowrange,Float_t *phirange); | |
4fc9a6a4 | 37 | |
c52cf5d8 | 38 | Int_t GetEtaIndex(Double_t eta); |
3e87ef69 | 39 | void GetEtaIndexes(Double_t eta,Int_t *indexes); |
99e7186b | 40 | AliL3Histogram *GetHistogram(Int_t eta_index); |
afd8fed4 | 41 | Double_t GetEta(Int_t eta_index,Int_t slice); |
1eef4efc | 42 | Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi); |
43 | ||
237d3f5c | 44 | ClassDef(AliL3HoughTransformer,1) //Normal Hough transformation class |
4de874d1 | 45 | |
46 | }; | |
47 | ||
48 | #endif | |
7646f3c3 | 49 | |
50 | ||
51 | ||
52 |