Re: [ROOT] TChain: .root files only?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jun 07 2001 - 10:58:47 MEST


Hi Pasha,

I have removed the limitation that the file name must contain
the string ".root". ".root" remains necessary only in case one wants to specify
a Tree in a subdirectory of a Root file with eg, the format:
//machine/file_name.root/subdir/tree_name

I however strongly recommend to name the Root files with the suffix ".root".
This has many advantages when using the browser.

Rene Brun



Pasha Murat (630)840-8237@169G wrote:
> 
> Dear ROOT'ers,
> 
> I'd like to reiterate on an issue raised some time earlier:
> right now it is only possible to combine into TChain files which have
> extention ".root", otherwise one gets the following diagnostics:
> 
>     Error("AddFile","a chain element name must contain the string .root");
> 
> We are thinking about storing the ROOT files with the trees in there in the
> data handling system and writing them to tape. An immediate consequence of this
> is that freedom of choosing the file names and extentions at random goes away
> and we no longer can have files with their extentions being ".root".
> At the same time we'd like to continue chaining the trees stored in the files.
> So let me ask the question about what is the limitation which requires chained
> files to have predefined extention (.root) once again,
> 
>                                         thanks a lot, Pasha



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET