Skip to content

dlersch/source

 
 

Repository files navigation

GEant4 Monte-Carlo

gemc is an application based on Geant4 to simulate the passage of particles through matter.

It provides:

  • application independent geometry description
  • easy interface to build / run experiments
  • cad/gdml imports

examples of experiments using gemc. From left to right: a CLAS12 beamline event; The electron and ion beamline and interation point detectors for the electron-ion collider. The gemc simulation of the Electron Ion Collider beamline and detectors. 10,000 electrons producing photons in the 6mm collimator in the bubble experiments at Jefferson Lab.

========

Overview:

gemc makes easy things trivial and hard things possible.

Users can build and run complex setups with minimal programming knowledge. See for example how to build a TOF with few lines of code.

Experiments can be loaded using a combination of several available factories:

  • MYSQL
  • TEXT
  • GDML
  • CAD (STL, PLY, OBJ formats)
  • C++ Plugin


gemc can import models from CAD and GDML. Left: the upper gastrointestinal system is modeled in CAD. It can be imported in GEMC and made it sensitive so that radiation doses can be measured. Right: the mighty USS Enterprise NCC 1701-A can be used to shoot protons torpedos.

Simulations are application independent

Once the user defined setup is loaded, it is translated in geant4. This includes:

  • geometry
  • materials
  • mirrors
  • physics list
  • digitization
  • electromagnetic fields

All particles are transported through matters and produce radiation, hits, secondaries. The geant4 results are then collected and organized according to user preferences.

========

Platform Supported:

  • Linux (32, 64)
  • Mac OS

========

Documentation:

========

Releases

No releases published

Packages

No packages published

Languages

  • C 82.5%
  • C++ 17.4%
  • Python 0.1%