Re: copy folders from root file to another root file

From: suvayu ali <fatkasuvayu_at_gmail.com>
Date: Tue, 17 Aug 2010 09:46:57 -0700


Hi Nadeesha,

On 17 August 2010 09:34, Nadeesha Manohari Wickramage <nadeesha.manohari.wickramage_at_cern.ch> wrote:
>
> I have a root file with several sub directories. I need to recreate a new root file but only with one sub directory.
>
> As an example. in my root file : plots.root
> I have folders like this." PLOTS/Analyzer/Muon", then histograms.
>
> I need only get Muon folder to my new root file.
>
> Could anyone can help me for this,
>

This might help,

$ROOTSYS/tutorials/io/copyFiles.C

> Thanks a lot
> with regards
> Nadeesha

GL

-- 
Suvayu

Open source is the future. It sets us free.
Received on Tue Aug 17 2010 - 18:47:25 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 17 2010 - 23:50:01 CEST