Logo ROOT   6.18/05
Reference Guide
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::KDEKernel Class Reference

KDE Kernel for "smoothing" the PDFs.

Definition at line 50 of file KDEKernel.h.

Public Types

enum  EKernelBorder { kNoTreatment = 1 , kKernelRenorm = 2 , kSampleMirror = 3 }
 
enum  EKernelIter { kNonadaptiveKDE = 1 , kAdaptiveKDE = 2 }
 
enum  EKernelType { kNone = 0 , kGauss = 1 }
 

Public Member Functions

 KDEKernel (EKernelIter kiter=kNonadaptiveKDE, const TH1 *hist=0, Float_t lower_edge=0., Float_t upper_edge=1., EKernelBorder kborder=kNoTreatment, Float_t FineFactor=1.)
 constructor sanity check More...
 
virtual ~KDEKernel (void)
 destructor More...
 
Float_t GetBinKernelIntegral (Float_t lowr, Float_t highr, Float_t mean, Int_t binnum)
 calculates the integral of the Kernel More...
 
const char * GetName () const
 
void SetKernelType (EKernelType ktype=kGauss)
 fIter == 1 —> nonadaptive KDE fIter == 2 —> adaptive KDE More...
 

Private Member Functions

MsgLoggerLog () const
 

Private Attributes

Float_t fFineFactor
 
TH1FfFirstIterHist
 
Bool_t fHiddenIteration
 
TH1FfHist
 
EKernelIter fIter
 
EKernelBorder fKDEborder
 
TF1fKernel_integ
 
MsgLoggerfLogger
 
Float_t fLowerEdge
 
Float_t fSigma
 
TH1FfSigmaHist
 
Float_t fUpperEdge
 

#include <TMVA/KDEKernel.h>

Member Enumeration Documentation

◆ EKernelBorder

Enumerator
kNoTreatment 
kKernelRenorm 
kSampleMirror 

Definition at line 56 of file KDEKernel.h.

◆ EKernelIter

Enumerator
kNonadaptiveKDE 
kAdaptiveKDE 

Definition at line 55 of file KDEKernel.h.

◆ EKernelType

Enumerator
kNone 
kGauss 

Definition at line 54 of file KDEKernel.h.

Constructor & Destructor Documentation

◆ KDEKernel()

TMVA::KDEKernel::KDEKernel ( EKernelIter  kiter = kNonadaptiveKDE,
const TH1 hist = 0,
Float_t  lower_edge = 0.,
Float_t  upper_edge = 1.,
EKernelBorder  kborder = kNoTreatment,
Float_t  FineFactor = 1. 
)

constructor sanity check

Definition at line 57 of file KDEKernel.cxx.

◆ ~KDEKernel()

TMVA::KDEKernel::~KDEKernel ( void  )
virtual

destructor

Definition at line 84 of file KDEKernel.cxx.

Member Function Documentation

◆ GetBinKernelIntegral()

Float_t TMVA::KDEKernel::GetBinKernelIntegral ( Float_t  lowr,
Float_t  highr,
Float_t  mean,
Int_t  binnum 
)

calculates the integral of the Kernel

Definition at line 225 of file KDEKernel.cxx.

◆ GetName()

const char * TMVA::KDEKernel::GetName ( ) const
inline

Definition at line 71 of file KDEKernel.h.

◆ Log()

MsgLogger & TMVA::KDEKernel::Log ( ) const
inlineprivate

Definition at line 89 of file KDEKernel.h.

◆ SetKernelType()

void TMVA::KDEKernel::SetKernelType ( EKernelType  ktype = kGauss)

fIter == 1 —> nonadaptive KDE fIter == 2 —> adaptive KDE

Definition at line 120 of file KDEKernel.cxx.

Member Data Documentation

◆ fFineFactor

Float_t TMVA::KDEKernel::fFineFactor
private

Definition at line 79 of file KDEKernel.h.

◆ fFirstIterHist

TH1F* TMVA::KDEKernel::fFirstIterHist
private

Definition at line 83 of file KDEKernel.h.

◆ fHiddenIteration

Bool_t TMVA::KDEKernel::fHiddenIteration
private

Definition at line 85 of file KDEKernel.h.

◆ fHist

TH1F* TMVA::KDEKernel::fHist
private

Definition at line 82 of file KDEKernel.h.

◆ fIter

EKernelIter TMVA::KDEKernel::fIter
private

Definition at line 76 of file KDEKernel.h.

◆ fKDEborder

EKernelBorder TMVA::KDEKernel::fKDEborder
private

Definition at line 81 of file KDEKernel.h.

◆ fKernel_integ

TF1* TMVA::KDEKernel::fKernel_integ
private

Definition at line 80 of file KDEKernel.h.

◆ fLogger

MsgLogger* TMVA::KDEKernel::fLogger
mutableprivate

Definition at line 88 of file KDEKernel.h.

◆ fLowerEdge

Float_t TMVA::KDEKernel::fLowerEdge
private

Definition at line 77 of file KDEKernel.h.

◆ fSigma

Float_t TMVA::KDEKernel::fSigma
private

Definition at line 75 of file KDEKernel.h.

◆ fSigmaHist

TH1F* TMVA::KDEKernel::fSigmaHist
private

Definition at line 84 of file KDEKernel.h.

◆ fUpperEdge

Float_t TMVA::KDEKernel::fUpperEdge
private

Definition at line 78 of file KDEKernel.h.

Libraries for TMVA::KDEKernel:
[legend]

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