Error when doing projeciont: illegal pointer to class object

Precisely speaking, I believe, tofit=0 means that the object named “EtvsMt” does not exist in the main directory of your file “ff”. If it exists in some kind of a subfolder, it will NOT be found by “ff.Get” (you need to find it “manually” yourself). See, for example, here: [url]Draw the 2-D histograms which in the subFolder