]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
c62b480b | 3 | #ifndef ALIL3HOUGHCLUSTERTRANSFORMER_H |
4 | #define ALIL3HOUGHCLUSTERTRANSFORMER_H | |
28ac1a53 | 5 | |
6 | #include "AliL3RootTypes.h" | |
7 | #include "AliL3HoughBaseTransformer.h" | |
8 | ||
9 | ||
10 | class AliL3Histogram; | |
11 | class AliL3SpacePointData; | |
12 | class AliL3MemHandler; | |
13 | ||
14 | class AliL3HoughClusterTransformer : public AliL3HoughBaseTransformer { | |
15 | ||
28ac1a53 | 16 | public: |
17 | AliL3HoughClusterTransformer(); | |
c62b480b | 18 | AliL3HoughClusterTransformer(Int_t slice,Int_t patch,Int_t netasegments); |
28ac1a53 | 19 | virtual ~AliL3HoughClusterTransformer(); |
20 | ||
298edb8a | 21 | void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t pres,Int_t nybin,Float_t psi) { |
22 | AliL3HoughBaseTransformer::CreateHistograms(ptmin,ptmax,pres,nybin,psi); | |
23 | } | |
b2a02bce | 24 | void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax); |
25 | void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax, | |
26 | Int_t nybin,Float_t ymin,Float_t ymax); | |
28ac1a53 | 27 | void FindClusters(); |
28 | void Reset(); | |
29 | void TransformCircle(); | |
298edb8a | 30 | void TransformCircle(Int_t *row_range,Int_t every) { |
31 | AliL3HoughBaseTransformer::TransformCircle(row_range,every); | |
32 | } | |
c62b480b | 33 | void TransformCircleC(Int_t *rowrange,Int_t every); |
dd7d3870 | 34 | void TransformLine(Int_t */*rowrange*/=0,Float_t */*phirange*/=0){}; |
28ac1a53 | 35 | |
c62b480b | 36 | Int_t GetEtaIndex(Double_t eta) const; |
37 | AliL3Histogram *GetHistogram(Int_t etaindex); | |
38 | Double_t GetEta(Int_t etaindex,Int_t slice) const; | |
39 | Int_t GetTrackID(Int_t etaindex,Double_t kappa,Double_t psi) const; | |
40 | ||
41 | private: | |
42 | ||
43 | AliL3Histogram **fParamSpace; //! | |
44 | AliL3MemHandler *fMemHandler; //! | |
45 | AliL3SpacePointData *fClusters; //! | |
46 | Int_t fNClusters;//Number of clusters | |
47 | #ifdef do_mc | |
48 | AliL3TrackIndex **fTrackID; //! | |
49 | #endif | |
50 | void DeleteHistograms(); | |
28ac1a53 | 51 | |
52 | ClassDef(AliL3HoughClusterTransformer,1) //Normal Hough transformation class | |
53 | ||
54 | }; | |
55 | ||
56 | #endif | |
57 | ||
58 | ||
59 | ||
60 |