]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/hough/AliL3HoughTest.h
Additional background suppression in the V0 finder (M.Ivanov)
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTest.h
index d8febb129689511aaa79407efc958852c1630810..d057c54afdc66dbae4f728256718fea4f5203631 100644 (file)
@@ -1,24 +1,23 @@
-#ifndef ALIL3_HOUGHTEST
-#define ALIL3_HOUGHTEST
+// @(#) $Id$
+
+#ifndef ALIL3HOUGHTEST_H
+#define ALIL3HOUGHTEST_H
 
 #include "AliL3RootTypes.h"
 
-struct SimData {
-  Int_t pads[10][10];//maximum 10 pads width
-  Int_t npads;
-  Int_t minpad;
-  Int_t mintime;
+struct AliL3SimData {
+  Int_t fPads[10][10];//maximum 10 pads width
+  Int_t fNPads; //number of pads
+  Int_t fMinpad; //??
+  Int_t fMintime; //??
 };
 
 class AliL3Histogram;
 class TH2;
 class TH3;
+class AliL3TrackArray;
 
 class AliL3HoughTest {
-  
- private:
-  SimData *fData;
-  Int_t fCurrentPatch;
 
  public:
   
@@ -29,10 +28,19 @@ class AliL3HoughTest {
   void FillImage(TH2 *hist,Int_t row=-1);
   void Transform2Circle(AliL3Histogram *hist);
   void Transform2CircleC(AliL3Histogram *hist);
+  void Transform2CircleF(AliL3Histogram *hist);
   void Transform2Line(AliL3Histogram *hist,Int_t *rowrange);
   void Transform2LineC(AliL3Histogram *hist,Int_t *rowrange);
-  void Transform2Line3D(TH3 *hist,Int_t *rowrange);
+  void Transform2Line3D(TH3 *hist,Int_t *rowrange,Float_t *phirange);
   void Transform2LineC3D(TH3 *hist,Int_t *rowrange);
+  void TransformLines2Circle(TH3 *hist,AliL3TrackArray *tracks);
+  void Transform2Center(AliL3Histogram *hist);
+  
+  void FindAbsMaxima(TH3 *hist,Int_t zsearch,Float_t &maxx,Float_t &maxy,Float_t &maxz,Int_t &maxvalue) const;
+  
+ private:
+  AliL3SimData *fData; //??
+  Int_t fCurrentPatch; //index of the current patch
   
   ClassDef(AliL3HoughTest,1) //Hough transform base class
 };