Home | News | Documentation | Download

TObjString with different TKey name


Is there a way to create a ROOT file with a TObjString, where the string is different from the name of the TKey referring to the TObjString? I was unable to find any relevant information in the TObjString class reference - https://root.cern.ch/doc/master/classTObjString.html .


TObjString is a (InheritsFrom) TObject:
Info on writing TObjects you find here:



This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.