When sending mails to roottalk, always specify your version of ROOT.
The facility to add with a file list was added in January 2007.
If you use versions 5.16 or above it should be included.
The help file/doc says:
Wildcarding and indirect files are also supported
hadd result.root myfil*.root
will merge all files in myfil*.root
hadd result.root file1.root @list.txt file2. root myfil*.root
will merge file1. root, file2. root, all files in myfil*.root
and all files in the indirect text file list.txt ("@" as the first
character of the file indicates an indirect file. An indirect file
is a text file containing a list of other files, including other
indirect files, one line per file).
Rene Brun
Jorge Armando Benitez wrote:
> Hi All,
>
> I wonder if it is posible to use hadd with a file list (text tile
> containing the root files to be merged)
>
> I tried the option
>
> hadd newfilename.root @filelist.txt
>
> but i get the following error
>
> Error in <TFile::TFile>: file @filelist.txt does not exist
> Error in <TList::AddLast>: argument is a null pointer
> .....
>
> I tried the hadd --help but not information about using a files list
> is shown.
>
> Thank you,
>
> Jorge
>
Received on Mon Jun 02 2008 - 17:10:35 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 02 2008 - 17:50:01 CEST