So I have tree called “Delphes” and I load the libEvent.so library and do tree->MakeClass(). This creates the class and header files with the same name as the tree. If I then attempt to load the “Delphes.C” I get many “error: invalid use of non-static data member” errors, for all the variables used as array length.
I understand how to solve this error (add static before the variable definition), but it’s the first error of many and I suspect MakeClass() should make something that works (or at least loads) out the box?
Root is running in a singularity, the tree is the default one created by the madgraph tutorial. Attached is a full log of the process, it contains a few other warnings that may be related. MakeClass_error.log.txt (8.5 KB) it formats correctly if read with cat/head/tail.
Any pointers on where I should be looking for the ‘root’ cause of this problem?