Hello,
I am trying to run a simple analysis compiled with a Makefile, but when I open a TFile, I get “Error in TClass::LoadClassInfo: no interpreter information for class TKey is available even though it has a TClass initialization routine”.
I have reduced the files to the minimum to make it easier to debug.
The strange thing is that, if I uncomment the lines
// TH1D*h = new TH1D(“h”,“h”,200,0,200);
// for (int i = 0;i<100;i++) h->SetBinContent(i+1, i+1);
// h->Write();
// f->Close();
then no error is given…
Could anyone give a look and tell me what the problem is, please?
(analysis.h is located in the subfolder “include”)
Thanks,
regards,
Francesca
analysis.c (3.5 KB)
subr.c (2.0 KB)
analysis.h (1.1 KB)
_ROOT Version: 6.30/06
Platform: Ubuntu 22.04