Tsld002

  • G3toG4 package translates fully-derived Geant3 (G3) geometries into Geant4 (G4) representation and also provides two sample G4 implementations

  • different modes of operation:

    • on-the-fly conversion of Geant3 code (mztog4 mechanism)
    • Geant3 RZ file conversion (rztog34 standalone program)
  • two output products:

    • automatically generated C++ code compiled into a G4 program to generate the geometry
    • language-neutral call list file which is subsequently read by an embedded call list interpreter to generate the appropriate G4 calls
  • In the latter method, geometry may be changed at runtime without having to recompile/relink

Previous slide Next slide Back to first slide View graphic version