int run() { if (!TClass::GetDict("ABC")) { gROOT->ProcessLine(".L ABCClass.C"); } //Use ABC Class ABC *ABC1 = new ABC; //ABC1->singlehisto(); ABC1->PlotSomething(); delete ABC1; printf("Back in main.\n"); return 0; }