I’m learning histogram operations currently, though for histograms to be used/plotted after the program has run, you create them as pointers. Though I think you can not perform operations on pointers for histograms. h1 and h2 here are gaussian and exponential random generated histograms (pointers).
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided