Hi rooters,
I’m trying to build a GUI and in my code I can insert a string as input using a TGTextEntry .
Now I want to use this string as selection for a tree.
Let’s say my tree has three variables x,y and z.
And if I wrote in my TGTextEntry “x>0” everything works fine.
But I cannot find a way to use a previous declared TCut cut1 =“y>0”.
Is there a way to associate the input string “cut” in TGTextEntry to the TCut variable cut1?
Or also better is it possible convert the input string of the type "cut1 && “z>0” " in a TCut selection?
and what about fEntryCutExpression->SetText(DetA.GetTitle(), kFALSE);, or fEntryCutExpression->SetText(DetA.GetName(), kFALSE); (just trying to guess here…)