Average of histograms getting from root files

i am trying to take average of histograms which i retrieve from a root file? how can i do it?

Check out the search feature:
https://root-forum.cern.ch/search?q=average%20histogram

Gives this complicated discussion:

And this simpler solution:

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