Export input file from FLUKA to GEANT4

Dear FLUKA experts.

Is there any reasonably easy way to export geometry from FLUKA to geant4?

Adam W.

Dear Adam,

Thanks for asking.
Unfortunately, there is no easy way for such an export.

One could think of exporting a FLUKA geometry to e.g. GDML format, which is then compatible with G4. The main issue is that the structural approaches to FLUKA and G4 geometries are different: FLUKA has flat geometries, while G4 ones are hierarchical. The FLUKA geometry would hence be translated into a flat structure with numerous boolean operations, which would be extremely inefficient.

The way it is handled in FLUKA++ is by the addition of custom classes, both for the geometry description and the navigation.