Duplicate variables definition in header created by MakeClass

I don’t think it is a good idea. Your tree has multiple branches which share the same names (and that’s why you get them in the MakeClass generated analysis skeleton).

I think you should talk to your colleagues / supervisor about how they deal with this tree.