Dear Pasha, You can already change the name of the file associated to a branch. Anton was requesting something different: the possibility to change the name of a branch. Rene Brun On Wed, 15 Mar 2000, Pasha Murat (630)840-8237 FNAL (630)859-3463 home wrote: > Rene Brun wrote: > > > > Hi Anton, > > Currently, you cannot and should not change the name of a branch in a > > tree. > > SetName should be redefined in TBranch and derivatives. > > > > I think that the possibility to change a name of a file associated with a > given branch would be very useful in the context of a full-scale > data handling system. Let's assume a ROOT tree which branches can reside on > different media, such that some of them would be disk-resident and the others > would be staged to tape. Then the header of such tree (always disk-resident!) > would have special names for these branches, for example: > > /stage:migrated_branch_1.root > > making it possible to read in the tree header, loop over all the > branches and to send a request to the data handling system to > spool the files for tape-resident ones back to disk (if their processing > was requested). > The last step of this procedure would be to redefine the > file names for these branches IN MEMORY (NOT IN DISK-RESIDENT tree header) > to point to the spool area after which the analysis / production job could > start. > best, pasha >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET