]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/hough/AliL3HoughClusterTransformer.h
Coding violations...
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughClusterTransformer.h
1 // @(#) $Id$
2
3 #ifndef ALIL3HOUGHCLUSTERTRANSFORMER_H
4 #define ALIL3HOUGHCLUSTERTRANSFORMER_H
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   
16  public:
17   AliL3HoughClusterTransformer(); 
18   AliL3HoughClusterTransformer(Int_t slice,Int_t patch,Int_t netasegments);
19   virtual ~AliL3HoughClusterTransformer();
20   
21   void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax);
22   void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax,
23                         Int_t nybin,Float_t ymin,Float_t ymax);
24   void FindClusters();
25   void Reset();
26   void TransformCircle();
27   void TransformCircleC(Int_t *rowrange,Int_t every);
28   void TransformLine(Int_t */*rowrange*/=0,Float_t */*phirange*/=0){};
29   
30   Int_t GetEtaIndex(Double_t eta) const;
31   AliL3Histogram *GetHistogram(Int_t etaindex);
32   Double_t GetEta(Int_t etaindex,Int_t slice) const;
33   Int_t GetTrackID(Int_t etaindex,Double_t kappa,Double_t psi) const;
34   
35  private:
36
37   AliL3Histogram **fParamSpace;   //!
38   AliL3MemHandler *fMemHandler;   //!
39   AliL3SpacePointData *fClusters; //!
40   Int_t fNClusters;//Number of clusters
41 #ifdef do_mc
42   AliL3TrackIndex **fTrackID; //!
43 #endif
44   void DeleteHistograms();
45
46   ClassDef(AliL3HoughClusterTransformer,1) //Normal Hough transformation class
47
48 };
49
50 #endif
51
52
53
54