0 entries in FitSlicesY()

Hi! Apologies in advance if this is not the right channel where to ask this. I have a TH2D histo, that I want to fit in slices, for which I use FitSlicesY(). The problem is that when doing so, I get 0 entries for the resulting histogram. I’ve tried merging bins and requesting a minimum number of entries, but none of this has worked. Do you know what could be happening?

May be providing a small reproducer will help to understand the problem ?

Try the “${ROOTSYS}/tutorials/fit/fitslicesy.C” and the “example” from: TH2::FitSlicesY

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