Hi,
I want to replace our hard coded Geant4 based geometry with VGM. As a first step I wanted to import the the top level "world" G4VPhysicalVolume created with the existing geometry to VGM and then export to XML. I do this like:
void dump_geometry(G4VPhysicalVolume* world) {
Geant4GM::Factory g4Factory;
g4Factory.Import(world);
XmlVGM::GDMLExporter xmlExporter2(&g4Factory);
xmlExporter2.GenerateXMLGeometry();
}
However, I get this error:
Geant4GM::Factory::ImportSolid:
Unsupported solid type (solid 'Module_1_OneModule_TestPMT_8inch_oil_body_solid")
*** Error: Aborting execution ***
The solid in question is implemented in a class that ultimately derives from G4LogicalVolume. I'm guessing that the fact that this class is not a known, proper Geant4 class is causing the problem. Is this correct? If not, can anyone give a suggestion on how to track down the source of this error or at least to have VGM ignore tany unknown solids?
Thanks,
-Brett.
Received on Fri Oct 13 2006 - 00:13:58 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:09 MET