# TMVAGUI interface

**URL:** <https://root-forum.cern.ch/t/tmvagui-interface/49520>\
**Category:** Newbie\
**Created:** [April 8, 2022, 10:46am UTC](https://root-forum.cern.ch/t/tmvagui-interface/49520 "2022-04-08T10:46:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjana](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@pjana](https://root-forum.cern.ch/u/pjana)\
**Post date:** [April 8, 2022, 10:46am UTC](https://root-forum.cern.ch/t/tmvagui-interface/49520/1 "2022-04-08T10:46:18Z")

</div>

Dear all,  
I am new to ROOT.  
I have created an output root file after the BDT. I can see all the variables in the output root file, which I used in the BDT method. But When I am going to see them using TMVAGUI , I can not see all the 19 variables. I can only see 6 variables. Can anyone please suggest me something so that I can see all the variables? Thanks!  
I am using the following macro:

```auto
void testnew(){

TMVA::TMVAGui("TMVA.root");
        TString dataset = "datasetOSSF04Feb_MET_2017";
        TString dirName = "InputVariables_Id";
        TString title = "TMVA Input Variables";

                                        }

```

---

<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:** [April 8, 2022, 11:53am UTC](https://root-forum.cern.ch/t/tmvagui-interface/49520/2 "2022-04-08T11:53:56Z")

</div>

I am not sure how it is supposed to work. I tried it on some root files I have. One contains 11 items for instance. I see all of them. But I see it generates a collection of buttons, not a list. So I guess that will limit the number of items. @moneta can tell you more I guess.

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [April 11, 2022, 8:50am UTC](https://root-forum.cern.ch/t/tmvagui-interface/49520/3 "2022-04-11T08:50:34Z")

</div>

Hi,  
Which function of the GUI are you using exactly ?

---

<div class="post-metadata">

**Author:** ![pjana](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@pjana](https://root-forum.cern.ch/u/pjana)\
**Post date:** [April 11, 2022, 10:00am UTC](https://root-forum.cern.ch/t/tmvagui-interface/49520/4 "2022-04-11T10:00:38Z")

</div>

Many thanks @couet and @moneta !

The problem has been resolved. There was some problem with the root file. Now I can see the 19 variables.  
Thanks again!
