]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/hough/AliL3HoughTransformerNew.h
added data source and sink base components
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformerNew.h
1 // @(#) $Id$
2
3 #ifndef ALIL3HOUGHTRANSFORMERNEW_H
4 #define ALIL3HOUGHTRANSFORMERNEW_H
5
6 #include "AliL3RootTypes.h"
7 #include "AliL3HoughTransformer.h"
8
9 #include <TH3.h>
10
11 class AliL3TrackArray;
12 class AliL3HoughTrack;
13  
14 class AliL3HoughTransformerNew : public AliL3HoughTransformer {
15
16  public:
17   AliL3HoughTransformerNew(); 
18   AliL3HoughTransformerNew(Int_t slice,Int_t patch,Int_t netasegments);
19   virtual ~AliL3HoughTransformerNew();
20   
21   void Reset();
22   void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t pres,Int_t nybin,Float_t psi) {
23     AliL3HoughTransformer::CreateHistograms(ptmin,ptmax,pres,nybin,psi);
24   }
25   void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax) {
26     AliL3HoughTransformer::CreateHistograms(nxbin,ptmin,nybin,phimin,phimax);
27   }
28   void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax,Int_t nybin,Float_t ymin,Float_t ymax) {
29     AliL3HoughTransformer::CreateHistograms(nxbin,xmin,xmax,nybin,ymin,ymax);
30   }
31   void CreateHistograms(Int_t nxbins,Float_t xlow,Float_t xup,
32                         Int_t nybins,Float_t ylow,Float_t yup,
33                         Int_t nzbins,Float_t zlow,Float_t zup);
34   void TransformLine(Int_t *rowrange,Float_t *phirange);
35   void TransformLineC(Int_t *rowrange,Float_t *phirange);
36   
37   TH3 *GetHistogram() {return fParamSpace3D;}
38   AliL3Histogram *GetHistogram(Int_t etaindex){
39     return AliL3HoughTransformer::GetHistogram(etaindex);
40   }
41   
42  private:
43   
44   TH3 *fParamSpace3D;//Histogram containing the hough space
45   
46   ClassDef(AliL3HoughTransformerNew,1) //Normal Hough transformation class
47
48 };
49
50 #endif
51
52
53
54