Reading a Branch with an array

Hi
I know it’s maybe a silly question, but how do I read a branch which is an array?
I know how to do that for a single value:
(supposing I want to read the value of the branch “my_branch” for the 5th entry of my tree)

my_variable=array(“f”,[0])
Tree.SetBranchAddress(my_branch, my_variable)
Tree.GetEntry(5)

and variable[0] now is filled with the desired value.

What if my_branch is an array?

Hi,

same. There are a few array examples here.

HTH,
Wim