# Problem in smearing histogram

**URL:** <https://root-forum.cern.ch/t/problem-in-smearing-histogram/52707>\
**Category:** Newbie\
**Created:** [December 9, 2022, 12:39pm UTC](https://root-forum.cern.ch/t/problem-in-smearing-histogram/52707 "2022-12-09T12:39:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [December 9, 2022, 12:53pm UTC](https://root-forum.cern.ch/t/problem-in-smearing-histogram/52707/3 "2022-12-09T12:53:48Z")

</div>

> [@How to add experimental resolution to a 1D Histogram in root](https://root-forum.cern.ch/t/how-to-add-experimental-resolution-to-a-1d-histogram-in-root/50005/15):
>
> In a C++ code, instead of “rndm()” try to use “gRandom-\>Rndm(1)”.

---

_[View the full topic](https://root-forum.cern.ch/t/problem-in-smearing-histogram/52707)._
