Rewriting and cleaning up
[u/mrichter/AliRoot.git] / HLT / hough / AliL3Hough.h
CommitLineData
f000f8a5 1#ifndef ALIL3_HOUGH
2#define ALIL3_HOUGH
3
4#include "AliL3RootTypes.h"
5
6class AliL3HoughMaxFinder;
7class AliL3HoughTransformer;
f80b98cb 8class AliL3Histogram;
9class AliL3FileHandler;
10class AliL3HoughEval;
11class AliL3Transform;
12class AliL3TrackArray;
4fc9a6a4 13class TFile;
f000f8a5 14
15class AliL3Hough : public TObject {
16
17 private:
f80b98cb 18 Char_t fPath[256];
4fc9a6a4 19 Bool_t fBinary;
f80b98cb 20 Int_t fNEtaSegments;
4fc9a6a4 21 AliL3FileHandler **fMemHandler; //!
22 AliL3HoughTransformer **fHoughTransformer; //!
23 TFile *fRootFile; //!
f000f8a5 24
4fc9a6a4 25 void DeleteTransformers();
26 void DeleteMemory();
27 void Init();
28
f000f8a5 29 public:
4fc9a6a4 30
f000f8a5 31 AliL3Hough();
4fc9a6a4 32 AliL3Hough(Char_t *path,Bool_t binary,Int_t n_eta_segments=100);
f000f8a5 33 virtual ~AliL3Hough();
34
4fc9a6a4 35 void TransformSlice(Int_t slice);
36 AliL3Histogram *AddHistograms();
37 void Evaluate(AliL3Histogram *hist);
38
39 //Setters
40 void SetNEtaSegments(Int_t i) {fNEtaSegments = i;}
f80b98cb 41
4fc9a6a4 42 //Getters
43 AliL3HoughTransformer *GetTransformer(Int_t i) {if(!fHoughTransformer[i]) return 0; return fHoughTransformer[i];}
f000f8a5 44
45 ClassDef(AliL3Hough,1)
46
47};
48
49#endif