Hi all, I had a problem with TChain merge:
in a macro I am using the following list of commands
TChain *chain_ncal = new TChain("Eventi");
for(int s=0;s<=run_max;s++)
{
sprintf(fn_root,"Run_%s/run%s.root",namerun[s],namerun[s]);
printf("%s\n",fn_root);
chain_ncal->Add(fn_root);
}
chain_ncal->Print();
This works properly adding to the chain 7 files 4.4MB large. As soon as I add a line like
chain_ncal->Merge("all.root");
it gives me the error
Why? How can I merge the chain into a single file. thx
Francesco
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET