Message: Test for GDML geometries Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Test for GDML geometries 

Forum: Geometry
Date: 19 Jan, 2009
From: Juan <Juan>

Dear All,

I would like to have a program which tests a geometry written in GDML format.

I have used the load_gdml program, located at geant4.9.2/examples/extended/persistency/gdml/G01 to read any GDML file. I have changed vis.mac macro to output a DAWNFILE and add the environmental variable:

setenv G4DAWNFILE_VIEWER david ,

to generate automatically a g4david.prim file with the intersected volumes, using the DAVID program. The DAVID and DAWN versions that I use are: david 1.36a and dawn 3.88a I have seen that there is a limitation in DAVID program:

>[5] Supported shapes 
>
>    The following shapes defined in the DAWN format 
>    are supported at present:
>
>        Box, Column, Cons, Parallelepiped, Sphere, Trd, Trap, Tubs

So I have used geotest.cc with write_gdml.mac macro which generate a geometry with only G4tubs and G4Box in a wtest.gdml file.

I have used load_gdml to generate the g4david.prim file and it shows me some intersection errors.

Even adding in vis.mac file:

/geometry/test/cylinder_test true

/geometry/test/grid_test true

It gives me also intersection errors. It is a limitation of DAVID and /geometry/test codes? Is the geometry from G02 example wrong?.

Somebody has a better idea to test the gdml geometries in a easy (graphic) way?

Thanks

Juan

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Test for GDML geometries   (Tatiana Nikitina - 20 Jan, 2009)
2 None: Re: Test for GDML geometries   (Tatiana Nikitina - 23 Jan, 2009)
 Add Message Add Message
to: "Test for GDML geometries"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]