Re: [ROOT] TTree::Branch for clonesarrays

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 30 2000 - 19:18:22 MEST


Hi George,
We decided for this calling sequence at a time when CINT was not currently
handling ** pointers. We could now introduce your suggested API.

Rene Brun


George Heintzelman wrote:
> 
> Rooters,
> 
> Just a quick question. From the TTree class:
> 
>  TBranch *TTree::Branch(const char *name, void *clonesaddress, Int_t
> bufsize, Int_t splitlevel)
> {
> //*-*-*-*-*-*-*-*-*-*-*Create a new TTree BranchClones*-*-*-*-*-*-*-*-*-
> *-*-*
> //*-*                  ===============================
> //
> //    name:    global name of this BranchClones
> //    bufsize: buffersize in bytes of each individual data member buffer
> //    clonesaddress is the address of a pointer to a TClonesArray.
> //
> 
> Can I ask why this last condition wasn't specified by just declaring
> TClonesArray **clonesaddress? It would make calling this correctly
> somewhat more transparent...
> 
> George Heintzelman
> gah@bnl.gov



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET