Getting Started:
----------------
How to compile the code:
------------------------
/home> cd TMVA
/home/TMVA> source setup.[c]sh // includes TMVA/lib in your lib path
/home/TMVA> cd src
/home/TMVA/src> make // comile and bulid the library ../libTMVA.1.so
How to run the code as ROOT macro: // training/testing of academic example
----------------------------------
/home/TMVA/src> cd ../macros
/home/TMVA/examples> root -l TMVAnalysis.C // start the macro
--> you are asked to type '1' or '2' (choose '1' and wait a few minutes)
--> a GUI will pop up: try to click through all plots and see how your
data sample, its correlations, the trained MVAs and the performance
look like
How to run the code as executable: // training/testing of academic example
----------------------------------
/home/TMVA/src> cd ../examples
/home/TMVA/examples> make
/home/TMVA/examples> ./TMVAnalysis // run the code
--> you are asked to type '1' or '2' (choose '1' and wait a few minutes)
/home/TMVA/examples> root -l ../macros/TMVAGui.C // start the GUI
--> a GUI will pop up: try to click through all plots and see how your
data sample, its correlations, the trained MVAs and the performance
look like
The directory structure:
------------------------
src/ : the sources for the TMVA library
lib/ : here you'll find the TMVA library once it is compiled
(copy it to you prefered library directory or include
this directory in your LD_LIBRARY_PATH as it is done
by: source setup.[c]sh
macros/ : example code of how to use the TMVA library with a ROOT macro
uses input data from a Toy Monte Carlo;
moreover: handy root macros which read and display the
results produced by TMVAnslysis
examples/ : example code of how to use the TMVA library in an executable;
uses input data from a Toy Monte Carlo
examples/data : the Toy Monte Carlo data
python/ : example code of how to use the TMVA library with a python script;
requires avaliability of PyROOT
development/ : similar than what you find in examples, but this is our working
and testing directory... have a look if you want to get some
idea of how to use the TMVA library
|