Dear colleagues,
I’d like to follow-up on the issue that I was discussing here: Roofit - multiple fit different datasets using different PDFs with some shared parameters - #10
Apparently, the error was that I was using a different naming scheme for the combined dataset and for the model (thanks @jonas for reporting this).
However, I notice now that if I download exactly the same code that is present on the original topic (inside the archive code.tar), now the python code python3 ana_globalFit.py 1 does not work any longer.
- Root version 6.26.04, python 3.9.12 (LCG_102): YES
- Root version 6.28.04, python 3.9.12 (LCG_104): NO (error on
RooDataHistconstructor) - Root version 6.30.02, python 3.9.12 (LCG_105): NO (error on
RooDataHistconstructor) - Root version 6.32.02, python 3.11.9 (LCG_106): NO (error on
RooDataHistconstructor)
I also get an error: ERROR:InputArguments -- Layout or binning of histogram hcal0_data_1 is not consistent with first processed histogram hcal0_data_0, but indeed the two histograms have a different binning, this is expected.
May I ask you for a suggestion regarding this? It is clearly due to some ROOT change, since it was working with earlier versions.
The good news is that, after fixing the naming in my script, it now works as expected.
Thanks
Bests
Andrea