TMVA::PDEFoam Class Reference

#include <PDEFoam.h>

Inheritance diagram for TMVA::PDEFoam:

TObject TObject List of all members.

Public Member Functions

 PDEFoam ()
 PDEFoam (const TString &)
virtual ~PDEFoam ()
void Init ()
void FillBinarySearchTree (const Event *ev, Bool_t NoNegWeights=kFALSE)
void Create ()
void FillFoamCells (const Event *ev, Bool_t NoNegWeights=kFALSE)
void CalcCellDiscr ()
void CalcCellTarget ()
void ResetCellElements (Bool_t allcells=false)
void SetDim (Int_t kDim)
void SetnCells (Long_t nCells)
void SetnSampl (Long_t nSampl)
void SetnBin (Int_t nBin)
void SetEvPerBin (Int_t EvPerBin)
void SetInhiDiv (Int_t, Int_t)
void SetNElements (UInt_t numb)
void SetVolumeFraction (Float_t vfr)
void SetFoamType (EFoamType ft)
void SetFillFoamWithOrigWeights (Bool_t new_val)
void SetDTSeparation (EDTSeparation new_val)
void SetPeekMax (Bool_t new_val)
Int_t GetTotDim () const
TString GetFoamName () const
UInt_t GetNElements () const
Float_t GetVolumeFraction () const
EFoamType GetFoamType () const
UInt_t GetNActiveCells () const
UInt_t GetNInActiveCells () const
UInt_t GetNCells () const
PDEFoamCellGetRootCell () const
void SetNmin (UInt_t val)
UInt_t GetNmin ()
Bool_t GetFillFoamWithOrigWeights () const
void SetMaxDepth (UInt_t maxdepth)
UInt_t GetMaxDepth () const
void SetXmin (Int_t idim, Double_t wmin)
void SetXmax (Int_t idim, Double_t wmax)
Double_t GetXmin (Int_t idim) const
Double_t GetXmax (Int_t idim) const
void AddVariableName (const char *s)
void AddVariableName (TObjString *s)
TObjStringGetVariableName (Int_t idx)
void DeleteBinarySearchTree ()
Float_t VarTransform (Int_t idim, Float_t x) const
std::vector< Float_tVarTransform (std::vector< Float_t > &invec) const
Float_t VarTransformInvers (Int_t idim, Float_t x) const
std::vector< Float_tVarTransformInvers (std::vector< Float_t > &invec) const
void CheckAll (Int_t)
void PrintCell (Long_t iCell=0)
void PrintCells ()
void CheckCells (Bool_t remove_empty_cells=false)
void RemoveEmptyCell (Int_t iCell)
void PrintCellElements ()
MsgLoggerLog () const
void ReadStream (istream &)
void PrintStream (ostream &) const
void ReadXML (void *parent)
void AddXMLTo (void *parent)
TH2DProject2 (Int_t idim1, Int_t idim2, const char *opt="cell_value", const char *ker="kNone", UInt_t maxbins=50)
Double_t GetProjectionCellValue (PDEFoamCell *cell, Int_t idim1, Int_t idim2, ECellValue cv)
TH1DDraw1Dim (const char *opt, Int_t nbin)
void RootPlot2dim (const TString &filename, TString opt, Bool_t CreateCanvas=kTRUE, Bool_t colors=kTRUE, Bool_t log_colors=kFALSE)
Double_t GetCellValue (std::vector< Float_t > &, ECellValue)
Double_t GetCellDiscr (std::vector< Float_t > &xvec, EKernel kernel=kNone)
Double_t GetCellDensity (std::vector< Float_t > &xvec, EKernel kernel=kNone)
Double_t GetAverageNeighborsValue (std::vector< Float_t > &txvec, ECellValue cv)
Double_t GetCellRegValue0 (std::vector< Float_t > &, EKernel kernel=kNone)
std::vector< Float_tGetProjectedRegValue (std::vector< Float_t > &vals, EKernel kernel=kNone, ETargetSelection ts=kMean)
 PDEFoam ()
 PDEFoam (const TString &)
virtual ~PDEFoam ()
void Init ()
void FillBinarySearchTree (const Event *ev, Bool_t NoNegWeights=kFALSE)
void Create ()
void FillFoamCells (const Event *ev, Bool_t NoNegWeights=kFALSE)
void CalcCellDiscr ()
void CalcCellTarget ()
void ResetCellElements (Bool_t allcells=false)
void SetDim (Int_t kDim)
void SetnCells (Long_t nCells)
void SetnSampl (Long_t nSampl)
void SetnBin (Int_t nBin)
void SetEvPerBin (Int_t EvPerBin)
void SetInhiDiv (Int_t, Int_t)
void SetNElements (UInt_t numb)
void SetVolumeFraction (Float_t vfr)
void SetFoamType (EFoamType ft)
void SetFillFoamWithOrigWeights (Bool_t new_val)
void SetDTSeparation (EDTSeparation new_val)
void SetPeekMax (Bool_t new_val)
Int_t GetTotDim () const
TString GetFoamName () const
UInt_t GetNElements () const
Float_t GetVolumeFraction () const
EFoamType GetFoamType () const
UInt_t GetNActiveCells () const
UInt_t GetNInActiveCells () const
UInt_t GetNCells () const
PDEFoamCellGetRootCell () const
void SetNmin (UInt_t val)
UInt_t GetNmin ()
Bool_t GetFillFoamWithOrigWeights () const
void SetMaxDepth (UInt_t maxdepth)
UInt_t GetMaxDepth () const
void SetXmin (Int_t idim, Double_t wmin)
void SetXmax (Int_t idim, Double_t wmax)
Double_t GetXmin (Int_t idim) const
Double_t GetXmax (Int_t idim) const
void AddVariableName (const char *s)
void AddVariableName (TObjString *s)
TObjStringGetVariableName (Int_t idx)
void DeleteBinarySearchTree ()
Float_t VarTransform (Int_t idim, Float_t x) const
std::vector< Float_tVarTransform (std::vector< Float_t > &invec) const
Float_t VarTransformInvers (Int_t idim, Float_t x) const
std::vector< Float_tVarTransformInvers (std::vector< Float_t > &invec) const
void CheckAll (Int_t)
void PrintCell (Long_t iCell=0)
void PrintCells ()
void CheckCells (Bool_t remove_empty_cells=false)
void RemoveEmptyCell (Int_t iCell)
void PrintCellElements ()
MsgLoggerLog () const
void ReadStream (istream &)
void PrintStream (ostream &) const
void ReadXML (void *parent)
void AddXMLTo (void *parent)
TH2DProject2 (Int_t idim1, Int_t idim2, const char *opt="cell_value", const char *ker="kNone", UInt_t maxbins=50)
Double_t GetProjectionCellValue (PDEFoamCell *cell, Int_t idim1, Int_t idim2, ECellValue cv)
TH1DDraw1Dim (const char *opt, Int_t nbin)
void RootPlot2dim (const TString &filename, TString opt, Bool_t CreateCanvas=kTRUE, Bool_t colors=kTRUE, Bool_t log_colors=kFALSE)
Double_t GetCellValue (std::vector< Float_t > &, ECellValue)
Double_t GetCellDiscr (std::vector< Float_t > &xvec, EKernel kernel=kNone)
Double_t GetCellDensity (std::vector< Float_t > &xvec, EKernel kernel=kNone)
Double_t GetAverageNeighborsValue (std::vector< Float_t > &txvec, ECellValue cv)
Double_t GetCellRegValue0 (std::vector< Float_t > &, EKernel kernel=kNone)
std::vector< Float_tGetProjectedRegValue (std::vector< Float_t > &vals, EKernel kernel=kNone, ETargetSelection ts=kMean)

Protected Member Functions

