1 #ifndef ROOT_TKDInterpolatorBase 2 #define ROOT_TKDInterpolatorBase 8 #ifndef ROOT_TKDNodeInfo 25 template <
typename Index,
typename Value>
class TKDTree;
45 Double_t
Eval(
const Double_t *point, Double_t &result, Double_t &error, Bool_t force = kFALSE);
50 Bool_t
GetCOGPoint(Int_t node, Float_t *&coord, Float_t &val, Float_t &error)
const;
53 Bool_t
GetRange(Int_t ax, Float_t &min, Float_t &max)
const;
67 virtual Bool_t
Build(Int_t nnodes);
void DrawProjection(UInt_t ax1=0, UInt_t ax2=1)
void SetWeights(Bool_t on=kTRUE)
virtual Int_t GetNodeIndex(const Float_t *p)=0
Bool_t GetCOGPoint(Int_t node, Float_t *&coord, Float_t &val, Float_t &error) const
Bool_t UseWeights() const
TKDNodeInfo::TKDNodeDraw * fNodesDraw
TKDInterpolatorBase & operator=(const TKDInterpolatorBase &)
UChar_t fStatus
graphical representation of interpolation nodes
virtual Bool_t Build(Int_t nnodes)
TKDTree< Int_t, Float_t > * fKDhelper
working space [2*fLambda]
void SetCOG(Bool_t on=kTRUE)
TClonesArray * fNodes
data dimension
TLinearFitter * fFitter
kNN finder
Short_t fDepth
number of parameters in polynom
Bool_t GetRange(Int_t ax, Float_t &min, Float_t &max) const
TKDNodeInfo * GetNodeInfo(Int_t inode) const
void GetStatus(Option_t *opt="")
Float_t fAlpha
depth of the KD Tree structure used
TKDInterpolatorBase(Int_t size=0)
virtual ~TKDInterpolatorBase()
class TKDTree< Int_t, Float_t > TKDTreeIF
class TVectorT< Double_t > TVectorD
Double_t * fBuffer
temporary storage of COG data
Double_t Eval(const Double_t *point, Double_t &result, Double_t &error, Bool_t force=kFALSE)
class TMatrixT< Double_t > TMatrixD
void SetStore(Bool_t on=kTRUE)