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

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 28 Jul 2010 18:23:51 +0200


Hi Genie,

you shouldn't delete the directory that you write the tree into. I cannot tell whether that solves it because your macro takes too long for my patience. If not deleting teh directory doesn't solve it: can you come up with a much much much faster version that shows the same behavior?

Cheers, Axel.

Genie Jhang wrote on 07/26/2010 04:56 PM:
> 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 - 18:23:56 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 29 2010 - 11:50:01 CEST