f2040a8f |
1 | #ifndef ROOT_TKDSpline |
2 | #define ROOT_TKDSpline |
3 | |
4 | #ifndef ROOT_TKDInterpolator |
5 | #include "TKDInterpolator.h" |
6 | #endif |
7 | |
8 | class TKDSpline : public TKDInterpolator |
9 | { |
10 | public: |
11 | TKDSpline(); |
12 | TKDSpline(TTree *t, const Char_t *var, const Char_t *cut = 0, UInt_t bsize=100); |
13 | TKDSpline(Int_t npoints, Int_t ndim, UInt_t bsize, Float_t **data); |
14 | |
15 | private: |
16 | void Build(); |
17 | |
18 | protected: |
19 | |
20 | private: |
21 | |
22 | ClassDef(TKDSpline, 1) // spline fitter based on KD tree |
23 | }; |
24 | |
25 | |
26 | #endif |
27 | |