29 #ifndef ROOT_TMVA_BinarySearchTreeNode 30 #define ROOT_TMVA_BinarySearchTreeNode 46 #ifndef ROOT_TMVA_Node 99 virtual void Print( std::ostream& os )
const;
102 virtual void PrintRec( std::ostream& os )
const;
virtual void PrintRec(std::ostream &os) const
recursively print the node and its daughters (–> print the 'tree')
virtual Bool_t GoesRight(const Event &) const
check if the event fed into the node goes/decends to the right daughter
virtual Bool_t GoesLeft(const Event &) const
check if the event fed into the node goes/decends to the left daughter
#define TMVA_VERSION_CODE
std::vector< Float_t > fTargets
virtual Bool_t ReadDataRecord(std::istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
Read the data block.
#define ClassDef(name, id)
std::vector< Float_t > fEventV
void SetSelector(Short_t i)
virtual void AddContentToNode(std::stringstream &s) const
adding attributes to tree node
Float_t GetWeight() const
virtual ~BinarySearchTreeNode()
node destructor
virtual void ReadAttributes(void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
read attributes from XML
virtual Node * CreateNode() const
virtual void AddAttributesToNode(void *node) const
adding attributes to tree node
virtual Bool_t EqualsMe(const Event &) const
check if the event fed into the node actually equals the event that forms the node (in case of a sear...
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
BinarySearchTreeNode(const Event *e=NULL, UInt_t signalClass=0)
constructor of a node for the search tree
const std::vector< Float_t > & GetEventV() const
Abstract ClassifierFactory template that handles arbitrary types.
virtual void Print(std::ostream &os) const
print the node
Short_t GetSelector() const
virtual void ReadContent(std::stringstream &s)
read events from node
const std::vector< Float_t > & GetTargets() const