Branch address for array

I attach a short macro for which I cannot remove the error
Error in TTree::SetBranchAddress: unknown branch -> PtPos[0]
PtPos[3] is one of the MeritTuple variables in the input file, also attached.
It works on the individual variables in the tuple.
What am I doing wrong? I have tried everything I can think of.
OrmesHiLatDiffuse1day_merit.root (477 KB)
Time-at-PlaceTest.c (2.12 KB)

MeritTuple->SetBranchAddress(“PtPos[3]”, &PtPos);

fixed the problem. :slight_smile: