ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::KDEKernel Class Reference

Definition at line 52 of file KDEKernel.h.

Public Types

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

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.)
 
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...
 
void SetKernelType (EKernelType ktype=kGauss)
 fIter == 1 —> nonadaptive KDE fIter == 2 —> adaptive KDE More...
 
const char * GetName () const
 

Private Member Functions

MsgLoggerLog () const
 

Private Attributes

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

#include <TMVA/KDEKernel.h>

+ Collaboration diagram for TMVA::KDEKernel:

Member Enumeration Documentation

Enumerator
kNoTreatment 
kKernelRenorm 
kSampleMirror 

Definition at line 58 of file KDEKernel.h.

Enumerator
kNonadaptiveKDE 
kAdaptiveKDE 

Definition at line 57 of file KDEKernel.h.

Enumerator
kNone 
kGauss 

Definition at line 56 of file KDEKernel.h.

Constructor & Destructor Documentation

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. 
)
TMVA::KDEKernel::~KDEKernel ( void  )
virtual

destructor

Definition at line 76 of file KDEKernel.cxx.

Member Function Documentation

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 217 of file KDEKernel.cxx.

Referenced by TMVA::PDF::BuildKDEPDF().

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

Definition at line 73 of file KDEKernel.h.

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

Definition at line 91 of file KDEKernel.h.

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

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

Definition at line 112 of file KDEKernel.cxx.

Referenced by TMVA::PDF::BuildKDEPDF().

Member Data Documentation

Float_t TMVA::KDEKernel::fFineFactor
private

Definition at line 81 of file KDEKernel.h.

TH1F* TMVA::KDEKernel::fFirstIterHist
private

Definition at line 85 of file KDEKernel.h.

Referenced by ~KDEKernel().

Bool_t TMVA::KDEKernel::fHiddenIteration
private

Definition at line 87 of file KDEKernel.h.

TH1F* TMVA::KDEKernel::fHist
private

Definition at line 84 of file KDEKernel.h.

Referenced by ~KDEKernel().

EKernelIter TMVA::KDEKernel::fIter
private

Definition at line 78 of file KDEKernel.h.

EKernelBorder TMVA::KDEKernel::fKDEborder
private

Definition at line 83 of file KDEKernel.h.

TF1* TMVA::KDEKernel::fKernel_integ
private

Definition at line 82 of file KDEKernel.h.

Referenced by ~KDEKernel().

MsgLogger* TMVA::KDEKernel::fLogger
mutableprivate

Definition at line 90 of file KDEKernel.h.

Referenced by Log(), and ~KDEKernel().

Float_t TMVA::KDEKernel::fLowerEdge
private

Definition at line 79 of file KDEKernel.h.

Float_t TMVA::KDEKernel::fSigma
private

Definition at line 77 of file KDEKernel.h.

TH1F* TMVA::KDEKernel::fSigmaHist
private

Definition at line 86 of file KDEKernel.h.

Referenced by ~KDEKernel().

Float_t TMVA::KDEKernel::fUpperEdge
private

Definition at line 80 of file KDEKernel.h.


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