Hello,
I am trying to use the TH2::FitSlicesY() method and it is indeed very handy and useful. Could someone explain me what the “sliding merge” option (something like using “G4S”) does in comparison to just using “G4”?
Does it group bins only if they have entries below some given threshold (parameter number 4)?
I would like to use it to group bins with a small number of entries. I tried using variable binning and it helps, but if this option implements some sort of “dynamic” binning, I could just use a very fine X axis binning on the original TH2 histogram and use this option. Then hopefully the low stat bins will be grouped automatically.
is there a better way of doing this? Is the sliding merge option the way to do it?
Thanks