Dear expert,
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?
Regards
Chanchal
_
__
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
Try: h2->Scale(1. / h2->GetMaximum());
Hii @Wile_E_Coyote,
Actually I need the values of this (each bin/max bin) in each bin.
Can I do this?
Regards
Chanchal
Axel
4
After scaling you iterate over the bins and get their bin content with h2->GetBinContent(i)
system
Closed
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.