#include "TROOT.h" void makeClassFromTree() { gSystem->Load("../libAculData.so"); TFile fr("clb01_0001.root"); TTree *tr = (TTree*)fr.Get("AnalysisxTree"); tr->MakeClass(); // tr->MakeCode(); }