Copying a histogram from the tree in a root file and changing the range

I know this should be a simple problem but for some reason I’m running into issues.
I tried so many methods mimicking the examples, I dont even know what stage I’m in anymore.
The issue is simple. I would like to read the root file, copy the histogram stored in the tree, and change the axis of the histogram.
How could this be achieved?
Please let me know
Thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.