Yes you are right, this solves the “black” problem.
However, I still have a problem with my divided canvas, since only the right panel shows the histogram (see attached file), although this seems only to append with my “complete” code (i.e. a TSelector::Terminate method). I will investigate and get back to you.
Yes. The small macro gives the right result.
Now if I copy this macro (as it except I don’t read the file and the histograms are one of the histograms of a TH1F** or TH2F** respectively Ex and EvsTh) into the TSelector::Terminate() then it does not work.