]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
c62b480b | 3 | #ifndef ALIL3HOUGHCLUSTERTRANSFORMER_H |
4 | #define ALIL3HOUGHCLUSTERTRANSFORMER_H | |
28ac1a53 | 5 | |
4aa41877 | 6 | #include "AliHLTRootTypes.h" |
7 | #include "AliHLTHoughBaseTransformer.h" | |
28ac1a53 | 8 | |
9 | ||
4aa41877 | 10 | class AliHLTHistogram; |
11 | class AliHLTSpacePointData; | |
12 | class AliHLTMemHandler; | |
28ac1a53 | 13 | |
4aa41877 | 14 | class AliHLTHoughClusterTransformer : public AliHLTHoughBaseTransformer { |
28ac1a53 | 15 | |
28ac1a53 | 16 | public: |
4aa41877 | 17 | AliHLTHoughClusterTransformer(); |
18 | AliHLTHoughClusterTransformer(Int_t slice,Int_t patch,Int_t netasegments); | |
19 | virtual ~AliHLTHoughClusterTransformer(); | |
28ac1a53 | 20 | |
298edb8a | 21 | void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t pres,Int_t nybin,Float_t psi) { |
4aa41877 | 22 | AliHLTHoughBaseTransformer::CreateHistograms(ptmin,ptmax,pres,nybin,psi); |
298edb8a | 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) { |
4aa41877 | 31 | AliHLTHoughBaseTransformer::TransformCircle(row_range,every); |
298edb8a | 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; |
4aa41877 | 37 | AliHLTHistogram *GetHistogram(Int_t etaindex); |
c62b480b | 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 | ||
4aa41877 | 43 | AliHLTHistogram **fParamSpace; //! |
44 | AliHLTMemHandler *fMemHandler; //! | |
45 | AliHLTSpacePointData *fClusters; //! | |
c62b480b | 46 | Int_t fNClusters;//Number of clusters |
47 | #ifdef do_mc | |
4aa41877 | 48 | AliHLTTrackIndex **fTrackID; //! |
c62b480b | 49 | #endif |
50 | void DeleteHistograms(); | |
28ac1a53 | 51 | |
4aa41877 | 52 | ClassDef(AliHLTHoughClusterTransformer,1) //Normal Hough transformation class |
28ac1a53 | 53 | |
54 | }; | |
55 | ||
4aa41877 | 56 | typedef AliHLTHoughClusterTransformer AliL3HoughClusterTransformer; // for backward comapatibility |
57 | ||
28ac1a53 | 58 | #endif |
59 | ||
60 | ||
61 | ||
62 |