ROOT logo
AliRoot » STAT » TKDInterpolator

class TKDInterpolator: public TKDInterpolatorBase

Function Members (Methods)

public:
TKDInterpolator()
TKDInterpolator(Int_t ndim, Int_t npoints = 0)
virtual~TKDInterpolator()
voidAddNode(const TKDNodeInfo& ref)
Bool_tTKDInterpolatorBase::Bootstrap()
virtual Bool_tBuild(Int_t ndim)
Bool_tBuild(Int_t npoints, Int_t ndim)
static TClass*Class()
voidTKDInterpolatorBase::DrawProjection(UInt_t ax1 = 0, UInt_t ax2 = 1)
Double_tTKDInterpolatorBase::Eval(const Double_t* point, Double_t& result, Double_t& error, Bool_t force = kFALSE)
Float_tTKDInterpolatorBase::GetAlpha() const
Bool_tTKDInterpolatorBase::GetCOGPoint(Int_t node, Float_t*& coord, Float_t& val, Float_t& error) const
Int_tTKDInterpolatorBase::GetLambda() const
virtual Int_tGetNodeIndex(const Float_t* p)
TKDNodeInfo*TKDInterpolatorBase::GetNodeInfo(Int_t inode) const
Int_tTKDInterpolatorBase::GetNTNodes() const
Bool_tTKDInterpolatorBase::GetRange(Int_t ax, Float_t& min, Float_t& max) const
Int_tTKDInterpolatorBase::GetSize() const
voidTKDInterpolatorBase::GetStatus(Option_t* opt = "")
Bool_tTKDInterpolatorBase::HasStore() const
virtual TClass*IsA() const
voidTKDInterpolatorBase::SetAlpha(Float_t a)
voidTKDInterpolatorBase::SetCOG(Bool_t on = kTRUE)
Bool_tSetNode(Int_t i, const TKDNodeInfo& ref)
voidTKDInterpolatorBase::SetStore(Bool_t on = kTRUE)
voidTKDInterpolatorBase::SetWeights(Bool_t on = kTRUE)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
Bool_tTKDInterpolatorBase::UseCOG() const
Bool_tTKDInterpolatorBase::UseWeights() const

Data Members

public:
enum TKDInterpolatorBase::EKDInterpolatorBase { kdN
kNhelper
};
enum TKDInterpolatorBase::EKDInterpolatorBaseBits { kCOG
kSTORE
kWEIGHTS
};
protected:
Float_tTKDInterpolatorBase::fAlphaparameter controlling the size of the region to interpolate n = (1+alpha)*lambda
Double_t*TKDInterpolatorBase::fBuffer! working space [2*fLambda]
Short_tTKDInterpolatorBase::fDepth! depth of the KD Tree structure used
TLinearFitter*TKDInterpolatorBase::fFitter! linear fitter
TKDTree<Int_t,Float_t>*TKDInterpolatorBase::fKDhelper! kNN finder
UChar_tTKDInterpolatorBase::fLambda! number of parameters in polynom
Int_tTKDInterpolatorBase::fNSize!data dimension
TClonesArray*TKDInterpolatorBase::fNodesinterpolation nodes
TKDNodeInfo::TKDNodeDraw*TKDInterpolatorBase::fNodesDraw!graphical representation of interpolation nodes
Float_t**TKDInterpolatorBase::fRefPoints! temporary storage of COG data
UChar_tTKDInterpolatorBase::fStatusstatus of the interpolator

Class Charts

Inheritance Chart:
TKDInterpolatorBase
TKDInterpolator
TKDSpline

Function documentation

TKDInterpolator()
 Default constructor. To be used with care since in this case building
 of data structure is completly left to the user responsability.
TKDInterpolator(Int_t ndim, Int_t npoints = 0)
 Wrapper constructor for the TKDTree.
~TKDInterpolator()
void AddNode(const TKDNodeInfo& ref)
Bool_t Build(Int_t npoints, Int_t ndim)
Int_t GetNodeIndex(const Float_t* p)
 	printf("TKDInterpolator::GetNodeIndex() ...\n");
   printf("Looking for p[");
   for(int i=0; i<fNSize; i++) printf("%f ", p[i]);
   printf("] ...\n");
Bool_t SetNode(Int_t i, const TKDNodeInfo& ref)
TKDInterpolator()
Bool_t Build(Int_t ndim)
{return TKDInterpolatorBase::Build(ndim);}
TKDInterpolator& operator=(const TKDInterpolator& )