# Pile up reweighting for different binning

**URL:** <https://root-forum.cern.ch/t/pile-up-reweighting-for-different-binning/29536>\
**Category:** ROOT\
**Tags:** hist\
**Created:** [June 27, 2018, 1:37pm UTC](https://root-forum.cern.ch/t/pile-up-reweighting-for-different-binning/29536 "2018-06-27T13:37:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 28, 2018, 10:33am UTC](https://root-forum.cern.ch/t/pile-up-reweighting-for-different-binning/29536/6 "2018-06-28T10:33:13Z")

</div>

For some ideas, see:

> [@Problem in 2D histograms calculations](https://root-forum.cern.ch/t/problem-in-2d-histograms-calculations/26029/11):
>
> Until a proper “rebin” method for 2-D histograms is implemented (if ever), you can try to use the attached macro. [nt2.cc](https://root-forum.cern.ch/uploads/default/original/2X/e/e4dadb39641dc7aade37004e90fc77c33a5a7206.cc) (5.6 KB)

See also the [TH1::Merge](https://root.cern.ch/doc/master/classTH1.html#a79f98f2c56178f4fa07fff0d86171fb6) and this [TH1::Add](https://root.cern.ch/doc/master/classTH1.html#a6da1513d03e7352438bd8356f5038e37) and that [TH1::Add](https://root.cern.ch/doc/master/classTH1.html#a1913bea50293a57b9ee65bf7f65a26e1) method descriptions.

---

_[View the full topic](https://root-forum.cern.ch/t/pile-up-reweighting-for-different-binning/29536)._
