Re: [ROOT] Problem after loading a class to exit to root

From: Vincent Roberfroid (roberfroid@fynu.ucl.ac.be)
Date: Mon Dec 22 2003 - 18:36:50 MET


I work on Linux2.4.18-3 and Red Hat Linux release 7.3
I have not logon or logoff macro. 
But the installation of root on our server is maybe corrupted.
Sorry.

Vincent 


On Monday 22 December 2003 17:34, Rene Brun wrote:
> Vincent,
>
> I cannot reproduce this problem. Please give more information:
>  -which version/OS?
>  -did you build the executable yourself or are you using one of
>   the binary distributions?
>  -Do you have a rootlogon,logoff.C file ?
>
> Rene Brun
>
> On
> Mon, 22
>
> Dec 2003, Vincent Roberfroid wrote:
> > Hi rooters,
> >
> > I work with cvs version of root.
> > I have a problem to exit to root using this simple macro (test.C):
> > ----------------------------------------------------
> > char *rootfile = "file.root";
> >
> > void test() {
> >   if (!TClassTable::GetDict("TParticle")) gSystem->Load("libEG");
> >   TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject(rootfile);
> >   if(!f) f = new TFile(rootfile,"READ");
> > }
> > ------------------------------------------------------
> >
> > This problem is similar to the problem already noticed in the url :
> > http://root.cern.ch/phpBB2/viewtopic.php?t=296
> >
> > Could you help me ?
> >
> > Thank you
> >
> > Vincent



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET