TStrings

Wouter Hulsbergen (s37@nikhef.nl)
Mon, 24 Aug 1998 20:45:58 +0200 (MET DST)


Dear developpers,

Two questions:
A. For some reason it was decided that every TH1 object must have a
unique name. Why ? It is quite inconvenient, as one always needs to
make up a new name, even when a histogram exists only temproary.
B. All TH1 constructors have `Text_t*' arguments for name and title.
Unfortunately TString.Data() returns a `const char*'. Consequently, I
cannot use a TString for name and title, unless I first copy it into a
non-const char*. (At least, this is so for TProfile). Why not replace all
`Text_t*' in TH1 with `const Text_t*'? (Or by TStrings..!)

Regards,
Wouter Hulsbergen