Re: Merge chain problem

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Fri, 10 Nov 2006 16:20:51 +0100


please see: http://root.cern.ch/root/roottalk/RoottalkRules.html

Rene Brun

er cuji wrote:
> 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
>
> *** Break *** bus error
> Root > Function macroxxx() busy flag cleared
>
> Why? How can I merge the chain into a single file.
> thx
>
> Francesco
>
> __________________________________________________
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
>
Received on Fri Nov 10 2006 - 16:20:59 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET