Root_generate_dictionaries and rootcling always hard-code the names of the headers in the dictionaries

Yes indeed! I’ve just fixed this in master for ROOT.

In general the procedure is: pass headers as #included and provide the relevant -I for rootcling to find the headers.

Cheers, Axel