[ROOT] Re: Problem with new version

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu May 06 2004 - 17:04:03 MEST


Hi Francesco,

Perfetto Francesco wrote:
> 
> Hi all,
> 
> until now I worked on SUN with SunOS 5.6 and root 3.02/06 as following:
> 
> 1) from .hbook at .root using h2root of root 3.02/06
> 2) in ROOT prompt h1->MakeClass()  (h1 is my tree)
> 3) I compile my program example.cc example.h Example.cpp with Sun
>    compiler CC5 that create a file .root for my analisys
> 
> at this level I haven't any problem (all variables on my tree are full).
> 
> Now on new 2 machines with linux RedHat 9.0 gcc 3.2.2 (20030222 Red Hat
> Linux 3.2.2-5 this i have with command gcc -v) and one with ROOT 4.00/04
> and the other with ROOT 3.10/02
> 
> I have some problem, I work as following:
> 
> 1) from .hbook to .root with h2root of root 4.00/04
> 2) in root prompt h1->MakeClass()
> 3) I compile my program example.cc example.h Example.cpp with gcc compiler
>    and I have in output a .root file with a tree for my analisys.
> 
> At this level I have a problem: any variables in my tree are empty and
> when I click on leaf in the browser the canvas appear but it is white
> (empty).
> 
> Where is a problem ?

could you send me (not the list) the original hbook file?
could you send me your example.cc file?

> 
> Another question: why the file .root that I have converted with h2root on
> Sun are not good for Linux machine (and viceversa) ?

The ROOT files must be readable on Linux and Solaris. You must be doing
something wrong when transferring the files.

Rene Brun

> 
> Thanks
> Francesco.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET