TStrings

From: Wouter Hulsbergen (s37@nikhef.nl)
Date: Mon Aug 24 1998 - 20:45:58 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET