AliRoot Core  3dc7879 (3dc7879)
TKDPDF Class Reference

#include <TKDPDF.h>

Inheritance diagram for TKDPDF:

Public Member Functions

 TKDPDF ()
 
 TKDPDF (TTree *t, const Char_t *var, const Char_t *cut=0, UInt_t bsize=100, Long64_t nentries=1000000000, Long64_t firstentry=0)
 
 TKDPDF (Int_t npoints, Int_t ndim, UInt_t bsize, Float_t **data)
 
 ~TKDPDF ()
 
Bool_t GetDataPoint (Int_t n, Float_t *p) const
 
Int_t GetNodeIndex (const Float_t *p)
 
void DrawNode (Int_t tnode, UInt_t ax1=0, UInt_t ax2=1)
 
- Public Member Functions inherited from TKDInterpolatorBase
 TKDInterpolatorBase (Int_t size=0)
 
virtual ~TKDInterpolatorBase ()
 
Bool_t Bootstrap ()
 
Double_t Eval (const Double_t *point, Double_t &result, Double_t &error, Bool_t force=kFALSE)
 
Float_t GetAlpha () const
 
Int_t GetLambda () const
 
Int_t GetSize () const
 
Bool_t GetCOGPoint (Int_t node, Float_t *&coord, Float_t &val, Float_t &error) const
 
TKDNodeInfoGetNodeInfo (Int_t inode) const
 
Int_t GetNTNodes () const
 
Bool_t GetRange (Int_t ax, Float_t &min, Float_t &max) const
 
void GetStatus (Option_t *opt="")
 
Bool_t HasStore () const
 
Bool_t UseCOG () const
 
Bool_t UseWeights () const
 
void DrawProjection (UInt_t ax1=0, UInt_t ax2=1)
 
void SetAlpha (Float_t a)
 
void SetCOG (Bool_t on=kTRUE)
 
void SetStore (Bool_t on=kTRUE)
 
void SetWeights (Bool_t on=kTRUE)
 

Private Member Functions

 TKDPDF (const TKDPDF &)
 
TKDPDFoperator= (const TKDPDF &)
 
Bool_t Build (Int_t ndim=0)
 

Additional Inherited Members

- Public Types inherited from TKDInterpolatorBase
enum  EKDInterpolatorBase { kdN = 4, kNhelper = 30 }
 
enum  EKDInterpolatorBaseBits { kCOG = 0, kSTORE = 1, kWEIGHTS = 2 }
 
- Protected Attributes inherited from TKDInterpolatorBase
Int_t fNSize
 
TClonesArray * fNodes
 data dimension More...
 
TKDNodeInfo::TKDNodeDrawfNodesDraw
 
UChar_t fStatus
 graphical representation of interpolation nodes More...
 
UChar_t fLambda
 
Short_t fDepth
 number of parameters in polynom More...
 
Float_t fAlpha
 depth of the KD Tree structure used More...
 
Float_t ** fRefPoints
 
Double_t * fBuffer
 temporary storage of COG data More...
 
TKDTree< Int_t, Float_t > * fKDhelper
 working space [2*fLambda] More...
 
TLinearFitter * fFitter
 kNN finder More...
 

Detailed Description

Definition at line 20 of file TKDPDF.h.

Constructor & Destructor Documentation

TKDPDF::TKDPDF ( )

Definition at line 18 of file TKDPDF.cxx.

TKDPDF::TKDPDF ( TTree *  t,
const Char_t *  var,
const Char_t *  cut = 0,
UInt_t  bsize = 100,
Long64_t  nentries = 1000000000,
Long64_t  firstentry = 0 
)

Definition at line 38 of file TKDPDF.cxx.

TKDPDF::TKDPDF ( Int_t  npoints,
Int_t  ndim,
UInt_t  bsize,
Float_t **  data 
)

Definition at line 27 of file TKDPDF.cxx.

TKDPDF::~TKDPDF ( )

Definition at line 79 of file TKDPDF.cxx.

TKDPDF::TKDPDF ( const TKDPDF )
private

Member Function Documentation

Bool_t TKDPDF::Build ( Int_t  ndim = 0)
privatevirtual

Reimplemented from TKDInterpolatorBase.

Definition at line 84 of file TKDPDF.cxx.

Referenced by TKDPDF().

void TKDPDF::DrawNode ( Int_t  tnode,
UInt_t  ax1 = 0,
UInt_t  ax2 = 1 
)

Definition at line 153 of file TKDPDF.cxx.

Referenced by kNNDraw().

Bool_t TKDPDF::GetDataPoint ( Int_t  n,
Float_t *  p 
) const
inline

Definition at line 43 of file TKDPDF.h.

Referenced by kNNDraw().

Int_t TKDPDF::GetNodeIndex ( const Float_t *  p)
inlinevirtual

Implements TKDInterpolatorBase.

Definition at line 53 of file TKDPDF.h.

Referenced by kNNDraw().

TKDPDF& TKDPDF::operator= ( const TKDPDF )
private

The documentation for this class was generated from the following files: