RE: Merge root files

From: Nadeesha Manohari Wickramage <nadeesha.manohari.wickramage_at_cern.ch>
Date: Fri, 29 Aug 2008 13:17:47 +0200

yep,
you are right. thank a lot,

Nadeesha

-----Original Message-----
From: Philippe Canal [mailto:pcanal_at_fnal.gov] Sent: Mon 8/25/2008 6:33 PM
To: Nadeesha Manohari Wickramage
Cc: roottalk_at_root.cern.ch
Subject: Re: [ROOT] Merge root files  

Hi,

'hadd' is an excutable and not a CINT/C++ operation. You must execute it on the shell prompt (and not in ROOT).

Cheers,
Philippe

Nadeesha Manohari Wickramage wrote:
> Hi ALL,
>
> I'm using root version 5.18/00a and I 'm trying to merge some root files. I have to nearly 50 files to merge. I use "hadd results.root pattree_Chowdernew*.root" command but I got the error masssage as following.
>
> Error: Symbol haddresults is not defined in current scope (tmpfile):1:
> Error: Failed to evaluate haddresults.rootpattree_Chowdernew
> Warning: Illegal numerical expression .root (tmpfile):1:
> Warning: Illegal numerical expression .root (tmpfile):1:
> Warning: Illegal numerical expression .root (tmpfile):1:
> Warning: Illegal numerical expression .root (tmpfile):1:
> (const double)0.00000000000000000e+00
> *** Interpreter error recovered ***
>
> Please let me know what is the Solution. This is very first time I'm using root to merge files.
>
> Thank you,
> Nadeesha
>
>
Received on Fri Aug 29 2008 - 13:18:44 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 02 2008 - 11:50:02 CEST