Re: Put a name on TChain ?

Rene Brun (Rene.Brun@cern.ch)
Thu, 23 Apr 1998 17:15:43 +0200


Laurent Aphecetche wrote:
>
> Hi,
>
> I would agree with Nick not to change the specification of the
> constructor (except if
> all TChain users agree with it...), but rather to add a new member
> function. Or,
> is it a stupid idea to construct automatically a chain name from the
> tree name, keeping
> the same constructor TChain(const char* treename) ? Something like
> TChainOf_treename or so ?
>

OK, since my proposed change would have affected more people
than I thought, I propose to implement the two constructors:
TChain(const char *treename)
TChain(const char *chainname, const char *treename, const char
*title="")

Rene Brun