AliRoot Core  3dc7879 (3dc7879)
TKDNodeInfo Class Reference

#include <TKDNodeInfo.h>

Inheritance diagram for TKDNodeInfo:

Classes

class  TKDNodeDraw
 

Public Member Functions

 TKDNodeInfo (Int_t ndim=0)
 
 TKDNodeInfo (const TKDNodeInfo &ref)
 
TKDNodeInfooperator= (const TKDNodeInfo &ref)
 
virtual ~TKDNodeInfo ()
 
Bool_t CookPDF (const Double_t *point, Double_t &result, Double_t &error) const
 
void GetBoundary (Int_t ax, Float_t &min, Float_t &max) const
 
void GetCOG (Float_t *&p) const
 
Int_t GetDimension () const
 
void GetPDF (Float_t &pdf, Float_t &error) const
 
Int_t GetSize () const
 
Int_t GetNcov () const
 
Int_t GetNpar () const
 
Bool_t Has (const Float_t *p) const
 
void Print (const Option_t *="") const
 
void Store (TVectorD const *par, TMatrixD const *cov=NULL)
 
Double_t * Cov () const
 
Double_t * Par () const
 
void SetNode (Int_t ndim, Float_t *data, Float_t *pdf)
 

Protected Member Functions

void Bootstrap ()
 
void Build (Int_t ndim)
 
void SetNcov ()
 
void SetNpar ()
 
Float_t * Data ()
 
Float_t * Val ()
 

Private Attributes

Int_t fNDim
 
Float_t * fData
 3 times data dimension More...
 
Float_t fVal [2]
 [fNDim] node's data More...
 
Int_t fNpar
 measured value for node More...
 
Int_t fNcov
 
Double_t * fPar
 
Double_t * fCov
 

Friends

class TKDPDF
 
class TKDInterpolatorBase
 

Detailed Description

Definition at line 27 of file TKDNodeInfo.h.

Constructor & Destructor Documentation

TKDNodeInfo::TKDNodeInfo ( Int_t  ndim = 0)

Definition at line 32 of file TKDNodeInfo.cxx.

TKDNodeInfo::TKDNodeInfo ( const TKDNodeInfo ref)

Definition at line 47 of file TKDNodeInfo.cxx.

TKDNodeInfo::~TKDNodeInfo ( )
virtual

Definition at line 77 of file TKDNodeInfo.cxx.

Member Function Documentation

void TKDNodeInfo::Bootstrap ( )
protected

Definition at line 127 of file TKDNodeInfo.cxx.

Referenced by TKDInterpolatorBase::Bootstrap(), and Par().

void TKDNodeInfo::Build ( Int_t  ndim)
protected

Definition at line 113 of file TKDNodeInfo.cxx.

Referenced by operator=(), Par(), SetNode(), and TKDNodeInfo().

Bool_t TKDNodeInfo::CookPDF ( const Double_t *  point,
Double_t &  result,
Double_t &  error 
) const

Definition at line 188 of file TKDNodeInfo.cxx.

Referenced by TKDInterpolatorBase::Eval().

Double_t* TKDNodeInfo::Cov ( ) const
inline

Definition at line 64 of file TKDNodeInfo.h.

Float_t* TKDNodeInfo::Data ( )
inlineprotected
void TKDNodeInfo::GetBoundary ( Int_t  ax,
Float_t &  min,
Float_t &  max 
) const
inline

Definition at line 103 of file TKDNodeInfo.h.

Referenced by TKDInterpolatorBase::GetRange().

void TKDNodeInfo::GetCOG ( Float_t *&  p) const
inline

Definition at line 115 of file TKDNodeInfo.h.

Int_t TKDNodeInfo::GetDimension ( ) const
inline

Definition at line 55 of file TKDNodeInfo.h.

Referenced by TKDInterpolatorBase::Bootstrap().

Int_t TKDNodeInfo::GetNcov ( ) const
inline

