TNamed() without a name

From: Thiemo Nagel <thiemo.nagel_at_ph.tum.de>
Date: Tue, 13 Apr 2010 17:47:49 +0200


Dear rooters,

when creating a series of histograms or profiles for display, it is sometimes cumbersome to come up with unique (!) names for all of them.

I've been wondering for some time whether there is a trick to not having to specify a unique name upon instantiation of a class inheriting from TNamed.

Any ideas?

Would you accept a patch that implements auto-naming with unique names, a) if the specified name is empty or
b) if a well-defined "magic" name is used?

Cheers!

Thiemo

-- 
+-----------------------------------+--------------------------+

| Dipl.-Phys. Thiemo Nagel | |
| Technische Universitaet Muenchen | Room PH1 3276 |
| Physik-Department E18 | |
| James-Franck-Strasse | Phone +49 89 289-12379 |
| D-85747 Garching | Fax +49 89 289-12570 |
+-----------------------------------+--------------------------+
Received on Tue Apr 13 2010 - 17:47:53 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 13 2010 - 23:50:02 CEST