Hello,
Sorry for the non-explicit title.
My problem is actually simple :
tree.GetEntry(0)
v = tree.myvar
tree.GetEntry(1)
v == tree.myvar
In my case ‘myvar’ is a simple type (int, float), so is ‘v’. As a result the variable ‘v’ is not updated by the 2nd GetEntry() call and the last line returns False.
Is there a way to access a sort of pointer to ‘myvar’ that gets automatically updated when GetEntry is called ?
(the reason is I’m collecting a bunch of variable from different tree in some generic container : would be useful not to have to reconnect to each tree with the correct var name to get the variable updated…)
P.A.