]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HoughTest.h
Moving lib*.pkg
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTest.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
7a1f1432 3#ifndef ALIL3_HOUGHTEST
4#define ALIL3_HOUGHTEST
5
6#include "AliL3RootTypes.h"
7
8struct SimData {
c3853fab 9 Int_t pads[10][10];//maximum 10 pads width
7a1f1432 10 Int_t npads;
7a1f1432 11 Int_t minpad;
c3853fab 12 Int_t mintime;
7a1f1432 13};
14
15class AliL3Histogram;
16class TH2;
c3853fab 17class TH3;
3e87ef69 18class AliL3TrackArray;
7a1f1432 19
20class AliL3HoughTest {
21
22 private:
23 SimData *fData;
24 Int_t fCurrentPatch;
25
26 public:
27
28 AliL3HoughTest();
29 virtual ~AliL3HoughTest();
30
c3853fab 31 Bool_t GenerateTrackData(Double_t pt,Double_t psi,Double_t tgl,Int_t sign,Int_t patch,Int_t minhits);
32 void FillImage(TH2 *hist,Int_t row=-1);
d7ab65da 33 void Transform2Circle(AliL3Histogram *hist);
34 void Transform2CircleC(AliL3Histogram *hist);
3e87ef69 35 void Transform2CircleF(AliL3Histogram *hist);
d7ab65da 36 void Transform2Line(AliL3Histogram *hist,Int_t *rowrange);
37 void Transform2LineC(AliL3Histogram *hist,Int_t *rowrange);
3e87ef69 38 void Transform2Line3D(TH3 *hist,Int_t *rowrange,Float_t *phirange);
c3853fab 39 void Transform2LineC3D(TH3 *hist,Int_t *rowrange);
3e87ef69 40 void TransformLines2Circle(TH3 *hist,AliL3TrackArray *tracks);
41 void Transform2Center(AliL3Histogram *hist);
42
43 void FindAbsMaxima(TH3 *hist,Int_t zsearch,Float_t &max_x,Float_t &max_y,Float_t &max_z,Int_t &maxvalue);
d7ab65da 44
7a1f1432 45 ClassDef(AliL3HoughTest,1) //Hough transform base class
46};
47
48#endif
49
50
51
52
53
54
55