Re: (no subject)

From: Ivana Hrivnacova <ihrivnac_at_mail.cern.ch>
Date: Thu, 12 May 2005 12:42:33 +0200 (CEST)

On Thu, 12 May 2005, Dmitry Naumov wrote:

> And finally, just a very trivial example. In root session I do:
> root[].x g3libs.C
> root[] MCApplication* appl = new MCApplication("nuclon", "The NUCLON MC
> application");
> root[] TGeant3* t = new TGeant3TGeo("test")
> root[] t->IsRootGeometrySupported()
> 0

 This problem has been fixed recently in geant3;  with my CVS head version, it return correctly true value;  but I think, the fix is included already in version 1.1.

 In your case, put in void Ex01MCApplication::ConstructGeometry()  only:
   TGeoManager::Import("nuclon_geometry.root");    gMC->SetRootGeometry();
 You have also to comment out the code in Ex01MCApplication::InitGeometry(),  which is specific the the geometry in Ex01.

 I have tested your file with CVS head version of geant3,  and it passed ok:
### Geometry loaded from file...
Top volume is TOP. Master volume is TOP
### Voxelization retrieved from file
--- node ID tracking disabled
### 2122 nodes/ 2123 volume UID's in nuclon

 I hope it helps.
 Best regards,

 Ivana  



e-mail: Ivana.Hrivnacova_at_cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France phone: (33) 01 69 15 65 94
Received on Thu May 12 2005 - 12:49:48 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET