1 #ifndef ALIL3_HOUGH_MaxFinder
2 #define ALIL3_HOUGH_MaxFinder
4 #include "AliL3RootTypes.h"
11 class AliL3HoughMaxFinder : public TObject {
16 AliL3Histogram *fCurrentHisto;
21 AliL3HoughMaxFinder();
22 AliL3HoughMaxFinder(Char_t *histotype,AliL3Histogram *hist=0);
23 virtual ~AliL3HoughMaxFinder();
25 Int_t *FindAbsMaxima();
26 AliL3TrackArray *FindBigMaxima(AliL3Histogram *hist);
27 AliL3TrackArray *FindMaxima(AliL3Histogram *hist,Int_t *rowrange=0,Int_t ref_row=0);
28 AliL3TrackArray *LookForPeaks(AliL3Histogram *hist,Int_t nbins);
29 AliL3TrackArray *LookInWindows(AliL3Histogram *hist,Int_t nbins,Int_t t1,Double_t t2,Int_t t3);
30 Bool_t LocatePeak(AliL3Histogram *hist,AliL3HoughTrack *track,Int_t *xrange,Int_t *yrange,Int_t t1,Double_t t2,Int_t t3);
31 AliL3HoughTrack *FindPeak(Int_t t1,Double_t t2,Int_t t3);
32 AliL3HoughTrack *CalculatePeakInWindow(Int_t *maxbin,Int_t t0,Int_t t1,Double_t t2,Int_t t3);
34 void SetThreshold(Int_t f) {fThreshold = f;}
36 void SetHistogram(AliL3Histogram *hist) {fCurrentHisto = hist;}
38 ClassDef(AliL3HoughMaxFinder,1)