Histogram integration

I have created a histogram with TH1F now i want to integrate with bin please tell how can i proceed


look into the documentation here: https://root.cern.ch/root/html606/classTH1.html#abe979cc8b1d7f05427d646340830a163

thank you
i have an another question
i created a histogram with x axis pT and y axis N(numbers of particles) now i want to plot at x axis pT and at y axis dN/dpT how should i proceed i have seen root tutorial but i did not find


histogram->Scale(1., "width");

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