# How to add experimental resolution to a 1D Histogram in root

**URL:** <https://root-forum.cern.ch/t/how-to-add-experimental-resolution-to-a-1d-histogram-in-root/50005>\
**Category:** Newbie\
**Tags:** root\
**Created:** [May 17, 2022, 3:07pm UTC](https://root-forum.cern.ch/t/how-to-add-experimental-resolution-to-a-1d-histogram-in-root/50005 "2022-05-17T15:07:29Z")\
**Posts on this page:** 1\
**Showing post:** 15

<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 23, 2022, 9:21am UTC](https://root-forum.cern.ch/t/how-to-add-experimental-resolution-to-a-1d-histogram-in-root/50005/15 "2022-05-23T09:21:35Z")

</div>

In a C++ code, instead of “`rndm()`” try to use “`gRandom->Rndm(1)`”.

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-add-experimental-resolution-to-a-1d-histogram-in-root/50005)._
