94b47837c976ecbe1a95b0f268f85e797d68c872
[u/mrichter/AliRoot.git] / STAT / TKDInterpolator.h
1 #ifndef ROOT_TKDInterpolator
2 #define ROOT_TKDInterpolator
3
4 #ifndef ROOT_TKDInterpolatorBase
5 #include "TKDInterpolatorBase.h"
6 #endif
7
8 class TKDInterpolator : public TKDInterpolatorBase
9 {
10 public:
11         TKDInterpolator();
12         TKDInterpolator(Int_t ndim, Int_t npoints=0);
13         ~TKDInterpolator();
14         void       AddNode(const TKDNodeInfo &ref);
15         void       Build(Int_t npoints, Int_t ndim);
16         Int_t      GetNodeIndex(const Float_t *p);
17         Bool_t     SetNode(const Int_t i, const TKDNodeInfo &ref);
18
19 private:
20         TKDInterpolator(const TKDInterpolator &);
21         TKDInterpolator& operator=(const TKDInterpolator &);    
22
23 private:
24         
25         ClassDef(TKDInterpolator, 1)   // LOWESS data interpolator
26 };
27
28
29 #endif
30