Re: ROOT file doesn't have any tree though its size is big enough!!!

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Wed, 28 Jul 2010 12:13:46 -0500


Hi,

Try without the

                                 delete processed_dir;
You do not / should not delete any TDirectory yourself.

Cheers,
Philippe.

On 7/26/10 9:56 AM, Genie Jhang wrote:
> Hello.
>
> I'm now trying to make a ROOT file from about fifty ROOT files.
>
> First read source ROOT file.
>
> Read a tree to the vector;
>
> Sort them as I wanted.
>
> Rewrite them to a new ROOT file.
>
> By the for-loop, source file changes from one to another, but new ROOT file is only one.
>
> So, I loaded the new one using "UPDATE" option.
>
> Here's the problem.
>
> New ROOT file doesn't have any trees but folders.
> (I used folders to categorize source files.)
>
> More than that, the size of the new ROOT file is so small.
>
> It looks like it has all the data I put in but I just cannot access to them.
>
>
> Here's the source files and macro files. You can test it for yourself. You should use + option to compile.
> (Sorry for the mess of the macro file. I'm in new)
>
>
> http://physics.majimak.com/src.tgz
>
>
> Thanks, in advance.
>
Received on Wed Jul 28 2010 - 19:14:19 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 28 2010 - 23:50:02 CEST