# Signal efficiency in TMVA

**URL:** <https://root-forum.cern.ch/t/signal-efficiency-in-tmva/4600>\
**Category:** TMVA\
**Created:** [March 29, 2007, 11:20am UTC](https://root-forum.cern.ch/t/signal-efficiency-in-tmva/4600 "2007-03-29T11:20:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucianom](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/bcef8e/32.png) [@lucianom](https://root-forum.cern.ch/u/lucianom)\
**Post date:** [March 29, 2007, 11:20am UTC](https://root-forum.cern.ch/t/signal-efficiency-in-tmva/4600/1 "2007-03-29T11:20:51Z")

</div>

Hello,

How can I change the signal efficiency for the Cut method in the TMVA package?  
It seems the default one is 0.7, but I would like to increase it.

Thanks,  
Luciano

---

<div class="post-metadata">

**Author:** ![hvoss](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/cc9497/32.png) [@hvoss](https://root-forum.cern.ch/u/hvoss)\
**Post date:** [March 29, 2007, 2:28pm UTC](https://root-forum.cern.ch/t/signal-efficiency-in-tmva/4600/2 "2007-03-29T14:28:25Z")

</div>

Hello Luciano,

well, you are probably talking about the “reader”… In the call to caclualte the  
MVA-output, you can give as second argument the efficiency:

reader-\>EvaluateMVA( “Cuts method”, effS )

```
 where effS is the desired efficiency for which you want the cuts. I'm just a little bit surpised, as in the code it is actually defaulted to "0" not 0.7. The 0.7 is only set explicitly in

```

the TMVApplication example.

Please let me know if that fixed your problem.

```
                    Cheers,

                          Helge
```

---

<div class="post-metadata">

**Author:** ![hoecker](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/ad7895/32.png) [@hoecker](https://root-forum.cern.ch/u/hoecker)\
**Post date:** [March 29, 2007, 2:33pm UTC](https://root-forum.cern.ch/t/signal-efficiency-in-tmva/4600/3 "2007-03-29T14:33:56Z")

</div>

Hi Luciano,

> [@lucianom](#):
>
> How can I change the signal efficiency for the Cut method in the TMVA package?  
> It seems the default one is 0.7, but I would like to increase it.

I assume you mean during the application phase (using the Reader) ?  
After booking MethodCuts via:

reader-\>BookMVA( “Cuts classifier”, " " );

Once you are in the event loop you can retrieve the cuts response for any desired signal efficiency with the command:

Double\_t desiredSigEff = 0.6;  
Bool\_t passed = reader-\>EvaluateMVA( “Cuts classifier”, desiredSigEff );

TMVA will then choose the appropriate cuts found during the preceding training.

Hope this helps.

Cheers,  
Andreas
