# About TMVA multi-background

**URL:** <https://root-forum.cern.ch/t/about-tmva-multi-background/30665>\
**Category:** TMVA\
**Created:** [September 14, 2018, 9:07am UTC](https://root-forum.cern.ch/t/about-tmva-multi-background/30665 "2018-09-14T09:07:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JungChang](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@JungChang](https://root-forum.cern.ch/u/JungChang)\
**Post date:** [September 14, 2018, 9:07am UTC](https://root-forum.cern.ch/t/about-tmva-multi-background/30665/1 "2018-09-14T09:07:54Z")

</div>

Dear All,

I’m new to TMVA, when I tried TMVAMultipleBackgroundExample.C, the output is distributions and each background.

My question is:  
is the multi-background results (training background separately) be the same as in TMVAClassification (add background together to training)?

Thanks!

Best,  
Jung

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [September 17, 2018, 8:01pm UTC](https://root-forum.cern.ch/t/about-tmva-multi-background/30665/2 "2018-09-17T20:01:03Z")

</div>

They are similar but not exactly alike.

Cheers,  
Kim

---

<div class="post-metadata">

**Author:** ![JungChang](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@JungChang](https://root-forum.cern.ch/u/JungChang)\
**Post date:** [September 19, 2018, 6:19am UTC](https://root-forum.cern.ch/t/about-tmva-multi-background/30665/3 "2018-09-19T06:19:54Z")

</div>

Hi Kim,

Thanks for the reply.

Is it possible to train each background and also all the background?

I add one branch of trainning all background, but the code running failed.

I wish to plot the stacking plots for each background, with the results of trainning all the backgrounds.

May I ask, are there some way to do this?

Thanks!

Best,

Jung
