TMVA::TreeInfo Class Reference

#include <DataInputHandler.h>

List of all members.

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
 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
Double_t fWeight
 name of the class the tree belongs to
Types::ETreeType fTreeType
 weight for the tree
Bool_t fOwner
 tree is for training/testing/both
TTreefTree


Detailed Description

Definition at line 59 of file DataInputHandler.h.


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.

References fOwner, and fTree.

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.

References fOwner, and fTree.


Member Function Documentation

TTree* TMVA::TreeInfo::GetTree (  )  const [inline]

Definition at line 67 of file DataInputHandler.h.

References fTree.

Referenced by TMVA::DataSetFactory::BuildEventVector(), and TMVA::DataSetFactory::ChangeToNewTree().

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

Definition at line 68 of file DataInputHandler.h.

References fWeight.

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

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

Definition at line 69 of file DataInputHandler.h.

References fTree, and TTree::GetEntries().

Types::ETreeType TMVA::TreeInfo::GetTreeType (  )  const [inline]

Definition at line 70 of file DataInputHandler.h.

References fTreeType.

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

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

Definition at line 71 of file DataInputHandler.h.

References fClassName.

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

TTree* TMVA::TreeInfo::GetTree (  )  const [inline]

Definition at line 67 of file DataInputHandler.h.

References fTree.

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

Definition at line 68 of file DataInputHandler.h.

References fWeight.

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

Definition at line 69 of file DataInputHandler.h.

References fTree, and TTree::GetEntries().

Types::ETreeType TMVA::TreeInfo::GetTreeType (  )  const [inline]

Definition at line 70 of file DataInputHandler.h.

References fTreeType.

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

Definition at line 71 of file DataInputHandler.h.

References fClassName.


Member Data Documentation

TTree* TMVA::TreeInfo::fTree [private]

Definition at line 75 of file DataInputHandler.h.

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

TString TMVA::TreeInfo::fClassName [private]

pointer to the tree

Definition at line 76 of file DataInputHandler.h.

Referenced by GetClassName().

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().

Types::ETreeType TMVA::TreeInfo::fTreeType [private]

weight for the tree

Definition at line 78 of file DataInputHandler.h.

Referenced by GetTreeType().

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.


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