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

Definition at line 59 of file DataInputHandler.h.

Public Member Functions

 TreeInfo (TTree *tr, const TString &className, Double_t weight=1.0, Types::ETreeType tt=Types::kMaxTreeType, Bool_t own=kFALSE)
 
 ~TreeInfo ()
 
TTreeGetTree () const
 
Double_t GetWeight () const
 
UInt_t GetEntries () const
 
Types::ETreeType GetTreeType () const
 
const TStringGetClassName () const
 

Private Attributes

TTreefTree
 
TString fClassName
 pointer to the tree More...
 
Double_t fWeight
 name of the class the tree belongs to More...
 
Types::ETreeType fTreeType
 weight for the tree More...
 
Bool_t fOwner
 tree is for training/testing/both More...
 

#include <TMVA/DataInputHandler.h>

+ Collaboration diagram for TMVA::TreeInfo:

Constructor & Destructor Documentation

TMVA::TreeInfo::TreeInfo ( TTree tr,
const TString className,
Double_t  weight = 1.0,
Types::ETreeType  tt = Types::kMaxTreeType,
Bool_t  own = kFALSE 
)
inline

Definition at line 63 of file DataInputHandler.h.

TMVA::TreeInfo::~TreeInfo ( )
inline

Definition at line 65 of file DataInputHandler.h.

Member Function Documentation

const TString& TMVA::TreeInfo::GetClassName ( ) const
inline

Definition at line 71 of file DataInputHandler.h.

Referenced by TMVA::DataSetFactory::ChangeToNewTree().

UInt_t TMVA::TreeInfo::GetEntries ( ) const
inline

Definition at line 69 of file DataInputHandler.h.

TTree* TMVA::TreeInfo::GetTree ( ) const
inline
Types::ETreeType TMVA::TreeInfo::GetTreeType ( ) const
inline

Definition at line 70 of file DataInputHandler.h.

Referenced by TMVA::DataSetFactory::BuildEventVector().

Double_t TMVA::TreeInfo::GetWeight ( ) const
inline

Definition at line 68 of file DataInputHandler.h.

Referenced by TMVA::DataSetFactory::BuildEventVector().

Member Data Documentation

TString TMVA::TreeInfo::fClassName
private

pointer to the tree

Definition at line 76 of file DataInputHandler.h.

Referenced by GetClassName().

Bool_t TMVA::TreeInfo::fOwner
private

tree is for training/testing/both

Definition at line 79 of file DataInputHandler.h.

Referenced by ~TreeInfo().

TTree* TMVA::TreeInfo::fTree
private

Definition at line 75 of file DataInputHandler.h.

Referenced by GetEntries(), GetTree(), and ~TreeInfo().

Types::ETreeType TMVA::TreeInfo::fTreeType
private

weight for the tree

Definition at line 78 of file DataInputHandler.h.

Referenced by GetTreeType().

Double_t TMVA::TreeInfo::fWeight
private

name of the class the tree belongs to

Definition at line 77 of file DataInputHandler.h.

Referenced by GetWeight().


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