as you can see, the plot is very weird. One hist should just be 2x the other. No idea why it happens since both hists have same range and bins. Do you know how to solve this?
I am asking because I did a git grep -i proff on the whole ROOT source code and could not find track of this option. It does not appear in the TTree documentation either . I should have missed something … can you point the piece of documentation describing this option ? Invalid options may have unknown effects.
I think it was supposed to be prof, not proff (see chapter 14.20.11.2 here). Also, there is a possibility to add a letter after prof, but only profs, profi, and profg cases exist (see here). So I think the trailing f simply gets ignored, so at the end of the day proff is the same as prof.
Exactly, that’s why I suggested without “prof”. The 2 TH2F have the same X range so the histograms should be “visible on the same plot” according to X. Only if the Y ranges do not overlap you might not see the second one.