An unimportant question about writing in a TFile


My program writes a TFile with the option Write("",TObject::kOverwrite). However, objects in this TFile are still named with a “;1” (for instance “myhisto;1”), so browsing this TFile and watching one of these objects make a new object without this “;1” (for instance, double-clicking on “myhisto;1” creates a new object “myhisto”).

This is not very important, but it changes the directory contents visualization, so with a lot of objects it is quite boring… :unamused:

If anyone has a solution, thanks in advance.