Definition at line 58 of file TKDNodeInfo.h.

Int_t TKDNodeInfo::GetNpar ( ) const
inline

Definition at line 59 of file TKDNodeInfo.h.

Referenced by TKDInterpolatorBase::Bootstrap().

void TKDNodeInfo::GetPDF ( Float_t &  pdf,
Float_t &  error 
) const
inline

Definition at line 56 of file TKDNodeInfo.h.

Int_t TKDNodeInfo::GetSize ( ) const
inline

Definition at line 57 of file TKDNodeInfo.h.

Bool_t TKDNodeInfo::Has ( const Float_t *  p) const
inline

Definition at line 91 of file TKDNodeInfo.h.

Referenced by GetNpar().

TKDNodeInfo & TKDNodeInfo::operator= ( const TKDNodeInfo ref)

Definition at line 86 of file TKDNodeInfo.cxx.

Double_t* TKDNodeInfo::Par ( ) const
inline

Definition at line 65 of file TKDNodeInfo.h.

Referenced by TKDInterpolatorBase::Eval().

void TKDNodeInfo::Print ( const Option_t *  opt = "") const
void TKDNodeInfo::SetNcov ( )
inlineprotected

Definition at line 71 of file TKDNodeInfo.h.

Referenced by Store().

void TKDNodeInfo::SetNode ( Int_t  ndim,
Float_t *  data,
Float_t *  pdf 
)

Definition at line 136 of file TKDNodeInfo.cxx.

Referenced by interpolCompare().

void TKDNodeInfo::SetNpar ( )
inlineprotected

Definition at line 72 of file TKDNodeInfo.h.

Referenced by Store().

void TKDNodeInfo::Store ( TVectorD const *  par,
TMatrixD const *  cov = NULL 
)

Definition at line 174 of file TKDNodeInfo.cxx.

Referenced by TKDInterpolatorBase::Eval(), and GetNpar().

Float_t* TKDNodeInfo::Val ( )
inlineprotected

Friends And Related Function Documentation

friend class TKDInterpolatorBase
friend

Definition at line 31 of file TKDNodeInfo.h.

friend class TKDPDF
friend

Definition at line 30 of file TKDNodeInfo.h.

Member Data Documentation

Double_t* TKDNodeInfo::fCov
private

Definition at line 84 of file TKDNodeInfo.h.

Referenced by CookPDF(), Cov(), operator=(), Print(), Store(), TKDNodeInfo(), and ~TKDNodeInfo().

Float_t* TKDNodeInfo::fData
private

3 times data dimension

Definition at line 79 of file TKDNodeInfo.h.

Referenced by Build(), Data(), GetBoundary(), GetCOG(), Has(), operator=(), Print(), SetNode(), TKDNodeInfo(), and ~TKDNodeInfo().

Int_t TKDNodeInfo::fNcov
private

Definition at line 82 of file TKDNodeInfo.h.

Referenced by CookPDF(), GetNcov(), operator=(), Print(), SetNcov(), Store(), and TKDNodeInfo().

Int_t TKDNodeInfo::fNDim
private
Int_t TKDNodeInfo::fNpar
private

measured value for node

Definition at line 81 of file TKDNodeInfo.h.

Referenced by Bootstrap(), CookPDF(), GetNpar(), operator=(), Print(), SetNcov(), SetNpar(), Store(), and TKDNodeInfo().

Double_t* TKDNodeInfo::fPar
private

Definition at line 83 of file TKDNodeInfo.h.

Referenced by Bootstrap(), CookPDF(), operator=(), Par(), Print(), Store(), TKDNodeInfo(), and ~TKDNodeInfo().

Float_t TKDNodeInfo::fVal[2]
private

[fNDim] node's data

Definition at line 80 of file TKDNodeInfo.h.

Referenced by GetPDF(), interpolCompare(), operator=(), Print(), SetNode(), TKDNodeInfo(), and Val().


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