Public Member Functions | |
| TKDEFGT () | |
| Constructor.   | |
| virtual | ~TKDEFGT () | 
| Destructor.   | |
| void | BuildModel (const std::vector< Double_t > &sources, Double_t sigma=1., UInt_t dim=3, UInt_t p=8, UInt_t k=0) | 
| Calculate coefficients for FGT.   | |
| void | BuildModel (const TGL5DDataSet *sources, Double_t sigma=1., UInt_t p=8, UInt_t k=0) | 
| Calculate coefficients for FGT.   | |
| void | Predict (const std::vector< Double_t > &targets, std::vector< Double_t > &densities, Double_t e) const | 
| Calculate densities.   | |
Private Member Functions | |
| TKDEFGT (const TKDEFGT &rhs) | |
| void | Compute_A_k (const std::vector< Double_t > &x) | 
| Coefficients A_K.   | |
| void | Compute_A_k (const TGL5DDataSet *sources) | 
| Coefficients A_K. Special case for TTree and dim == 3.   | |
| void | Compute_C_k () | 
| Coefficients C_K.   | |
| void | Kcenter (const std::vector< double > &x) | 
| Solve kcenter task.   | |
| void | Kcenter (const TGL5DDataSet *sources) | 
| Solve kcenter task.   | |
| TKDEFGT & | operator= (const TKDEFGT &rhs) | 
Private Attributes | |
| std::vector< Double_t > | fA_K | 
| std::vector< Double_t > | fC_K | 
| std::vector< UInt_t > | fCinds | 
| UInt_t | fDim | 
| std::vector< Double_t > | fDistC | 
| std::vector< Double_t > | fDx | 
| std::vector< UInt_t > | fHeads | 
| std::vector< UInt_t > | fIndx | 
| std::vector< UInt_t > | fIndxc | 
| UInt_t | fK | 
| Bool_t | fModelValid | 
| UInt_t | fP | 
| UInt_t | fPD | 
| std::vector< Double_t > | fProds | 
| Double_t | fSigma | 
| std::vector< Double_t > | fWeights | 
| std::vector< UInt_t > | fXboxsz | 
| std::vector< Double_t > | fXC | 
| std::vector< UInt_t > | fXhead | 
#include <TKDEFGT.h>
| TKDEFGT::TKDEFGT | ( | ) | 
Constructor.
Definition at line 29 of file TKDEFGT.cxx.
      
  | 
  virtual | 
Destructor.
Definition at line 48 of file TKDEFGT.cxx.
| void TKDEFGT::BuildModel | ( | const std::vector< Double_t > & | sources, | 
| Double_t | sigma = 1., | ||
| UInt_t | dim = 3, | ||
| UInt_t | p = 8, | ||
| UInt_t | k = 0 ) | 
Calculate coefficients for FGT.
Definition at line 55 of file TKDEFGT.cxx.
| void TKDEFGT::BuildModel | ( | const TGL5DDataSet * | sources, | 
| Double_t | sigma = 1., | ||
| UInt_t | p = 8, | ||
| UInt_t | k = 0 ) | 
Calculate coefficients for FGT.
Alternative specialized version for data from TTree.
Definition at line 105 of file TKDEFGT.cxx.
Coefficients A_K.
Definition at line 292 of file TKDEFGT.cxx.
      
  | 
  private | 
Coefficients A_K. Special case for TTree and dim == 3.
Definition at line 337 of file TKDEFGT.cxx.
      
  | 
  private | 
Coefficients C_K.
Definition at line 270 of file TKDEFGT.cxx.
Solve kcenter task.
Definition at line 160 of file TKDEFGT.cxx.
      
  | 
  private | 
Solve kcenter task.
Version for dim == 3 and data from TTree. Randomly pick one node as the first center.
Definition at line 209 of file TKDEFGT.cxx.
| void TKDEFGT::Predict | ( | const std::vector< Double_t > & | targets, | 
| std::vector< Double_t > & | densities, | ||
| Double_t | e ) const | 
Calculate densities.
Definition at line 388 of file TKDEFGT.cxx.