void OutputGrow (Bool_t finished=false)
Float_t WeightGaus (PDEFoamCell *, std::vector< Float_t > &, UInt_t dim=0)
Double_t WeightLinNeighbors (std::vector< Float_t > &txvec, ECellValue cv, Int_t dim1=-1, Int_t dim2=-1, Bool_t TreatEmptyCells=kFALSE)
void InitCells ()
Int_t CellFill (Int_t, PDEFoamCell *)
void Explore (PDEFoamCell *Cell)
void DTExplore (PDEFoamCell *Cell)
void Varedu (Double_t[], Int_t &, Double_t &, Double_t &)
void MakeAlpha ()
void Grow ()
Long_t PeekMax ()
Long_t PeekLast ()
Int_t Divide (PDEFoamCell *)
Double_t Eval (Double_t *xRand, Double_t &event_density)
Float_t GetSeparation (Float_t s, Float_t b)
Double_t GetCellElement (PDEFoamCell *cell, UInt_t i)
void SetCellElement (PDEFoamCell *cell, UInt_t i, Double_t value)
Double_t GetCellValue (PDEFoamCell *, ECellValue)
Bool_t CellValueIsUndefined (PDEFoamCell *)
PDEFoamCellFindCell (std::vector< Float_t > &)
std::vector< TMVA::PDEFoamCell * > FindCells (std::vector< Float_t > &)
void FindCellsRecursive (std::vector< Float_t > &, PDEFoamCell *, std::vector< PDEFoamCell * > &)
std::vector< Float_tGetCellTargets (std::vector< Float_t > &tvals, ETargetSelection ts)
Double_t GetBuildUpCellEvents (PDEFoamCell *cell)
 PDEFoam (const PDEFoam &)
void OutputGrow (Bool_t finished=false)
Float_t WeightGaus (PDEFoamCell *, std::vector< Float_t > &, UInt_t dim=0)
Double_t WeightLinNeighbors (std::vector< Float_t > &txvec, ECellValue cv, Int_t dim1=-1, Int_t dim2=-1, Bool_t TreatEmptyCells=kFALSE)
void InitCells ()
Int_t CellFill (Int_t, PDEFoamCell *)
void Explore (PDEFoamCell *Cell)
void DTExplore (PDEFoamCell *Cell)
void Varedu (Double_t[], Int_t &, Double_t &, Double_t &)
void MakeAlpha ()
void Grow ()
Long_t PeekMax ()
Long_t PeekLast ()
Int_t Divide (PDEFoamCell *)
Double_t Eval (Double_t *xRand, Double_t &event_density)
Float_t GetSeparation (Float_t s, Float_t b)
Double_t GetCellElement (PDEFoamCell *cell, UInt_t i)
void SetCellElement (PDEFoamCell *cell, UInt_t i, Double_t value)
Double_t GetCellValue (PDEFoamCell *, ECellValue)
Bool_t CellValueIsUndefined (PDEFoamCell *)
PDEFoamCellFindCell (std::vector< Float_t > &)
std::vector< TMVA::PDEFoamCell * > FindCells (std::vector< Float_t > &)
void FindCellsRecursive (std::vector< Float_t > &, PDEFoamCell *, std::vector< PDEFoamCell * > &)
std::vector< Float_tGetCellTargets (std::vector< Float_t > &tvals, ETargetSelection ts)
Double_t GetBuildUpCellEvents (PDEFoamCell *cell)
 PDEFoam (const PDEFoam &)

Protected Attributes

TString fName
Int_t fDim
Int_t fNCells
Int_t fNBin
Int_t fNSampl
Int_t fEvPerBin
Int_tfMaskDiv
Int_tfInhiDiv
 [fDim] Dynamic Mask for cell division
Int_t fNoAct
 [fDim] Flags for inhibiting cell division
Int_t fLastCe
PDEFoamCell ** fCells
TObjArrayfHistEdg
Double_tfRvec
TRandom3fPseRan
Double_tfAlpha
EFoamType fFoamType
Double_tfXmin
Double_tfXmax
UInt_t fNElements
UInt_t fNmin
UInt_t fMaxDepth
Float_t fVolFrac
Bool_t fFillFoamWithOrigWeights
EDTSeparation fDTSeparation
Bool_t fPeekMax
PDEFoamDistrfDistr
TimerfTimer
 distribution of training events
TObjArrayfVariableNames
MsgLoggerfLogger
Int_tfMaskDiv
Int_tfInhiDiv
 [fDim] Dynamic Mask for cell division
PDEFoamCell ** fCells
TObjArrayfHistEdg
Double_tfRvec
TRandom3fPseRan
Double_tfAlpha
Double_tfXmin
Double_tfXmax
PDEFoamDistrfDistr
TimerfTimer
 distribution of training events
TObjArrayfVariableNames
MsgLoggerfLogger

Private Member Functions

template<typename T>
T Sqr (T x) const
 message logger
PDEFoamDistrGetDistr () const
template<typename T>
T Sqr (T x) const
 message logger
PDEFoamDistrGetDistr () const

Friends

std::ostream & operator<< (std::ostream &os, const PDEFoam &pdefoam)
std::istream & operator>> (std::istream &istr, PDEFoam &pdefoam)
std::ostream & operator<< (std::ostream &os, const PDEFoam &pdefoam)
std::istream & operator>> (std::istream &istr, PDEFoam &pdefoam)

Detailed Description

Definition at line 107 of file PDEFoam.h.


Constructor & Destructor Documentation

TMVA::PDEFoam::PDEFoam ( const PDEFoam  )  [protected]

Definition at line 187 of file PDEFoam.cxx.

References Endl, TMVA::kFATAL, and Log().

TMVA::PDEFoam::PDEFoam (  ) 

Definition at line 91 of file PDEFoam.cxx.

TMVA::PDEFoam::PDEFoam ( const TString  ) 

Definition at line 126 of file PDEFoam.cxx.

References Endl, TMVA::kFATAL, and Log().

TMVA::PDEFoam::~PDEFoam (  )  [virtual]

Definition at line 163 of file PDEFoam.cxx.

References fAlpha, fCells, fDistr, fInhiDiv, fLogger, fMaskDiv, fNCells, fPseRan, fRvec, fTimer, fVariableNames, fXmax, fXmin, and i.

TMVA::PDEFoam::PDEFoam ( const PDEFoam  )  [protected]

TMVA::PDEFoam::PDEFoam (  ) 

TMVA::PDEFoam::PDEFoam ( const TString  ) 

virtual TMVA::PDEFoam::~PDEFoam (  )  [virtual]


Member Function Documentation

template<typename T>
T TMVA::PDEFoam::Sqr ( T  x  )  const [inline, private]

message logger

Definition at line 153 of file PDEFoam.h.

Referenced by CalcCellDiscr(), and WeightGaus().

PDEFoamDistr* TMVA::PDEFoam::GetDistr (  )  const [inline, private]

Definition at line 154 of file PDEFoam.h.

References fDistr.

Referenced by FillBinarySearchTree(), Init(), and SetFoamType().

void TMVA::PDEFoam::OutputGrow ( Bool_t  finished = false  )  [protected]

Definition at line 2470 of file PDEFoam.cxx.

References TMVA::Timer::DrawProgressBar(), Endl, fLastCe, fNCells, fTimer, TMVA::Timer::GetElapsedTime(), TMVA::kINFO, and Log().

Referenced by Grow().

Float_t TMVA::PDEFoam::WeightGaus ( PDEFoamCell ,
std::vector< Float_t > &  ,
UInt_t  dim = 0 
) [protected]

Definition at line 1918 of file PDEFoam.cxx.

References RootCsg::distance(), Endl, TMath::Gaus(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), GetVolumeFraction(), i, kFALSE, TMVA::kFATAL, TMVA::kWARNING, Log(), Sqr(), TMath::Sqrt(), and width.

Referenced by GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetProjectedRegValue(), and Project2().

Double_t TMVA::PDEFoam::WeightLinNeighbors ( std::vector< Float_t > &  txvec,
ECellValue  cv,
Int_t  dim1 = -1,
Int_t  dim2 = -1,
Bool_t  TreatEmptyCells = kFALSE 
) [protected]

Definition at line 1834 of file PDEFoam.cxx.

References CellValueIsUndefined(), Endl, FindCell(), GetAverageNeighborsValue(), GetCellValue(), TMVA::PDEFoamCell::GetHcub(), GetProjectionCellValue(), GetTotDim(), TMVA::kFATAL, Log(), norm(), and result().

Referenced by GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), and Project2().

void TMVA::PDEFoam::InitCells (  )  [protected]

Definition at line 323 of file PDEFoam.cxx.

References CellFill(), DTExplore(), Endl, Explore(), fCells, fDim, fDTSeparation, fLastCe, fNCells, GetNmin(), i, TMVA::kFATAL, TMVA::kFoam, Log(), ResetCellElements(), SetNElements(), and TMVA::PDEFoamCell::SetSerial().

Referenced by Create().

Int_t TMVA::PDEFoam::CellFill ( Int_t  ,
PDEFoamCell  
) [protected]

Definition at line 362 of file PDEFoam.cxx.

