Geometry and GEANT4

There appear to be a number of options to make geometry happen in GEANT4:

  1. Program it in directly.
  2. Use an interface that converts to GEANT4 geometry, see below.
  3. Interface through a CAD program, see CAD and GEANT4. The bad news is that many of the projects listed here are mostly dead. The good news is that as of 2010, there is some new life in this area, including commercial interest. Here's what I found.

My opinion:

There is a lot of "stuff" available in terms of GEANT4 geometry. This is clearly a very important issue, and there are clearly many different and diverging attempts to solve it. So far I see no clear winner. There are a number of dead ends, which once more emphasizes that the geometry definition is not a trivial meatter.

What we want:

  1. We want to use a package that allows us to use ONE geometry definition for all the various bits of software that will require geometry input.
  2. The format has to be clearly described and have a useful hirarchy.
  3. The software used must be non-proprietary.
  4. The software and standards used can not be a moving target.
  5. The software has to be stable and functional.
  6. More motherhood and apple pie.

Comments:

GEANT4 aware geometry converters.

  1. VMC (virtual Monte Carlo), Converts ROOT geometries to GEANT4, GEANT3 or FLUKA. That is the theory. The "big detector" using this is Alice at the LHC. According to their website (Alice GEANT4 Simulation) the VMC is based on GEANT3, and there are problems using it with GEANT4. These include no support for "MANY" geometries in the GEANT4 version. Since this is "bad" anyway, we can program around these limitations.
  2. Linear Collider Simulation Software. Geometry in a MySQL database: MOKKA , it has since changed to LCDD, a GDML derivative.
  3. LCSC: LCDG4 - The actual simulation that LCSC uses is based on XML geometry descriptions.

GEANT4 Geometry to other format converters

  1. There is an XML converter as part of GEANT4: GEANT4 XML . This includes GraXML for visualization. It converts the geometries to AGDD or GDML (see below.)

Various Geometry Descriptions

  1. XML:
    1. GDML (Geant Detector XML) HOWTO use GDML in GEANT4
    2. LCDD (Linear Collider Detector Description) Extends GDML so that it is actually usefull for the whole geometry. Used in SLIC. See: Linear Collider Software
    3. AGDD (Atlas Geometry)
    4. HDDS (GlueX ) Used for Hall-D detector, written by Richard Jones.
    5. DDD (Detector Description CMS detector) They use COBRA (Coherent Object oriented Base for Reconstruction, Analysis and simulation - a software framework.) Seems complete and well documented.
  2. VMC:
    1. Alice , Alice GEANT4 Simulation
    2. STAR, STAR Simulation Page This is a very rich place to visit, I still need to read more. Seems that they use the VMC with a geometry in XML (seems they use the GDML definition). They used Alice as a case study. They also looked into the CMS DDD, and found they could not use it. There is info on storing the geometry in a MySQL database.