Hi,
I have a .so library that defines a class that I need to use. Opening the root shell and loading the library via “.L lib.so” allows me to access the object “Object o;” and do stuff with it.
However, I want to access the object from a macro that I have, “analysis.C”. I’ve tried using something along the lines of:
gSystem->Load("./libJetUncertainties.so");
MyObj obj();
but I get errors telling me that MyObj isn’t defined. How do I go about getting my macro to recognize the object in the .so?
Thanks,
Nilay