3 #ifndef ALIL3HOUGHCLUSTERTRANSFORMER_H
4 #define ALIL3HOUGHCLUSTERTRANSFORMER_H
6 #include "AliL3RootTypes.h"
7 #include "AliL3HoughBaseTransformer.h"
11 class AliL3SpacePointData;
12 class AliL3MemHandler;
14 class AliL3HoughClusterTransformer : public AliL3HoughBaseTransformer {
17 AliL3HoughClusterTransformer();
18 AliL3HoughClusterTransformer(Int_t slice,Int_t patch,Int_t netasegments);
19 virtual ~AliL3HoughClusterTransformer();
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);
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);
29 void TransformCircle();
30 void TransformCircle(Int_t *row_range,Int_t every) {
31 AliL3HoughBaseTransformer::TransformCircle(row_range,every);
33 void TransformCircleC(Int_t *rowrange,Int_t every);
34 void TransformLine(Int_t */*rowrange*/=0,Float_t */*phirange*/=0){};
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;
43 AliL3Histogram **fParamSpace; //!
44 AliL3MemHandler *fMemHandler; //!
45 AliL3SpacePointData *fClusters; //!
46 Int_t fNClusters;//Number of clusters
48 AliL3TrackIndex **fTrackID; //!
50 void DeleteHistograms();
52 ClassDef(AliL3HoughClusterTransformer,1) //Normal Hough transformation class