Message: Re: New GDML code not reading triangular facets Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: New GDML code not reading triangular facets 

Keywords: Resolving entities
Forum: Geometry
Re: None New GDML code not reading triangular facets (Henrik)
Re: None Re: New GDML code not reading triangular facets
Re: None Re: New GDML code not reading triangular facets (Henrik)
Re: Feedback Re: New GDML code not reading triangular facets (Zoltan Torzsok)
Date: 15 Jan, 2008
From: Henrik <SI@wcreplays.com>

Hi That works for me, many thanks. I only have one remaining issue for which I have added a workaround for now, with which I can load my GDML files. My GDML file has alot of solids exported to subfiles like so:

		<physvol>
			<file name="Step_0_1822200.gdml"/>
			<position name="posRef_1" x="-19.1960" y="-44.7712" z="75.8266"/>
			<rotationref ref="identity"/>
		</physvol>

The physvol tag therefor does not contain a volume name for the logical volume, this is contained in the Step_0_1822200.gdml file. However G4LogicalVolume* G4GDMLStructure::fileRead(...) expects to find a name and a volname in the parent file, and after loading the daughterfile uses the volume name to return the logical volume

return structure.getVolume(structure.GenerateName(volname));

which in this case fails because volname is not set. Perhaps this should be using something like structure.volname, I am not sure. I am generating the GDML files with the fastrad software.

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

 Add Message Add Message
to: "Re: New GDML code not reading triangular facets"

 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 ]