Hi @ROOTer1,
This seems to happen because of Python intrinsic lookup rules; it tries to get the value for an attribute named object
(instead of object.var
). See Reading nTuple in PyROOT - variables containing '.' for a workaround based on __getattr__()
.
I am also CC’ing @vpadulan in case he knows of a better approach.
Cheers,
J.