# TMVA KCuts save GUI from within Condor

**URL:** <https://root-forum.cern.ch/t/tmva-kcuts-save-gui-from-within-condor/54405>\
**Category:** TMVA\
**Created:** [April 8, 2023, 12:36am UTC](https://root-forum.cern.ch/t/tmva-kcuts-save-gui-from-within-condor/54405 "2023-04-08T00:36:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smitmatt](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/smitmatt/32/26905_2.png) [@smitmatt](https://root-forum.cern.ch/u/smitmatt)\
**Post date:** [April 8, 2023, 12:36am UTC](https://root-forum.cern.ch/t/tmva-kcuts-save-gui-from-within-condor/54405/1 "2023-04-08T00:36:08Z")

</div>

Hello,

I am running a TMVA Kcuts algorithm from within Condor and would like to save the TMVA GUI signal efficiency / purity curve, as I do not have access to manual use of the GUI. I have previously used BDT’s and know that i can save the cut efficiencies plot by calling:

TMVA::mvaeffs(“myRootFile.root”, kTRUE, “S/sqrt(S+B)” );

Is there such a function for the KCuts signal efficiency / purity plots that are accessible from the GUI at the end of training?

Thanks,

Matt

---

<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, 2023, 10:07pm UTC](https://root-forum.cern.ch/t/tmva-kcuts-save-gui-from-within-condor/54405/2 "2023-04-11T22:07:45Z")

</div>

Hi,  
You should be able to plot the efficiency vs cut values for all the TMVA used method by doing:

```auto
TMVA::mvaeffs("dataset",“myRootFile.root”, nsignal, nbackground, kTRUE, “S/sqrt(S+B)” );

```

Lorenzo
