# Where to find $ROOTSYS/tutorials/tmva/test/TMVAGui.C

**URL:** <https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878>\
**Category:** TMVA\
**Created:** [September 15, 2016, 3:14pm UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878 "2016-09-15T15:14:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [September 15, 2016, 3:14pm UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/1 "2016-09-15T15:14:33Z")

</div>

Dear experts,  
in the TMVAUsersGuide, it is write that we can run $ROOTSYS/tmva/test/TMVAGui.C in a root session, but I do not see this file, indeed the test directory is missing [1]. Do you know where is it? I have root 6.06/01.  
ps: $ROOTSYS/tmva/ does not exist, so I looked in $ROOTSYS/tutorials/tmva/  
Regards

[1]  
l $ROOTSYS/tutorials/tmva/  
total 188K  
-rw-r–r-- 1 cvmfs 1.9K May 31 21:45 tmva\_logo.gif  
-rw-r–r-- 1 cvmfs 242 May 31 21:45 sigmoid-small.png  
-rw-r–r-- 1 cvmfs 1.1K May 31 21:45 makefile  
-rw-r–r-- 1 cvmfs 183 May 31 21:45 line-small.png  
-rw-r–r-- 1 cvmfs 60K May 31 21:45 createData.C  
-rw-r–r-- 1 cvmfs 7.0K May 31 21:45 TMVARegressionApplication.C  
-rw-r–r-- 1 cvmfs 14K May 31 21:45 TMVARegression.C  
-rw-r–r-- 1 cvmfs 17K May 31 21:45 TMVAMultipleBackgroundExample.C  
-rw-r–r-- 1 cvmfs 6.5K May 31 21:45 TMVAMulticlassApplication.C  
-rw-r–r-- 1 cvmfs 6.3K May 31 21:45 TMVAMulticlass.C  
-rw-r–r-- 1 cvmfs 4.0K May 31 21:45 TMVAGAexample2.C  
-rw-r–r-- 1 cvmfs 6.2K May 31 21:45 TMVAGAexample.C  
-rw-r–r-- 1 cvmfs 5.4K May 31 21:45 TMVAClassificationCategoryApplication.C  
-rw-r–r-- 1 cvmfs 7.7K May 31 21:45 TMVAClassificationCategory.C  
-rw-r–r-- 1 cvmfs 21K May 31 21:45 TMVAClassificationApplication.C  
-rw-r–r-- 1 cvmfs 28K May 31 21:45 TMVAClassification.C  
drwxr-xr-x 2 cvmfs 4 Jun 1 10:18 data

---

<div class="post-metadata">

**Author:** ![behrenhoff](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/behrenhoff/32/12285_2.png) [@behrenhoff](https://root-forum.cern.ch/u/behrenhoff)\
**Post date:** [September 15, 2016, 4:14pm UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/2 "2016-09-15T16:14:43Z")

</div>

Just run (in ROOT):

```auto
TMVA::TMVAGui("filename")

```

No need for an external macro any more.

Same for `TMVAMultiClassGui` and `TMVARegGui`.

---

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [September 15, 2016, 4:44pm UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/3 "2016-09-15T16:44:03Z")

</div>

Dear behrenhoff,  
I’ll certainly have many other questions of this type so I wonder if there is a special (update) ROOT TMVA user guide. Indeed, from [root.cern.ch/tmva](https://root.cern.ch/tmva) I do see only the one from the TMVA people.  
Regards

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 16, 2016, 7:29am UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/4 "2016-09-16T07:29:16Z")

</div>

TMVA tutorials are also on the web with other tutorials.  
[root.cern.ch/doc/master/group\_\_ … \_tmva.html](https://root.cern.ch/doc/master/group __tutorial__ tmva.html)

---

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [September 17, 2016, 11:41am UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/5 "2016-09-17T11:41:58Z")

</div>

Dear Couet,  
ok, thank you for the link.  
Regards

---

<div class="post-metadata">

**Author:** ![Muhammad\_Shoaib](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/muhammad_shoaib/32/19442_2.png) [@Muhammad\_Shoaib](https://root-forum.cern.ch/u/Muhammad_Shoaib)\
**Post date:** [September 7, 2020, 9:50am UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/6 "2020-09-07T09:50:37Z")

</div>

Since its very post, i am getting same issue  
Using lxplus and ROOT version 6.22  
I am unable to read what is written as a command after “Just run”

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 7, 2020, 11:52am UTC](https://root-forum.cern.ch/t/where-to-find-rootsys-tutorials-tmva-test-tmvagui-c/21878/7 "2020-09-07T11:52:26Z")

</div>

> [@Muhammad\_Shoaib](#):
>
> I am unable to read what is written as a command after “Just run”

Fixed, you can read now.
