28 #ifndef ROOT_TMVA_DataInputHandler 29 #define ROOT_TMVA_DataInputHandler 51 #ifndef ROOT_TMVA_Types 94 void AddInputTrees (
TTree* inputTree,
const TCut& SigCut,
const TCut& BgCut);
102 std::vector< TString >* GetClassList()
const;
115 std::vector<TreeInfo>::const_iterator
begin(
const TString& className )
const {
return fInputTrees[className].begin(); }
116 std::vector<TreeInfo>::const_iterator
end(
const TString& className )
const {
return fInputTrees[className].end(); }
117 std::vector<TreeInfo>::const_iterator
Sbegin()
const {
return begin(
"Signal"); }
118 std::vector<TreeInfo>::const_iterator
Send()
const {
return end (
"Signal"); }
119 std::vector<TreeInfo>::const_iterator
Bbegin()
const {
return begin(
"Background"); }
120 std::vector<TreeInfo>::const_iterator
Bend()
const {
return end (
"Background"); }
125 void ClearTreeList(
const TString& className );
Types::ETreeType fTreeType
weight for the tree
UInt_t GetEntries() const
A specialized string object used for TTree selections.
Types::ETreeType GetTreeType() const
TString fClassName
pointer to the tree
Bool_t fOwner
tree is for training/testing/both
TreeInfo(TTree *tr, const TString &className, Double_t weight=1.0, Types::ETreeType tt=Types::kMaxTreeType, Bool_t own=kFALSE)
const TString & GetClassName() const
virtual Long64_t GetEntries() const
Abstract ClassifierFactory template that handles arbitrary types.
A TTree object has a header with a name and a title.
Double_t fWeight
name of the class the tree belongs to
Double_t GetWeight() const