This is a general question… I have a class which contains a TF1. I will create multiple instances of this class, meaning that there will exist multiple TF1 objects potentially with the same name. Since ROOT uses the name of the TF1 to identify the object, I am concerned about accessing the proper object.
I recall that there is a way in ROOT to refer to the proper version of each object even if they have identical names, but cannot locate where I read that information.
How would one handle this properly? Or am I forced to make sure that each instance has a unique name?