Hello Experts,
I have an efficiency histogram. I want to divide an energy histogram with the efficiency and used this -
\\
h2->Divide(h1);
However, this is not working since the binning for both is different. Is there a way to use something like
Eval() for the histogram directly without fitting so that I can read the values from h1 and divide the corresponding values of h2?
I am sure there is a simple way. Can anyone please help with any suggestions?
Please help! Thank you for your time!
ROOT Version: 6.18/04 Platform: C++ Compiler: Visual Studio Code
Thank you for getting back @Dilicus and @ferhue. Both of your suggestions worked like a charm. However, I ended up using @ferhue’s suggestion which was exactly what I was looking for.
Thank you for your time and help!