Hello !
I have a 2D histogram I would like to integrate over X. I found the TH2::ProjectionX, but I need to multiply somehow each slice by the bin width… By any chance, is there something implemented such as the “width” option for TH1:Integral ?
Thank you. Sorry if I missed one easy option…
TH2::Integral
Hi,
This is not what I am looking for, I want to pass a TH2D and integrate along X and get a TH1D.
In the worst case scenario I guess I can call integrate or do the computation myself.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.