this question is a kind of extension of this previous post from long time ago.
I am interested to get a list of members, but only those members that are actually stored/written to disk. I.e. those members that end with //< and discard those that end with //!.
Once I get the list, for example using
TList *list2 = run->IsA()->GetListOfDataMembers()
how can I filter this list to get only those members, which are registered when using the
I think you can achieve this with the
TDataMember::IsPersistent() method: https://root.cern.ch/doc/master/classTDataMember.html#a348271bbf5bd6989e59208e8a5d49504
Thanks that’s what I was looking for.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.