References Endl, fCells, TMVA::PDEFoamCell::Fill(), fLastCe, fNCells, TMVA::PDEFoamCell::GetDriv(), TMVA::PDEFoamCell::GetIntg(), TMVA::kFATAL, Log(), TMVA::PDEFoamCell::SetBest(), TMVA::PDEFoamCell::SetDriv(), TMVA::PDEFoamCell::SetIntg(), and TMVA::PDEFoamCell::SetXdiv().

Referenced by Divide(), and InitCells().

void TMVA::PDEFoam::Explore ( PDEFoamCell Cell  )  [protected]

Definition at line 393 of file PDEFoam.cxx.

References TMVA::PDEFoamCell::CalcVolume(), Endl, Eval(), fAlpha, fCells, fDim, fEvPerBin, fHistEdg, fInhiDiv, fMaskDiv, fNBin, fNSampl, GetBuildUpCellEvents(), TMVA::PDEFoamCell::GetDriv(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetIntg(), GetNmin(), TMVA::PDEFoamCell::GetPare(), TMVA::PDEFoamCell::GetVolume(), gHigh, gVlow, i, j, k, TMVA::kFATAL, TMVA::kWARNING, Log(), MakeAlpha(), Reset(), TMVA::PDEFoamCell::SetBest(), SetCellElement(), TMVA::PDEFoamCell::SetDriv(), TMVA::PDEFoamCell::SetIntg(), TMVA::PDEFoamCell::SetXdiv(), sqrt(), and Varedu().

Referenced by Divide(), and InitCells().

void TMVA::PDEFoam::DTExplore ( PDEFoamCell Cell  )  [protected]

Definition at line 535 of file PDEFoam.cxx.

References TMVA::PDEFoamCell::CalcVolume(), Endl, fDim, fDistr, TMVA::PDEFoamDistr::FillHist(), fNBin, Form(), GetNmin(), GetSeparation(), TMVA::kFATAL, TMVA::kWARNING, Log(), TMVA::PDEFoamCell::SetBest(), SetCellElement(), TMVA::PDEFoamCell::SetDriv(), TMVA::PDEFoamCell::SetIntg(), and TMVA::PDEFoamCell::SetXdiv().

Referenced by Divide(), and InitCells().

void TMVA::PDEFoam::Varedu ( Double_t  [],
Int_t ,
Double_t ,
Double_t  
) [protected]

Referenced by Explore().

void TMVA::PDEFoam::MakeAlpha (  )  [protected]

Definition at line 734 of file PDEFoam.cxx.

References fAlpha, fPseRan, fRvec, k, and TRandom3::RndmArray().

Referenced by Explore().

void TMVA::PDEFoam::Grow (  )  [protected]

Definition at line 899 of file PDEFoam.cxx.

References CheckAll(), Divide(), Endl, fCells, fLastCe, fNCells, fPeekMax, fTimer, GetNActiveCells(), TMVA::Timer::Init(), kTRUE, TMVA::kVERBOSE, Log(), OutputGrow(), PeekLast(), and PeekMax().

Referenced by Create().

Long_t TMVA::PDEFoam::PeekMax (  )  [protected]

Definition at line 745 of file PDEFoam.cxx.

References TMath::Abs(), Endl, RootCsg::epsilon, fCells, fLastCe, GetBuildUpCellEvents(), TMVA::PDEFoamCell::GetDepth(), GetMaxDepth(), GetNmin(), i, kTRUE, TMVA::kVERBOSE, TMVA::kWARNING, and Log().

Referenced by Grow().

Long_t TMVA::PDEFoam::PeekLast (  )  [protected]

Definition at line 800 of file PDEFoam.cxx.

References Endl, RootCsg::epsilon, fCells, fLastCe, GetBuildUpCellEvents(), GetDepth(), GetMaxDepth(), GetNmin(), i, kTRUE, TMVA::kVERBOSE, TMVA::kWARNING, and Log().

Referenced by Grow().

Int_t TMVA::PDEFoam::Divide ( PDEFoamCell  )  [protected]

Definition at line 849 of file PDEFoam.cxx.

References CellFill(), DTExplore(), Endl, Explore(), fCells, fDTSeparation, fLastCe, fNCells, fNoAct, TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetXdiv(), TMVA::kFATAL, TMVA::kFoam, Log(), TMVA::PDEFoamCell::SetDau0(), TMVA::PDEFoamCell::SetDau1(), and TMVA::PDEFoamCell::SetStat().

Referenced by Grow().

Double_t TMVA::PDEFoam::Eval ( Double_t xRand,
Double_t event_density 
) [protected]

Definition at line 891 of file PDEFoam.cxx.

References TMVA::PDEFoamDistr::Density(), and fDistr.

Referenced by Explore().

Float_t TMVA::PDEFoam::GetSeparation ( Float_t  s,
Float_t  b 
) [protected]

Definition at line 639 of file PDEFoam.cxx.

References Endl, fDTSeparation, TMVA::kCrossEntropy, TMVA::kFATAL, TMVA::kFoam, TMVA::kGiniIndex, TMVA::kMisClassificationError, TMath::Log(), Log(), TMath::Max(), and p.

Referenced by DTExplore().

Double_t TMVA::PDEFoam::GetCellElement ( PDEFoamCell cell,
UInt_t  i 
) [protected]

Definition at line 2437 of file PDEFoam.cxx.

References Endl, TMVA::PDEFoamCell::GetElement(), GetNElements(), TMVA::kFATAL, and Log().

Referenced by CalcCellDiscr(), CalcCellTarget(), FillFoamCells(), GetBuildUpCellEvents(), GetCellValue(), and PrintCellElements().

void TMVA::PDEFoam::SetCellElement ( PDEFoamCell cell,
UInt_t  i,
Double_t  value 
) [protected]

Definition at line 2452 of file PDEFoam.cxx.

References Endl, TMVA::PDEFoamCell::GetElement(), GetNElements(), TMVA::kFATAL, and Log().

Referenced by CalcCellDiscr(), CalcCellTarget(), DTExplore(), Explore(), and FillFoamCells().

Double_t TMVA::PDEFoam::GetCellValue ( PDEFoamCell ,
ECellValue   
) [protected]

Definition at line 1745 of file PDEFoam.cxx.

References Endl, GetCellElement(), GetFoamType(), TMVA::kDensity, TMVA::kDiscr, TMVA::kDiscriminator, TMVA::kDiscriminatorError, TMVA::kMeanValue, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, TMVA::kTarget0Error, TMVA::kWARNING, and Log().

Referenced by CellValueIsUndefined(), Draw1Dim(), GetAverageNeighborsValue(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetCellTargets(), GetCellValue(), GetProjectionCellValue(), RootPlot2dim(), and WeightLinNeighbors().

Bool_t TMVA::PDEFoam::CellValueIsUndefined ( PDEFoamCell  )  [protected]

Definition at line 1518 of file PDEFoam.cxx.

References GetCellValue(), GetFoamType(), TMVA::kDiscr, kFALSE, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kSeparate, and TMVA::kTarget0Error.

Referenced by GetAverageNeighborsValue(), and WeightLinNeighbors().

TMVA::PDEFoamCell * TMVA::PDEFoam::FindCell ( std::vector< Float_t > &   )  [protected]

Definition at line 1984 of file PDEFoam.cxx.

References fCells, TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetStat(), and GetTotDim().

Referenced by FillFoamCells(), GetAverageNeighborsValue(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetCellValue(), and WeightLinNeighbors().

std::vector< TMVA::PDEFoamCell * > TMVA::PDEFoam::FindCells ( std::vector< Float_t > &   )  [protected]

Definition at line 2056 of file PDEFoam.cxx.

References fCells, and FindCellsRecursive().

Referenced by GetCellTargets().

void TMVA::PDEFoam::FindCellsRecursive ( std::vector< Float_t > &  ,
PDEFoamCell ,
std::vector< PDEFoamCell * > &   
) [protected]

Definition at line 2013 of file PDEFoam.cxx.

References TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetStat(), and GetTotDim().

Referenced by FindCells().

std::vector< Float_t > TMVA::PDEFoam::GetCellTargets ( std::vector< Float_t > &  tvals,
ETargetSelection  ts 
) [protected]

Definition at line 1539 of file PDEFoam.cxx.

References FindCells(), fXmax, fXmin, GetCellValue(), GetTotDim(), TMVA::kDensity, TMVA::kMean, norm(), and VarTransformInvers().

Referenced by GetProjectedRegValue().

Double_t TMVA::PDEFoam::GetBuildUpCellEvents ( PDEFoamCell cell  )  [protected]

Definition at line 1826 of file PDEFoam.cxx.

References GetCellElement().

Referenced by Explore(), PeekLast(), and PeekMax().

void TMVA::PDEFoam::Init (  ) 

Definition at line 2713 of file PDEFoam.cxx.

References GetDistr(), TMVA::PDEFoamDistr::Initialize(), and TMVA::PDEFoamDistr::SetPDEFoam().

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::FillBinarySearchTree ( const Event ev,
Bool_t  NoNegWeights = kFALSE 
)

Definition at line 2698 of file PDEFoam.cxx.

References TMVA::PDEFoamDistr::FillBinarySearchTree(), GetDistr(), and GetFoamType().

void TMVA::PDEFoam::Create (  ) 

Definition at line 257 of file PDEFoam.cxx.

References TH1::AddDirectory(), TH1::AddDirectoryStatus(), TString::Data(), Endl, fAlpha, fDim, fDistr, fHistEdg, fInhiDiv, fMaskDiv, fName, fNBin, fPseRan, fRvec, Grow(), i, InitCells(), kFALSE, TMVA::kFATAL, Log(), ResetCellElements(), and SetNElements().

void TMVA::PDEFoam::FillFoamCells ( const Event ev,
Bool_t  NoNegWeights = kFALSE 
)

Definition at line 1335 of file PDEFoam.cxx.

References Endl, fFillFoamWithOrigWeights, FindCell(), GetCellElement(), TMVA::Event::GetClass(), GetFoamType(), TMVA::Event::GetOriginalWeight(), TMVA::Event::GetTargets(), TMVA::Event::GetValues(), TMVA::Event::GetWeight(), TMVA::kDiscr, TMVA::kFATAL, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kSeparate, Log(), SetCellElement(), and VarTransform().

void TMVA::PDEFoam::CalcCellDiscr (  ) 

Definition at line 1247 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, GetCellElement(), TMVA::kWARNING, Log(), SetCellElement(), Sqr(), and TMath::Sqrt().

void TMVA::PDEFoam::CalcCellTarget (  ) 

Definition at line 1222 of file PDEFoam.cxx.

References fCells, fLastCe, GetCellElement(), SetCellElement(), and TMath::Sqrt().

void TMVA::PDEFoam::ResetCellElements ( Bool_t  allcells = false  ) 

Definition at line 1176 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, fNCells, GetNElements(), i, TMVA::kVERBOSE, Log(), and TMVA::PDEFoamCell::SetElement().

Referenced by Create(), and InitCells().

void TMVA::PDEFoam::SetDim ( Int_t  kDim  ) 

Definition at line 223 of file PDEFoam.cxx.

References Endl, fDim, fXmax, fXmin, GetTotDim(), TMVA::kFATAL, and Log().

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetnCells ( Long_t  nCells  )  [inline]

Definition at line 238 of file PDEFoam.h.

References fNCells.

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetnSampl ( Long_t  nSampl  )  [inline]

Definition at line 239 of file PDEFoam.h.

References fNSampl.

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetnBin ( Int_t  nBin  )  [inline]

Definition at line 240 of file PDEFoam.h.

References fNBin.

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetEvPerBin ( Int_t  EvPerBin  )  [inline]

Definition at line 241 of file PDEFoam.h.

References fEvPerBin.

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetInhiDiv ( Int_t  ,
Int_t   
)

Definition at line 938 of file PDEFoam.cxx.

References Endl, fInhiDiv, i, TMVA::kFATAL, and Log().

void TMVA::PDEFoam::SetNElements ( UInt_t  numb  )  [inline]

Definition at line 243 of file PDEFoam.h.

References fNElements.

Referenced by Create(), and InitCells().

void TMVA::PDEFoam::SetVolumeFraction ( Float_t  vfr  )  [inline]

Definition at line 244 of file PDEFoam.h.

References fVolFrac.

Referenced by TMVA::MethodPDEFoam::InitFoam(), ReadStream(), and ReadXML().

void TMVA::PDEFoam::SetFoamType ( EFoamType  ft  ) 

Definition at line 2722 of file PDEFoam.cxx.

References fFoamType, GetDistr(), TMVA::kDiscr, TMVA::kDISCRIMINATOR, TMVA::kEVENT_DENSITY, TMVA::kMonoTarget, TMVA::kTARGET, and TMVA::PDEFoamDistr::SetDensityCalc().

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetFillFoamWithOrigWeights ( Bool_t  new_val  )  [inline]

Definition at line 246 of file PDEFoam.h.

References fFillFoamWithOrigWeights.

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetDTSeparation ( EDTSeparation  new_val  )  [inline]

Definition at line 247 of file PDEFoam.h.

References fDTSeparation.

Referenced by TMVA::MethodPDEFoam::InitFoam().

void TMVA::PDEFoam::SetPeekMax ( Bool_t  new_val  )  [inline]

Definition at line 248 of file PDEFoam.h.

References fPeekMax.

Referenced by TMVA::MethodPDEFoam::InitFoam().

Int_t TMVA::PDEFoam::GetTotDim (  )  const [inline]

Definition at line 251 of file PDEFoam.h.

References fDim.

Referenced by AddXMLTo(), TMVA::PDEFoamDistr::Density(), Draw1Dim(), TMVA::PDEFoamDistr::FillHist(), FindCell(), FindCellsRecursive(), GetAverageNeighborsValue(), GetCellTargets(), GetProjectedRegValue(), GetProjectionCellValue(), Plot(), PrintStream(), Project2(), ReadStream(), ReadXML(), RootPlot2dim(), SetDim(), SetXmax(), SetXmin(), WeightGaus(), and WeightLinNeighbors().

TString TMVA::PDEFoam::GetFoamName (  )  const [inline]

Definition at line 252 of file PDEFoam.h.

References fName.

UInt_t TMVA::PDEFoam::GetNElements (  )  const [inline]

Definition at line 253 of file PDEFoam.h.

References fNElements.

Referenced by GetCellElement(), PrintCellElements(), ResetCellElements(), and SetCellElement().

Float_t TMVA::PDEFoam::GetVolumeFraction (  )  const [inline]

Definition at line 254 of file PDEFoam.h.

References fVolFrac.

Referenced by AddXMLTo(), TMVA::PDEFoamDistr::Density(), PrintStream(), and WeightGaus().

EFoamType TMVA::PDEFoam::GetFoamType (  )  const [inline]

Definition at line 255 of file PDEFoam.h.

References fFoamType.

Referenced by CellValueIsUndefined(), Draw1Dim(), FillBinarySearchTree(), FillFoamCells(), GetCellValue(), Project2(), and RootPlot2dim().

UInt_t TMVA::PDEFoam::GetNActiveCells (  )  const [inline]

Definition at line 256 of file PDEFoam.h.

References fNoAct.

Referenced by GetNInActiveCells(), and Grow().

UInt_t TMVA::PDEFoam::GetNInActiveCells (  )  const [inline]

Definition at line 257 of file PDEFoam.h.

References GetNActiveCells(), and GetNCells().

UInt_t TMVA::PDEFoam::GetNCells (  )  const [inline]

Definition at line 258 of file PDEFoam.h.

References fNCells.

Referenced by GetNInActiveCells().

PDEFoamCell* TMVA::PDEFoam::GetRootCell (  )  const [inline]

Definition at line 259 of file PDEFoam.h.

References fCells.

void TMVA::PDEFoam::SetNmin ( UInt_t  val  )  [inline]

Definition at line 262 of file PDEFoam.h.

References fNmin.

Referenced by TMVA::MethodPDEFoam::InitFoam().

UInt_t TMVA::PDEFoam::GetNmin (  )  [inline]

Definition at line 263 of file PDEFoam.h.

References fNmin.

Referenced by DTExplore(), Explore(), InitCells(), PeekLast(), and PeekMax().

Bool_t TMVA::PDEFoam::GetFillFoamWithOrigWeights (  )  const [inline]

Definition at line 264 of file PDEFoam.h.

References fFillFoamWithOrigWeights.

void TMVA::PDEFoam::SetMaxDepth ( UInt_t  maxdepth  )  [inline]

Definition at line 265 of file PDEFoam.h.

References fMaxDepth.

Referenced by TMVA::MethodPDEFoam::InitFoam().

UInt_t TMVA::PDEFoam::GetMaxDepth (  )  const [inline]

Definition at line 266 of file PDEFoam.h.

References fMaxDepth.

Referenced by PeekLast(), and PeekMax().

void TMVA::PDEFoam::SetXmin ( Int_t  idim,
Double_t  wmin 
)

Definition at line 237 of file PDEFoam.cxx.

References Endl, fXmin, GetTotDim(), TMVA::kFATAL, and Log().

Referenced by TMVA::MethodPDEFoam::SetXminXmax().

void TMVA::PDEFoam::SetXmax ( Int_t  idim,
Double_t  wmax 
)

Definition at line 247 of file PDEFoam.cxx.

References Endl, fXmax, GetTotDim(), TMVA::kFATAL, and Log().

Referenced by TMVA::MethodPDEFoam::SetXminXmax().

Double_t TMVA::PDEFoam::GetXmin ( Int_t  idim  )  const [inline]

Definition at line 271 of file PDEFoam.h.

References fXmin.

Double_t TMVA::PDEFoam::GetXmax ( Int_t  idim  )  const [inline]

Definition at line 272 of file PDEFoam.h.

References fXmax.

void TMVA::PDEFoam::AddVariableName ( const char *  s  )  [inline]

Definition at line 275 of file PDEFoam.h.

Referenced by AddVariableName().

void TMVA::PDEFoam::AddVariableName ( TObjString s  )  [inline]

Definition at line 276 of file PDEFoam.h.

References TObjArray::Add(), fVariableNames, and s.

TObjString* TMVA::PDEFoam::GetVariableName ( Int_t  idx  )  [inline]

Definition at line 277 of file PDEFoam.h.

References TObjArray::At(), and fVariableNames.

Referenced by Plot().

void TMVA::PDEFoam::DeleteBinarySearchTree (  ) 

Definition at line 2705 of file PDEFoam.cxx.

References fDistr, and NULL.

Float_t TMVA::PDEFoam::VarTransform ( Int_t  idim,
Float_t  x 
) const [inline]

Definition at line 358 of file PDEFoam.h.

References fXmax, and fXmin.

Referenced by Draw1Dim(), FillFoamCells(), TMVA::PDEFoamDistr::FillHist(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetCellValue(), GetProjectedRegValue(), Project2(), and VarTransform().

std::vector< Float_t > TMVA::PDEFoam::VarTransform ( std::vector< Float_t > &  invec  )  const [inline]

Definition at line 365 of file PDEFoam.h.

References i, and VarTransform().

Float_t TMVA::PDEFoam::VarTransformInvers ( Int_t  idim,
Float_t  x 
) const [inline]

Definition at line 375 of file PDEFoam.h.

References fXmax, and fXmin.

Referenced by TMVA::PDEFoamDistr::FillHist(), GetCellTargets(), PrintCell(), Project2(), and VarTransformInvers().

std::vector< Float_t > TMVA::PDEFoam::VarTransformInvers ( std::vector< Float_t > &  invec  )  const [inline]

Definition at line 382 of file PDEFoam.h.

References i, and VarTransformInvers().

void TMVA::PDEFoam::CheckAll ( Int_t   ) 

Definition at line 957 of file PDEFoam.cxx.

References E, Endl, errors, fCells, fLastCe, TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetPare(), TMVA::PDEFoamCell::GetStat(), TMVA::PDEFoamCell::GetVolume(), TObject::Info(), TMVA::kFATAL, TMVA::kVERBOSE, and Log().

Referenced by Grow().

void TMVA::PDEFoam::PrintCell ( Long_t  iCell = 0  ) 

Definition at line 1032 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetXdiv(), TMVA::kWARNING, Log(), TMVA::PDEFoamCell::Print(), and VarTransformInvers().

Referenced by PrintCells().

void TMVA::PDEFoam::PrintCells (  ) 

Definition at line 1068 of file PDEFoam.cxx.

References fLastCe, and PrintCell().

void TMVA::PDEFoam::CheckCells ( Bool_t  remove_empty_cells = false  ) 

Definition at line 1129 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, TMVA::PDEFoamCell::GetVolume(), TMVA::kWARNING, Log(), and RemoveEmptyCell().

void TMVA::PDEFoam::RemoveEmptyCell ( Int_t  iCell  ) 

Definition at line 1077 of file PDEFoam.cxx.

References Endl, fCells, TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetIntg(), TMVA::PDEFoamCell::GetPare(), TMVA::PDEFoamCell::GetVolume(), TMVA::kDEBUG, TMVA::kWARNING, Log(), TMVA::PDEFoamCell::SetDau0(), TMVA::PDEFoamCell::SetDau1(), TMVA::PDEFoamCell::SetPare(), and TMVA::PDEFoamCell::SetStat().

Referenced by CheckCells().

void TMVA::PDEFoam::PrintCellElements (  ) 

Definition at line 1158 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, GetCellElement(), GetNElements(), i, and Log().

MsgLogger& TMVA::PDEFoam::Log (  )  const [inline]

Definition at line 301 of file PDEFoam.h.

References fLogger.

Referenced by CalcCellDiscr(), CellFill(), CheckAll(), CheckCells(), Create(), Divide(), Draw1Dim(), DTExplore(), Explore(), FillFoamCells(), GetCellDensity(), GetCellDiscr(), GetCellElement(), GetCellRegValue0(), GetCellValue(), GetProjectedRegValue(), GetProjectionCellValue(), GetSeparation(), Grow(), InitCells(), TMVA::MethodPDEFoam::InitFoam(), OutputGrow(), PDEFoam(), PeekLast(), PeekMax(), PrintCell(), PrintCellElements(), Project2(), ReadStream(), ReadXML(), RemoveEmptyCell(), ResetCellElements(), RootPlot2dim(), SetCellElement(), SetDim(), SetInhiDiv(), SetXmax(), SetXmin(), WeightGaus(), and WeightLinNeighbors().

void TMVA::PDEFoam::ReadStream ( istream &   ) 

Definition at line 2758 of file PDEFoam.cxx.

References Endl, fLastCe, fNCells, fXmax, fXmin, GetTotDim(), i, TMVA::kERROR, TMVA::kVERBOSE, Log(), and SetVolumeFraction().

Referenced by TMVA::operator>>().

void TMVA::PDEFoam::PrintStream ( ostream &   )  const

Definition at line 2790 of file PDEFoam.cxx.

References fLastCe, fNCells, fXmax, fXmin, GetTotDim(), GetVolumeFraction(), and i.

Referenced by TMVA::operator<<().

void TMVA::PDEFoam::ReadXML ( void *  parent  ) 

Definition at line 2834 of file PDEFoam.cxx.

References Endl, fLastCe, fNCells, fXmax, fXmin, TMVA::Tools::GetChild(), TMVA::Tools::GetNextChild(), GetTotDim(), TMVA::gTools(), i, TMVA::kERROR, TMVA::kFATAL, Log(), TMVA::Tools::ReadAttr(), SetVolumeFraction(), and variables().

void TMVA::PDEFoam::AddXMLTo ( void *  parent  ) 

Definition at line 2808 of file PDEFoam.cxx.

References TMVA::Tools::AddAttr(), TMVA::Tools::AddChild(), fLastCe, fNCells, fXmax, fXmin, GetTotDim(), GetVolumeFraction(), TMVA::gTools(), i, and variables().

TH2D * TMVA::PDEFoam::Project2 ( Int_t  idim1,
Int_t  idim2,
const char *  opt = "cell_value",
const char *  ker = "kNone",
UInt_t  maxbins = 50 
)

Definition at line 2177 of file PDEFoam.cxx.

References TString::Data(), Endl, fCells, TAxis::FindBin(), fLastCe, Form(), fXmax, fXmin, gDirectory, TDirectory::Get(), TH2D::GetBinContent(), GetFoamType(), TMVA::PDEFoamCell::GetHcub(), GetProjectionCellValue(), GetTotDim(), TH1::GetXaxis(), TH1::GetYaxis(), h1, i, TMVA::kDiscr, TMVA::kDiscriminator, TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kNone, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, TMVA::kWARNING, Log(), TMath::Max(), norm(), result(), TH2D::SetBinContent(), VarTransform(), VarTransformInvers(), WeightGaus(), WeightLinNeighbors(), x1, and x2.

Referenced by Plot().

Double_t TMVA::PDEFoam::GetProjectionCellValue ( PDEFoamCell cell,
Int_t  idim1,
Int_t  idim2,
ECellValue  cv 
)

Definition at line 2372 of file PDEFoam.cxx.

References Endl, fXmax, fXmin, GetCellValue(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), TMVA::kDiscriminator, TMVA::kDiscriminatorError, TMVA::kFATAL, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kTarget0, TMVA::kWARNING, and Log().

Referenced by Project2(), and WeightLinNeighbors().

TH1D * TMVA::PDEFoam::Draw1Dim ( const char *  opt,
Int_t  nbin 
)

Definition at line 2080 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, Form(), fXmax, fXmin, gDirectory, TDirectory::Get(), TH1::GetBinCenter(), TH2D::GetBinContent(), GetCellValue(), GetFoamType(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), TMVA::PDEFoamCell::GetVolume(), h1, TMVA::kDiscr, TMVA::kDiscriminator, TMVA::kFATAL, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, TMVA::kWARNING, Log(), TH2D::SetBinContent(), and VarTransform().

Referenced by Plot().

void TMVA::PDEFoam::RootPlot2dim ( const TString filename,
TString  opt,
Bool_t  CreateCanvas = kTRUE,
Bool_t  colors = kTRUE,
Bool_t  log_colors = kFALSE 
)

Definition at line 2488 of file PDEFoam.cxx.

References TString::Contains(), Endl, fCells, fLastCe, fName, GetCellValue(), TStyle::GetColorPalette(), GetFoamType(), TStyle::GetNumberOfColors(), GetTotDim(), gStyle, TMVA::kDiscr, TMVA::kDiscriminator, kFALSE, TMVA::kFATAL, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, kTRUE, TMath::Log(), Log(), out, outfile, TStyle::SetPalette(), value, x, x1, x2, and y.

Double_t TMVA::PDEFoam::GetCellValue ( std::vector< Float_t > &  ,
ECellValue   
)

Definition at line 1815 of file PDEFoam.cxx.

References FindCell(), GetCellValue(), and VarTransform().

Double_t TMVA::PDEFoam::GetCellDiscr ( std::vector< Float_t > &  xvec,
EKernel  kernel = kNone 
)

Definition at line 1286 of file PDEFoam.cxx.

References Endl, fCells, FindCell(), fLastCe, GetCellValue(), TMVA::kDiscriminator, TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kNone, Log(), norm(), result(), VarTransform(), WeightGaus(), and WeightLinNeighbors().

Double_t TMVA::PDEFoam::GetCellDensity ( std::vector< Float_t > &  xvec,
EKernel  kernel = kNone 
)

Definition at line 1692 of file PDEFoam.cxx.

References Endl, fCells, FindCell(), fLastCe, GetCellValue(), TMVA::kDensity, TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kNone, Log(), norm(), result(), VarTransform(), WeightGaus(), and WeightLinNeighbors().

Double_t TMVA::PDEFoam::GetAverageNeighborsValue ( std::vector< Float_t > &  txvec,
ECellValue  cv 
)

Definition at line 1468 of file PDEFoam.cxx.

References CellValueIsUndefined(), FindCell(), GetCellValue(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), norm(), and result().

Referenced by GetCellRegValue0(), and WeightLinNeighbors().

Double_t TMVA::PDEFoam::GetCellRegValue0 ( std::vector< Float_t > &  ,
EKernel  kernel = kNone 
)

Definition at line 1401 of file PDEFoam.cxx.

References Endl, fCells, FindCell(), fLastCe, GetAverageNeighborsValue(), GetCellValue(), TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kNone, TMVA::kTarget0, TMVA::kTarget0Error, kTRUE, Log(), norm(), result(), VarTransform(), WeightGaus(), and WeightLinNeighbors().

std::vector< Float_t > TMVA::PDEFoam::GetProjectedRegValue ( std::vector< Float_t > &  vals,
EKernel  kernel = kNone,
ETargetSelection  ts = kMean 
)

Definition at line 1613 of file PDEFoam.cxx.

References Endl, fCells, fLastCe, fXmax, fXmin, GetCellTargets(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), k, TMVA::kFATAL, TMVA::kGaus, TMVA::kNone, TMVA::kWARNING, l, Log(), norm(), val, VarTransform(), and WeightGaus().

template<typename T>
T TMVA::PDEFoam::Sqr ( T  x  )  const [inline, private]

message logger

Definition at line 153 of file PDEFoam.h.

PDEFoamDistr* TMVA::PDEFoam::GetDistr (  )  const [inline, private]

Definition at line 154 of file PDEFoam.h.

References fDistr.

void TMVA::PDEFoam::OutputGrow ( Bool_t  finished = false  )  [protected]

Float_t TMVA::PDEFoam::WeightGaus ( PDEFoamCell ,
std::vector< Float_t > &  ,
UInt_t  dim = 0 
) [protected]

Double_t TMVA::PDEFoam::WeightLinNeighbors ( std::vector< Float_t > &  txvec,
ECellValue  cv,
Int_t  dim1 = -1,
Int_t  dim2 = -1,
Bool_t  TreatEmptyCells = kFALSE 
) [protected]

void TMVA::PDEFoam::InitCells (  )  [protected]

Int_t TMVA::PDEFoam::CellFill ( Int_t  ,
PDEFoamCell  
) [protected]

void TMVA::PDEFoam::Explore ( PDEFoamCell Cell  )  [protected]

void TMVA::PDEFoam::DTExplore ( PDEFoamCell Cell  )  [protected]

void TMVA::PDEFoam::Varedu ( Double_t  [],
Int_t ,
Double_t ,
Double_t  
) [protected]

void TMVA::PDEFoam::MakeAlpha (  )  [protected]

void TMVA::PDEFoam::Grow (  )  [protected]

Long_t TMVA::PDEFoam::PeekMax (  )  [protected]

Long_t TMVA::PDEFoam::PeekLast (  )  [protected]

Int_t TMVA::PDEFoam::Divide ( PDEFoamCell  )  [protected]

Double_t TMVA::PDEFoam::Eval ( Double_t xRand,
Double_t event_density 
) [protected]

Float_t TMVA::PDEFoam::GetSeparation ( Float_t  s,
Float_t  b 
) [protected]

Double_t TMVA::PDEFoam::GetCellElement ( PDEFoamCell cell,
UInt_t  i 
) [protected]

void TMVA::PDEFoam::SetCellElement ( PDEFoamCell cell,
UInt_t  i,
Double_t  value 
) [protected]

Double_t TMVA::PDEFoam::GetCellValue ( PDEFoamCell ,
ECellValue   
) [protected]

Bool_t TMVA::PDEFoam::CellValueIsUndefined ( PDEFoamCell  )  [protected]

PDEFoamCell* TMVA::PDEFoam::FindCell ( std::vector< Float_t > &   )  [protected]

std::vector<TMVA::PDEFoamCell*> TMVA::PDEFoam::FindCells ( std::vector< Float_t > &   )  [protected]

void TMVA::PDEFoam::FindCellsRecursive ( std::vector< Float_t > &  ,
PDEFoamCell ,
std::vector< PDEFoamCell * > &   
) [protected]

std::vector<Float_t> TMVA::PDEFoam::GetCellTargets ( std::vector< Float_t > &  tvals,
ETargetSelection  ts 
) [protected]

Double_t TMVA::PDEFoam::GetBuildUpCellEvents ( PDEFoamCell cell  )  [protected]

void TMVA::PDEFoam::Init (  ) 

void TMVA::PDEFoam::FillBinarySearchTree ( const Event ev,
Bool_t  NoNegWeights = kFALSE 
)

void TMVA::PDEFoam::Create (  ) 

void TMVA::PDEFoam::FillFoamCells ( const Event ev,
Bool_t  NoNegWeights = kFALSE 
)

void TMVA::PDEFoam::CalcCellDiscr (  ) 

void TMVA::PDEFoam::CalcCellTarget (  ) 

void TMVA::PDEFoam::ResetCellElements ( Bool_t  allcells = false  ) 

void TMVA::PDEFoam::SetDim ( Int_t  kDim  ) 

void TMVA::PDEFoam::SetnCells ( Long_t  nCells  )  [inline]

Definition at line 238 of file PDEFoam.h.

References fNCells.

void TMVA::PDEFoam::SetnSampl ( Long_t  nSampl  )  [inline]

Definition at line 239 of file PDEFoam.h.

References fNSampl.

void TMVA::PDEFoam::SetnBin ( Int_t  nBin  )  [inline]

Definition at line 240 of file PDEFoam.h.

References fNBin.

void TMVA::PDEFoam::SetEvPerBin ( Int_t  EvPerBin  )  [inline]

Definition at line 241 of file PDEFoam.h.

References fEvPerBin.

void TMVA::PDEFoam::SetInhiDiv ( Int_t  ,
Int_t   
)

void TMVA::PDEFoam::SetNElements ( UInt_t  numb  )  [inline]

Definition at line 243 of file PDEFoam.h.

References fNElements.

void TMVA::PDEFoam::SetVolumeFraction ( Float_t  vfr  )  [inline]

Definition at line 244 of file PDEFoam.h.

References fVolFrac.

void TMVA::PDEFoam::SetFoamType ( EFoamType  ft  ) 

void TMVA::PDEFoam::SetFillFoamWithOrigWeights ( Bool_t  new_val  )  [inline]

Definition at line 246 of file PDEFoam.h.

References fFillFoamWithOrigWeights.

void TMVA::PDEFoam::SetDTSeparation ( EDTSeparation  new_val  )  [inline]

Definition at line 247 of file PDEFoam.h.

References fDTSeparation.

void TMVA::PDEFoam::SetPeekMax ( Bool_t  new_val  )  [inline]

Definition at line 248 of file PDEFoam.h.

References fPeekMax.

Int_t TMVA::PDEFoam::GetTotDim (  )  const [inline]

Definition at line 251 of file PDEFoam.h.

References fDim.

TString TMVA::PDEFoam::GetFoamName (  )  const [inline]

Definition at line 252 of file PDEFoam.h.

References fName.

UInt_t TMVA::PDEFoam::GetNElements (  )  const [inline]

Definition at line 253 of file PDEFoam.h.

References fNElements.

Float_t TMVA::PDEFoam::GetVolumeFraction (  )  const [inline]

Definition at line 254 of file PDEFoam.h.

References fVolFrac.

EFoamType TMVA::PDEFoam::GetFoamType (  )  const [inline]

Definition at line 255 of file PDEFoam.h.

References fFoamType.

UInt_t TMVA::PDEFoam::GetNActiveCells (  )  const [inline]

Definition at line 256 of file PDEFoam.h.

References fNoAct.

UInt_t TMVA::PDEFoam::GetNInActiveCells (  )  const [inline]

Definition at line 257 of file PDEFoam.h.

References GetNActiveCells(), and GetNCells().

UInt_t TMVA::PDEFoam::GetNCells (  )  const [inline]

Definition at line 258 of file PDEFoam.h.

References fNCells.

PDEFoamCell* TMVA::PDEFoam::GetRootCell (  )  const [inline]

Definition at line 259 of file PDEFoam.h.

References fCells.

void TMVA::PDEFoam::SetNmin ( UInt_t  val  )  [inline]

Definition at line 262 of file PDEFoam.h.

References fNmin.

UInt_t TMVA::PDEFoam::GetNmin (  )  [inline]

Definition at line 263 of file PDEFoam.h.

References fNmin.

Bool_t TMVA::PDEFoam::GetFillFoamWithOrigWeights (  )  const [inline]

Definition at line 264 of file PDEFoam.h.

References fFillFoamWithOrigWeights.

void TMVA::PDEFoam::SetMaxDepth ( UInt_t  maxdepth  )  [inline]

Definition at line 265 of file PDEFoam.h.

References fMaxDepth.

UInt_t TMVA::PDEFoam::GetMaxDepth (  )  const [inline]

Definition at line 266 of file PDEFoam.h.

References fMaxDepth.

void TMVA::PDEFoam::SetXmin ( Int_t  idim,
Double_t  wmin 
)

void TMVA::PDEFoam::SetXmax ( Int_t  idim,
Double_t  wmax 
)

Double_t TMVA::PDEFoam::GetXmin ( Int_t  idim  )  const [inline]

Definition at line 271 of file PDEFoam.h.

References fXmin.

Double_t TMVA::PDEFoam::GetXmax ( Int_t  idim  )  const [inline]

Definition at line 272 of file PDEFoam.h.

References fXmax.

void TMVA::PDEFoam::AddVariableName ( const char *  s  )  [inline]

Definition at line 275 of file PDEFoam.h.

References AddVariableName().

void TMVA::PDEFoam::AddVariableName ( TObjString s  )  [inline]

Definition at line 276 of file PDEFoam.h.

References TObjArray::Add(), fVariableNames, and s.

TObjString* TMVA::PDEFoam::GetVariableName ( Int_t  idx  )  [inline]

Definition at line 277 of file PDEFoam.h.

References TObjArray::At(), and fVariableNames.

void TMVA::PDEFoam::DeleteBinarySearchTree (  ) 

Float_t TMVA::PDEFoam::VarTransform ( Int_t  idim,
Float_t  x 
) const

std::vector<Float_t> TMVA::PDEFoam::VarTransform ( std::vector< Float_t > &  invec  )  const

Float_t TMVA::PDEFoam::VarTransformInvers ( Int_t  idim,
Float_t  x 
) const

std::vector<Float_t> TMVA::PDEFoam::VarTransformInvers ( std::vector< Float_t > &  invec  )  const

void TMVA::PDEFoam::CheckAll ( Int_t   ) 

void TMVA::PDEFoam::PrintCell ( Long_t  iCell = 0  ) 

void TMVA::PDEFoam::PrintCells (  ) 

void TMVA::PDEFoam::CheckCells ( Bool_t  remove_empty_cells = false  ) 

void TMVA::PDEFoam::RemoveEmptyCell ( Int_t  iCell  ) 

void TMVA::PDEFoam::PrintCellElements (  ) 

MsgLogger& TMVA::PDEFoam::Log (  )  const [inline]

Definition at line 301 of file PDEFoam.h.

References fLogger.

void TMVA::PDEFoam::ReadStream ( istream &   ) 

void TMVA::PDEFoam::PrintStream ( ostream &   )  const

void TMVA::PDEFoam::ReadXML ( void *  parent  ) 

void TMVA::PDEFoam::AddXMLTo ( void *  parent  ) 

TH2D* TMVA::PDEFoam::Project2 ( Int_t  idim1,
Int_t  idim2,
const char *  opt = "cell_value",
const char *  ker = "kNone",
UInt_t  maxbins = 50 
)

Double_t TMVA::PDEFoam::GetProjectionCellValue ( PDEFoamCell cell,
Int_t  idim1,
Int_t  idim2,
ECellValue  cv 
)

TH1D* TMVA::PDEFoam::Draw1Dim ( const char *  opt,
Int_t  nbin 
)

void TMVA::PDEFoam::RootPlot2dim ( const TString filename,
TString  opt,
Bool_t  CreateCanvas = kTRUE,
Bool_t  colors = kTRUE,
Bool_t  log_colors = kFALSE 
)

Double_t TMVA::PDEFoam::GetCellValue ( std::vector< Float_t > &  ,
ECellValue   
)

Double_t TMVA::PDEFoam::GetCellDiscr ( std::vector< Float_t > &  xvec,
EKernel  kernel = kNone 
)

Double_t TMVA::PDEFoam::GetCellDensity ( std::vector< Float_t > &  xvec,
EKernel  kernel = kNone 
)

Double_t TMVA::PDEFoam::GetAverageNeighborsValue ( std::vector< Float_t > &  txvec,
ECellValue  cv 
)

Double_t TMVA::PDEFoam::GetCellRegValue0 ( std::vector< Float_t > &  ,
EKernel  kernel = kNone 
)

std::vector<Float_t> TMVA::PDEFoam::GetProjectedRegValue ( std::vector< Float_t > &  vals,
EKernel  kernel = kNone,
ETargetSelection  ts = kMean 
)


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const PDEFoam pdefoam 
) [friend]

std::istream& operator>> ( std::istream &  istr,
PDEFoam pdefoam 
) [friend]

std::ostream& operator<< ( std::ostream &  os,
const PDEFoam pdefoam 
) [friend]

std::istream& operator>> ( std::istream &  istr,
PDEFoam pdefoam 
) [friend]


Member Data Documentation

TString TMVA::PDEFoam::fName [protected]

Definition at line 111 of file PDEFoam.h.

Referenced by Create(), GetFoamName(), and RootPlot2dim().

Int_t TMVA::PDEFoam::fDim [protected]

Definition at line 112 of file PDEFoam.h.

Referenced by Create(), DTExplore(), Explore(), GetTotDim(), InitCells(), and SetDim().

Int_t TMVA::PDEFoam::fNCells [protected]

Definition at line 113 of file PDEFoam.h.

Referenced by AddXMLTo(), CellFill(), Divide(), GetNCells(), Grow(), InitCells(), OutputGrow(), PrintStream(), ReadStream(), ReadXML(), ResetCellElements(), SetnCells(), and ~PDEFoam().

Int_t TMVA::PDEFoam::fNBin [protected]

Definition at line 115 of file PDEFoam.h.

Referenced by Create(), DTExplore(), Explore(), and SetnBin().

Int_t TMVA::PDEFoam::fNSampl [protected]

Definition at line 116 of file PDEFoam.h.

Referenced by Explore(), and SetnSampl().

Int_t TMVA::PDEFoam::fEvPerBin [protected]

Definition at line 117 of file PDEFoam.h.

Referenced by Explore(), and SetEvPerBin().

Int_t* TMVA::PDEFoam::fMaskDiv [protected]

Definition at line 119 of file PDEFoam.h.

Referenced by Create(), Explore(), and ~PDEFoam().

Int_t* TMVA::PDEFoam::fInhiDiv [protected]

[fDim] Dynamic Mask for cell division

Definition at line 120 of file PDEFoam.h.

Referenced by Create(), Explore(), SetInhiDiv(), and ~PDEFoam().

Int_t TMVA::PDEFoam::fNoAct [protected]

[fDim] Flags for inhibiting cell division

Definition at line 122 of file PDEFoam.h.

Referenced by Divide(), and GetNActiveCells().

Int_t TMVA::PDEFoam::fLastCe [protected]

Definition at line 123 of file PDEFoam.h.

Referenced by AddXMLTo(), CalcCellDiscr(), CalcCellTarget(), CellFill(), CheckAll(), CheckCells(), Divide(), Draw1Dim(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetProjectedRegValue(), Grow(), InitCells(), OutputGrow(), PeekLast(), PeekMax(), PrintCell(), PrintCellElements(), PrintCells(), PrintStream(), Project2(), ReadStream(), ReadXML(), ResetCellElements(), and RootPlot2dim().

PDEFoamCell** TMVA::PDEFoam::fCells [protected]

Definition at line 124 of file PDEFoam.h.

Referenced by CalcCellDiscr(), CalcCellTarget(), CellFill(), CheckAll(), CheckCells(), Divide(), Draw1Dim(), Explore(), FindCell(), FindCells(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetProjectedRegValue(), GetRootCell(), Grow(), InitCells(), PeekLast(), PeekMax(), PrintCell(), PrintCellElements(), Project2(), RemoveEmptyCell(), ResetCellElements(), RootPlot2dim(), and ~PDEFoam().

TObjArray* TMVA::PDEFoam::fHistEdg [protected]

Definition at line 126 of file PDEFoam.h.

Referenced by Create(), and Explore().

Double_t* TMVA::PDEFoam::fRvec [protected]

Definition at line 127 of file PDEFoam.h.

Referenced by Create(), MakeAlpha(), and ~PDEFoam().

TRandom3* TMVA::PDEFoam::fPseRan [protected]

Definition at line 129 of file PDEFoam.h.

Referenced by Create(), MakeAlpha(), and ~PDEFoam().

Double_t* TMVA::PDEFoam::fAlpha [protected]

Definition at line 131 of file PDEFoam.h.

Referenced by Create(), Explore(), MakeAlpha(), and ~PDEFoam().

EFoamType TMVA::PDEFoam::fFoamType [protected]

Definition at line 133 of file PDEFoam.h.

Referenced by GetFoamType(), and SetFoamType().

Double_t* TMVA::PDEFoam::fXmin [protected]

Definition at line 134 of file PDEFoam.h.

Referenced by AddXMLTo(), Draw1Dim(), GetCellTargets(), GetProjectedRegValue(), GetProjectionCellValue(), GetXmin(), PrintStream(), Project2(), ReadStream(), ReadXML(), SetDim(), SetXmin(), VarTransform(), VarTransformInvers(), and ~PDEFoam().

Double_t* TMVA::PDEFoam::fXmax [protected]

Definition at line 135 of file PDEFoam.h.

Referenced by AddXMLTo(), Draw1Dim(), GetCellTargets(), GetProjectedRegValue(), GetProjectionCellValue(), GetXmax(), PrintStream(), Project2(), ReadStream(), ReadXML(), SetDim(), SetXmax(), VarTransform(), VarTransformInvers(), and ~PDEFoam().

UInt_t TMVA::PDEFoam::fNElements [protected]

Definition at line 136 of file PDEFoam.h.

Referenced by GetNElements(), and SetNElements().

UInt_t TMVA::PDEFoam::fNmin [protected]

Definition at line 137 of file PDEFoam.h.

Referenced by GetNmin(), and SetNmin().

UInt_t TMVA::PDEFoam::fMaxDepth [protected]

Definition at line 138 of file PDEFoam.h.

Referenced by GetMaxDepth(), and SetMaxDepth().

Float_t TMVA::PDEFoam::fVolFrac [protected]

Definition at line 139 of file PDEFoam.h.

Referenced by GetVolumeFraction(), and SetVolumeFraction().

Bool_t TMVA::PDEFoam::fFillFoamWithOrigWeights [protected]

Definition at line 140 of file PDEFoam.h.

Referenced by FillFoamCells(), GetFillFoamWithOrigWeights(), and SetFillFoamWithOrigWeights().

EDTSeparation TMVA::PDEFoam::fDTSeparation [protected]

Definition at line 141 of file PDEFoam.h.

Referenced by Divide(), GetSeparation(), InitCells(), and SetDTSeparation().

Bool_t TMVA::PDEFoam::fPeekMax [protected]

Definition at line 142 of file PDEFoam.h.

Referenced by Grow(), and SetPeekMax().

PDEFoamDistr* TMVA::PDEFoam::fDistr [protected]

Definition at line 143 of file PDEFoam.h.

Referenced by Create(), DeleteBinarySearchTree(), DTExplore(), Eval(), GetDistr(), and ~PDEFoam().

Timer* TMVA::PDEFoam::fTimer [protected]

distribution of training events

Definition at line 144 of file PDEFoam.h.

Referenced by Grow(), OutputGrow(), and ~PDEFoam().

TObjArray* TMVA::PDEFoam::fVariableNames [protected]

Definition at line 145 of file PDEFoam.h.

Referenced by AddVariableName(), GetVariableName(), and ~PDEFoam().

MsgLogger* TMVA::PDEFoam::fLogger [mutable, protected]

Definition at line 146 of file PDEFoam.h.

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

Int_t* TMVA::PDEFoam::fMaskDiv [protected]

Definition at line 119 of file PDEFoam.h.

Int_t* TMVA::PDEFoam::fInhiDiv [protected]

[fDim] Dynamic Mask for cell division

Definition at line 120 of file PDEFoam.h.

PDEFoamCell** TMVA::PDEFoam::fCells [protected]

Definition at line 124 of file PDEFoam.h.

TObjArray* TMVA::PDEFoam::fHistEdg [protected]

Definition at line 126 of file PDEFoam.h.

Double_t* TMVA::PDEFoam::fRvec [protected]

Definition at line 127 of file PDEFoam.h.

TRandom3* TMVA::PDEFoam::fPseRan [protected]

Definition at line 129 of file PDEFoam.h.

Double_t* TMVA::PDEFoam::fAlpha [protected]

Definition at line 131 of file PDEFoam.h.

Double_t* TMVA::PDEFoam::fXmin [protected]

Definition at line 134 of file PDEFoam.h.

Double_t* TMVA::PDEFoam::fXmax [protected]

Definition at line 135 of file PDEFoam.h.

PDEFoamDistr* TMVA::PDEFoam::fDistr [protected]

Definition at line 143 of file PDEFoam.h.

Timer* TMVA::PDEFoam::fTimer [protected]

distribution of training events

Definition at line 144 of file PDEFoam.h.

TObjArray* TMVA::PDEFoam::fVariableNames [protected]

Definition at line 145 of file PDEFoam.h.

MsgLogger* TMVA::PDEFoam::fLogger [mutable, protected]

Definition at line 146 of file PDEFoam.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 17:01:39 2011 for ROOT_528-00b_version by  doxygen 1.5.1