# Fitting of Gaussian on linear background

**URL:** <https://root-forum.cern.ch/t/fitting-of-gaussian-on-linear-background/54836>\
**Category:** Newbie\
**Created:** [May 13, 2023, 12:29am UTC](https://root-forum.cern.ch/t/fitting-of-gaussian-on-linear-background/54836 "2023-05-13T00:29:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sabiha\_Tasneem\_JC](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sabiha_tasneem_jc/32/33072_2.png) [@Sabiha\_Tasneem\_JC](https://root-forum.cern.ch/u/Sabiha_Tasneem_JC)\
**Post date:** [May 13, 2023, 12:29am UTC](https://root-forum.cern.ch/t/fitting-of-gaussian-on-linear-background/54836/1 "2023-05-13T00:29:21Z")

</div>

I have an spectrum of 133Ba which has 4 peaks (two are overlapped) on a linear background. I need to fit and find the integral. How can I do the fitting?

\_ROOT Version: ROOT 6.26/10  
_Platform:_ Not Provided  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [May 13, 2023, 7:24am UTC](https://root-forum.cern.ch/t/fitting-of-gaussian-on-linear-background/54836/2 "2023-05-13T07:24:36Z")

</div>

[ROOT Forum → Search → gausn pol1](https://root-forum.cern.ch/search?q=gausn%20pol1%20order%3Alatest)
