I have a 2D histogram of Dalitz plot. I want to divide the each bin of 2D histogram to max bin.
Here is the script attached:
projection.C (1.9 KB)
Can you please suggest how can I do this?
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
h2->Scale(1. / h2->GetMaximum());
Actually I need the values of this (each bin/max bin) in each bin.
Can I do this?
After scaling you iterate over the bins and get their bin content with
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.