# Getting info on histogram composition in saved .root files

**URL:** <https://root-forum.cern.ch/t/getting-info-on-histogram-composition-in-saved-root-files/18153>\
**Category:** ROOT\
**Created:** [September 4, 2014, 1:37pm UTC](https://root-forum.cern.ch/t/getting-info-on-histogram-composition-in-saved-root-files/18153 "2014-09-04T13:37:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 4, 2014, 2:24pm UTC](https://root-forum.cern.ch/t/getting-info-on-histogram-composition-in-saved-root-files/18153/2 "2014-09-04T14:24:20Z")

</div>

> [@Opening a histogram from a file](https://root-forum.cern.ch/t/opening-a-histogram-from-a-file/18101/1):
>
> …a cryptically difficult task, apparently. So I’ve managed to find quite a few threads that more or less cover the issue I’m having… but nothing I have tried seems to be working at all. The short of it is, I have two files, each with one histogram inside. Not a tree, just a histogram. I’d like to open them one at a time, and make a copy of each of these histograms in a way that I can perform simple functions such as GetXmin() and GetBinContent(bin). Later of course, there are more complicated …

---

_[View the full topic](https://root-forum.cern.ch/t/getting-info-on-histogram-composition-in-saved-root-files/18153)._
