]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HoughMaxFinder.h
blabla
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughMaxFinder.h
CommitLineData
4de874d1 1#ifndef ALIL3_HOUGH_MaxFinder
2#define ALIL3_HOUGH_MaxFinder
3
4#include "AliL3RootTypes.h"
5
4cafa5fc 6class AliL3Histogram;
4de874d1 7class AliL3TrackArray;
52a2a604 8class AliL3HoughTrack;
4de874d1 9
4cafa5fc 10
4de874d1 11class AliL3HoughMaxFinder : public TObject {
12
13 private:
14
15 Int_t fThreshold;
4cafa5fc 16 AliL3Histogram *fCurrentHisto;
4de874d1 17
18 Char_t fHistoType;
19
20 public:
21 AliL3HoughMaxFinder();
4cafa5fc 22 AliL3HoughMaxFinder(Char_t *histotype,AliL3Histogram *hist=0);
4de874d1 23 virtual ~AliL3HoughMaxFinder();
24
4cafa5fc 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);
33
4de874d1 34 void SetThreshold(Int_t f) {fThreshold = f;}
e4c21048 35
4cafa5fc 36 void SetHistogram(AliL3Histogram *hist) {fCurrentHisto = hist;}
37
4de874d1 38 ClassDef(AliL3HoughMaxFinder,1)
39
40};
41
42#endif