# THStack normalization

**URL:** <https://root-forum.cern.ch/t/thstack-normalization/39928>\
**Category:** ROOT\
**Tags:** hist\
**Created:** [June 16, 2020, 1:50am UTC](https://root-forum.cern.ch/t/thstack-normalization/39928 "2020-06-16T01:50:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 16, 2020, 8:27am UTC](https://root-forum.cern.ch/t/thstack-normalization/39928/4 "2020-06-16T08:27:08Z")

</div>

> [@Normalize THSatck](https://root-forum.cern.ch/t/normalize-thsatck/21807):
>
> Dear expert, I want to normalize a THStack such that the integral is equal to 1. For the TH1 I used to do: h-\>Scale(1/h-\>Integral(“width”)); but the the Scale() or even Integral() are not a member of THStack. Is there a smart way to do that? Regards

---

_[View the full topic](https://root-forum.cern.ch/t/thstack-normalization/39928)._
