PlotDecisionBoundary.C File Reference

#include <cstdlib>
#include <vector>
#include <iostream>
#include <map>
#include <string>
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TSystem.h"
#include "TROOT.h"
#include "TStopwatch.h"
#include "TGraph.h"
#include "TH2F.h"
#include "TH3F.h"
#include "TMVAGui.C"

Go to the source code of this file.

Functions

void plot (TH2D *sig, TH2D *bkg, TH2F *MVA, TString v0="var0", TString v1="var1")
void PlotDecisionBoundary (TString myMethodList="", TString v0="var0", TString v1="var1", TString dataFileName="/home/hvoss/TMVA/TMVA_data/data/data_3Bumps.root", TString weightFilePrefix="TMVA")


Function Documentation

void plot ( TH2D sig,
TH2D bkg,
TH2F MVA,
TString  v0 = "var0",
TString  v1 = "var1" 
)

Definition at line 35 of file PlotDecisionBoundary.C.

References c, TH1::Draw(), Form(), TNamed::GetTitle(), gStyle, TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TStyle::SetPalette(), TH1::SetStats(), TH1::SetXTitle(), TH1::SetYTitle(), and v1.

void PlotDecisionBoundary ( TString  myMethodList = "",
TString  v0 = "var0",
TString  v1 = "var1",
TString  dataFileName = "/home/hvoss/TMVA/TMVA_data/data/data_3Bumps.root",
TString  weightFilePrefix = "TMVA" 
)

Definition at line 55 of file PlotDecisionBoundary.C.

References TMVA::Reader::AddVariable(), background, TMVA::Reader::BookMVA(), dir(), TMVA::Reader::EvaluateMVA(), TH2::Fill(), TAxis::GetBinCenter(), TTree::GetEntry(), TTree::GetMaximum(), TTree::GetMinimum(), TH1::GetXaxis(), TH1::GetYaxis(), gStyle, TMVA::gTools(), i, TMVA::Tools::Instance(), Long64_t, nentries, plot(), prefix, TH2F::SetBinContent(), TTree::SetBranchAddress(), TAttMarker::SetMarkerColor(), TStyle::SetPalette(), TMVA::Tools::SplitString(), v1, TObject::Write(), xmax, xmin, ymax, and ymin.


Generated on Tue Jul 5 16:09:14 2011 for ROOT_528-00b_version by  doxygen 1.5.1