28#ifndef ROOT_TMVA_PDEFoamKernelGauss
29#define ROOT_TMVA_PDEFoamKernelGauss
45 template<
typename T> T
Sqr(T
x)
const {
return x *
x; }
#define ClassDef(name, id)
This class is the abstract kernel interface for PDEFoam.
This PDEFoam kernel estimates a cell value for a given event by weighting all cell values with a gaus...
Float_t GetAverageNeighborsValue(PDEFoam *, std::vector< Float_t > &, ECellValue)
This function returns the average value 'cv' of only nearest neighbor cells.
virtual ~PDEFoamKernelGauss()
Float_t WeightGaus(PDEFoam *, PDEFoamCell *, std::vector< Float_t > &)
Returns the gauss weight between the 'cell' and a given coordinate 'txvec'.
virtual Float_t Estimate(PDEFoam *, std::vector< Float_t > &, ECellValue)
Gaussian kernel estimator.
Implementation of PDEFoam.
create variable transformations