Re: [ROOT] ERROR after conversion GEANT to ROOT

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Aug 04 2000 - 21:45:26 MEST


You seem to be using a recent version of g2root with an old version of
Root.
Please identify your version.

Rene Brun


On Fri, 4 Aug 2000, Ion-Sorin Zgura wrote:

> 
> 
> 
> Hello everyone,
> 
> I tried to convert  a geometry rz file to root file, and a have the follow
> messages:
> 
> > g2root brahms1.geom
>   In g2rin, iquest(13)= 1
>   after rzink, ikey= 1iquest(1)= 0
>  trying to read:DRAW
>   after rzink, ikey= 2iquest(1)= 0
>  trying to read:MATE
>   after rzink, ikey= 3iquest(1)= 0
>  trying to read:PART
>   after rzink, ikey= 4iquest(1)= 0
>  trying to read:ROTM
>   after rzink, ikey= 5iquest(1)= 0
>  trying to read:RUNG
>   after rzink, ikey= 6iquest(1)= 0
>  trying to read:SETS
>   after rzink, ikey= 7iquest(1)= 0
>  trying to read:TMED
>   after rzink, ikey= 8iquest(1)= 0
>  trying to read:VOLU
>   after rzink, ikey= 9iquest(1)= 1
>   nkeys= 8 nwkey= 2
>   nvolum=  284 jvolum= 878636
>  GEANT file: brahms1.geom converted to ROOT macro: brahms1.C
> 
> > root -l -b brahms1.C
> Error: Can't call TNode::TNode("BEVI1","BEVI1",BEVI,0,0,0,0) in current
> scope FILE:brahms1.C LINE:601
> Possible candidates are...
> filename       line:size busy function type and name  (in TNode)
> (compiled)        0:0    0 public: TNode TNode(void);
> (compiled)        0:0    0 public: TNode TNode(const char* name,const
> char* title,const char* shapename,Double_t x=0,Double_t y=0,Double_t
> z=0,const char* matrixname,Option_t* option);
> (compiled)        0:0    0 public: TNode TNode(const char* name,const
> char* title,TShape* shape,Double_t x=0,Double_t y=0,Double_t
> z=0,TRotMatrix* matrix=0,Option_t* option);
> (compiled)        0:0    0 public: TNode TNode(TNode&);
> filename       line:size busy function type and name  (in TNamed)
> filename       line:size busy function type and name  (in TObject)
> filename       line:size busy function type and name  (in TAttLine)
> filename       line:size busy function type and name  (in TAttFill)
> filename       line:size busy function type and name  (in TAtt3D)
> *** Interpreter error recovered ***  
> 
> What happen?
> 
> 
> Thank you very much
> 
> Sorin ZGURA
> 
> + ------------------------------+-----------------------+
> | INSTITUTE OF SPACE SCIENCES   |Home:			|
> |  Space Research Laboratory    |			|
> |				| 			|
> | Atomistilor Street No. 1    	| Camin G1 cam. 105	|
> | P.O. Box: MG-23, 76900 	| Magurele, Jud. Ilfov	|	
> | Magurele, Bucharest           | cod 76900		|
> | Romania                       | Romania		|	
> | Tel./Fax: ++401/4231227       |			|		
> | Telex: 11397 BIFTAR           |  			|
> +-------------------------------+-----------------------+
> | 	E-mail: zis@rcf.rhic.bnl.gov			|
> | 	Web:  http://venus.nipne.ro/members/zis 	| 
> +-------------------------------------------------------+
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET