Hi all,
is it possible to use ROOT dictionary to find a class method by name and then call it ?
I mean, using TClass, then getting from it the method knowing its name (i.e. SetMarkerColor) and then
call the method to set some property (i.e. kRed).
I can find the method doing:
TH1F* h = new TH1F(“h”,"",1,0,1);
TClass* c = h->IsA();
TMethod *m = c->GetMethodAllAny(“SetMarkerColor”);
but then ? how do i execute the method setting the marker color ?
best,
Max