ROOT » TMVA » TMVA » TMVA::QuickMVAProbEstimator

class TMVA::QuickMVAProbEstimator

Function Members (Methods)

private:
TMVA::MsgLogger&Log() const

Data Members

private:
vector<TMVA::QuickMVAProbEstimator::EventInfo>fEvtVector
Bool_tfIsSorted
TMVA::MsgLogger*fLogger
UInt_tfNMax
UInt_tfNMin

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void AddEvent(Double_t val, Double_t weight, Int_t type)
Double_t GetMVAProbAt(Double_t value)
 Well.. if it's fast is actually another question all together, merely
 it's a quick and dirty simple kNN approach to the 1-Dim signal/backgr. MVA
 distributions.
bool compare(TMVA::QuickMVAProbEstimator::EventInfo e1, TMVA::QuickMVAProbEstimator::EventInfo e2)
{return e1.eventValue < e2.eventValue;}
QuickMVAProbEstimator(Int_t nMin = 40, Int_t nMax = 5000)
{ fLogger = new MsgLogger("QuickMVAProbEstimator");}
virtual ~QuickMVAProbEstimator()
{delete fLogger;}