BinarySearchTree A simple Binary search tree including a volume search method
void | TMVA::BinaryTree::DeleteNode(TMVA::Node*) |
TMVA::MsgLogger& | TMVA::BinaryTree::Log() const |
void | DestroyNode(TMVA::BinarySearchTreeNode*) |
void | Insert(const TMVA::Event*, TMVA::Node*) |
Bool_t | InVolume(const vector<Float_t>&, TMVA::Volume*) const |
void | NormalizeTree(vector<pair<double,const TMVA::Event*> >::iterator, vector<pair<double,const TMVA::Event*> >::iterator, UInt_t) |
TMVA::BinarySearchTreeNode* | Search(TMVA::Event*, TMVA::Node*) const |
Double_t | SearchVolume(TMVA::Node*, TMVA::Volume*, Int_t, vector<const TMVA::BinarySearchTreeNode*>* events) |
UInt_t | TMVA::BinaryTree::fDepth | maximal depth in tree reached |
UInt_t | TMVA::BinaryTree::fNNodes | total number of nodes in the tree (counted) |
TMVA::Node* | TMVA::BinaryTree::fRoot | the root node of the tree |
Bool_t | fCanNormalize | the tree can be normalised |
UInt_t | fCurrentDepth | internal variable, counting the depth of the tree during insertion |
vector<Float_t> | fMax[2] | RMS for signal and background for each variable |
vector<Float_t> | fMeans[2] | mean for signal and background for each variable |
vector<Float_t> | fMin[2] | RMS for signal and background for each variable |
Double_t | fNEventsW[2] | Number of events per class, taking into account event weights |
vector<pair<Double_t,const TMVA::Event*> > | fNormalizeTreeTable | |
UInt_t | fPeriod | periode (number of event variables) |
vector<Float_t> | fRMS[2] | RMS for signal and background for each variable |
Bool_t | fStatisticsIsValid | flag if last stat calculation is still valid, set to false if new node is insert |
vector<Double_t> | fSum[2] | Sum for signal and background for each variable |
Double_t | fSumOfWeights | Total number of events (weigthed) counted during filling |
vector<Double_t> | fSumSq[2] | Squared Sum for signal and background for each variable |
copy constructor that creates a true copy, i.e. a completely independent tree
re-create a new tree (decision tree or search tree) from XML
private internal function to insert a event (node) at the proper position
search the tree to find the node matching "event"
Private, recursive, function for searching.
create the search tree from the event collection
using ONLY the variables specified in "theVars"
create the search tree from the events in a TTree using ALL the variables specified included in the Event
search the whole tree and add up all weigths of events that lie within the given voluem
recursively walk through the daughter nodes and add up all weigths of events that lie within the given volume
test if the data points are in the given volume
recursively walk through the daughter nodes and add up all weigths of events that lie within the given volume a maximum number of events can be given
access to mean for signal and background for each variable
{ return fMeans[sb==Types::kSignal?0:1][var]; }
access to RMS for signal and background for each variable
{ return fRMS[sb==Types::kSignal?0:1][var]; }
access to Minimum for signal and background for each variable
{ return fMin[sb==Types::kSignal?0:1][var]; }
access to Maximum for signal and background for each variable
{ return fMax[sb==Types::kSignal?0:1][var]; }