Re: Merging root files containing ntuple and histograms

From: Rene BRUN <rene.brun_at_cern.ch>
Date: Fri, 25 Feb 2005 17:54:18 +0100


Use the hadd utility in $ROOTSYS/bin

hadd result.root file1.root file2.root filen.root

Rene Brun

Raghunath Sahoo wrote:
> Dear All,
>
> I have several .root files which contain
>
> 1. 1-dim histograms
>
> 2. 2-dim histograms
>
> and
>
> 3. ntuple
>
> These .root files are my scheduler out puts.
> To build up statistics I want to add many such .root files.
>
> Is there any way to deal with it ?
>
> Any help is most welcome.
>
> Thanks & Regards,
> Raghunath.
>
>
> ********************************************************************
> * Raghunath Sahoo * Phone: +91-0674-2301172 *
> * Doctoral Scholar * 2301058 *
> * Institute Of Physics * Lab:- 230,H-303,359(Extn) *
> * Sachivalaya Marg * Fax: +91-0674-2300142 *
> * Bhubaneswar * URL: http://www.iopb.res.in/~raghu *
> * Orissa (India)-751005 * email: raghu_at_iopb.res.in *
> ********************************************************************
> * raghu_at_rcf.rhic.bnl.gov * raghu_at_mail.cern.ch *
> * raghu_iop_at_rediffmail.com *
> ********************************************************************
>
Received on Fri Feb 25 2005 - 17:54:23 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET