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