Implement customized code in a ROOT file

Assuming that you don’t want to have a proper dictionary, but just a backup of which code was used to generate these classes, then the simplest would be to follow:

together with

If you do not like TNamed, you could also use TObjString.

Then, in the TBrowser one can just right-click and dump to print all info.