Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TKDEFGT Class Reference

Definition at line 23 of file TKDEFGT.h.

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.
 
TKDEFGToperator= (const TKDEFGT &rhs)
 

Private Attributes

std::vector< Double_tfA_K
 
std::vector< Double_tfC_K
 
std::vector< UInt_tfCinds
 
UInt_t fDim
 
std::vector< Double_tfDistC
 
std::vector< Double_tfDx
 
std::vector< UInt_tfHeads
 
std::vector< UInt_tfIndx
 
std::vector< UInt_tfIndxc
 
UInt_t fK
 
Bool_t fModelValid
 
UInt_t fP
 
UInt_t fPD
 
std::vector< Double_tfProds
 
Double_t fSigma
 
std::vector< Double_tfWeights
 
std::vector< UInt_tfXboxsz
 
std::vector< Double_tfXC
 
std::vector< UInt_tfXhead
 

#include <TKDEFGT.h>

Constructor & Destructor Documentation

◆ TKDEFGT() [1/2]

TKDEFGT::TKDEFGT ( )

Constructor.

Definition at line 29 of file TKDEFGT.cxx.

◆ ~TKDEFGT()

TKDEFGT::~TKDEFGT ( )
virtual

Destructor.

Definition at line 48 of file TKDEFGT.cxx.

◆ TKDEFGT() [2/2]

TKDEFGT::TKDEFGT ( const TKDEFGT rhs)
private

Member Function Documentation

◆ BuildModel() [1/2]

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.

◆ BuildModel() [2/2]

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.

◆ Compute_A_k() [1/2]

void TKDEFGT::Compute_A_k ( const std::vector< Double_t > &  x)
private

Coefficients A_K.

Definition at line 292 of file TKDEFGT.cxx.

◆ Compute_A_k() [2/2]

void TKDEFGT::Compute_A_k ( const TGL5DDataSet sources)
private

Coefficients A_K. Special case for TTree and dim == 3.

Definition at line 337 of file TKDEFGT.cxx.

◆ Compute_C_k()

void TKDEFGT::Compute_C_k ( )
private

Coefficients C_K.

Definition at line 270 of file TKDEFGT.cxx.

◆ Kcenter() [1/2]

void TKDEFGT::Kcenter ( const std::vector< double > &  x)
private

Solve kcenter task.

Definition at line 160 of file TKDEFGT.cxx.

◆ Kcenter() [2/2]

void TKDEFGT::Kcenter ( const TGL5DDataSet sources)
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.

◆ operator=()

TKDEFGT & TKDEFGT::operator= ( const TKDEFGT rhs)
private

◆ Predict()

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.

Member Data Documentation

◆ fA_K

std::vector<Double_t> TKDEFGT::fA_K
private

Definition at line 29 of file TKDEFGT.h.

◆ fC_K

std::vector<Double_t> TKDEFGT::fC_K
private

Definition at line 34 of file TKDEFGT.h.

◆ fCinds

std::vector<UInt_t> TKDEFGT::fCinds
private

Definition at line 35 of file TKDEFGT.h.

◆ fDim

UInt_t TKDEFGT::fDim
private

Definition at line 41 of file TKDEFGT.h.

◆ fDistC

std::vector<Double_t> TKDEFGT::fDistC
private

Definition at line 33 of file TKDEFGT.h.

◆ fDx

std::vector<Double_t> TKDEFGT::fDx
mutableprivate

Definition at line 38 of file TKDEFGT.h.

◆ fHeads

std::vector<UInt_t> TKDEFGT::fHeads
mutableprivate

Definition at line 37 of file TKDEFGT.h.

◆ fIndx

std::vector<UInt_t> TKDEFGT::fIndx
private

Definition at line 30 of file TKDEFGT.h.

◆ fIndxc

std::vector<UInt_t> TKDEFGT::fIndxc
private

Definition at line 28 of file TKDEFGT.h.

◆ fK

UInt_t TKDEFGT::fK
private

Definition at line 43 of file TKDEFGT.h.

◆ fModelValid

Bool_t TKDEFGT::fModelValid
private

Definition at line 46 of file TKDEFGT.h.

◆ fP

UInt_t TKDEFGT::fP
private

Definition at line 42 of file TKDEFGT.h.

◆ fPD

UInt_t TKDEFGT::fPD
private

Definition at line 45 of file TKDEFGT.h.

◆ fProds

std::vector<Double_t> TKDEFGT::fProds
mutableprivate

Definition at line 39 of file TKDEFGT.h.

◆ fSigma

Double_t TKDEFGT::fSigma
private

Definition at line 44 of file TKDEFGT.h.

◆ fWeights

std::vector<Double_t> TKDEFGT::fWeights
private

Definition at line 27 of file TKDEFGT.h.

◆ fXboxsz

std::vector<UInt_t> TKDEFGT::fXboxsz
private

Definition at line 32 of file TKDEFGT.h.

◆ fXC

std::vector<Double_t> TKDEFGT::fXC
private

Definition at line 26 of file TKDEFGT.h.

◆ fXhead

std::vector<UInt_t> TKDEFGT::fXhead
private

Definition at line 31 of file TKDEFGT.h.

  • graf3d/gl/inc/TKDEFGT.h
  • graf3d/gl/src/TKDEFGT.cxx