GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • HUB
  • Sign in
  • Sign up
  • Explore
  • gemc

This view

  • Original page
  • New address

GeezerVison is showing hub.docker.com — gemc/gemc - Docker Image

gemc logo

gemc/gemc

Sponsored OSS

By gemc

•Updated 9 days ago

GEMC — database-driven Geant4 simulation framework, ready-to-run dev images

Image
Languages & frameworks
Data science
Databases & storage
0

10K+

OverviewTags

gemc/gemc repository overview

⁠GEMC — Geant4 Monte-Carlo simulation framework

GEMC (the GEant Monte-Carlo) is a database-driven Geant4⁠ application for detector and radiation-transport simulations. Detector descriptions live outside the compiled C++ application: you define geometry, materials, optics, sensitive detectors, and run configuration in Python or data files, and GEMC loads them at run time to execute the full Geant4 pipeline.

These images ship a ready-to-run GEMC development environment — the compiled gemc simulator, the bundled pygemc Python tools, and all Geant4 dependencies — so you can simulate without managing a local Geant4 build.

GEMC architecture

  • 🏠 Homepage & docs: https://gemc.github.io/home/⁠
  • 📦 Source: https://github.com/gemc/src⁠
  • 🐍 Python API (pygemc): https://pypi.org/project/pygemc/⁠

💙 GEMC is part of the Docker-Sponsored Open Source program — pull these images without rate limits.

These images are mirrored from the canonical GitHub Container Registry⁠ build at ghcr.io/gemc/src. The two registries carry identical content and tags — use whichever is closer to your infrastructure.


⁠Quick start

docker run -it --rm -v "$PWD":/work docker.io/gemc/gemc:dev-ubuntu-24.04 bash

Inside the container the gemc binary and the pygemc Python environment are already on the PATH:

gemc -v                         # version sanity check
gemc-system-template -s counter # scaffold a minimal detector system
cd counter && ./counter.py      # build geometry (writes gemc.db)
gemc counter.yaml               # run the simulation
gemc-analyzer counter_t0_digitized.csv totEdep --kind csv --bins 50

⁠Supported tags

Tags follow the pattern <gemc-version>-<os>-<os-version> and are multi-architecture (linux/amd64 + linux/arm64, except Arch Linux which is amd64-only).

OSExample tagArchitectures
AlmaLinuxdev-almalinux-10amd64, arm64
Arch Linuxdev-archlinux-latestamd64
Debiandev-debian-13amd64, arm64
Fedoradev-fedora-44amd64, arm64
Ubuntudev-ubuntu-24.04amd64, arm64
Ubuntudev-ubuntu-26.04amd64, arm64

The dev prefix tracks the latest main; versioned release tags follow the same scheme.


⁠What's inside

  • The compiled gemc Geant4 simulator
  • The bundled pygemc Python environment (geometry building, PyVista preview, VTK.js export, analyzer)
  • Geant4, CLHEP, Xerces-C, and the supporting toolchain

Key GEMC features:

  • Python-first detector definition through pygemc
  • Geometry/material storage in SQLite or GEMC ASCII databases; imports from GDML and CAD meshes
  • Built-in sensitive-detector digitizations: flux, gPhotonDetector, dosimeter, particle_counter
  • C++ plugin infrastructure for custom digitization, fields, particle readers, and output streamers
  • Output streamers for ASCII, CSV, JSON, JLAB SRO, and optional ROOT
  • Magnetic-field support, including a built-in multipole field plugin
  • Interactive Geant4/Qt visualization and off-screen image generation

⁠Mounting your work

The examples above mount the current directory at /work. Use a bind mount to keep geometry scripts, steering cards, and output on the host:

docker run -it --rm -v "$PWD":/work -w /work docker.io/gemc/gemc:dev-ubuntu-24.04 bash

For the interactive Geant4/Qt GUI and Apptainer recipes, see the installation page⁠.


⁠Documentation & support

  • Installation guide⁠
  • Quickstart tutorial⁠
  • Examples gallery⁠
  • Issue tracker⁠

⁠Citation

If you use GEMC in scientific work, please cite:

M. Ungaro and the CLAS Collaboration, "The CLAS12 Geant4 simulation," Nuclear Instruments and Methods in Physics Research Section A 959, 163422 (2020). https://doi.org/10.1016/j.nima.2020.163422⁠

⁠License

GEMC is licensed under the Apache License, Version 2.0⁠. The images also contain separately licensed third-party components, including Geant4, CLHEP, Qt, ROOT, SQLite, and Assimp.

Tag summary

Recent tags
dev-archlinux-latest
Recent tags

Content type

Image

Digest

sha256:569d07611…

Size

5.8 GB

Last updated

9 days ago

docker pull gemc/gemc:dev-archlinux-latest

This week's pulls

Pulls:

1,036

Last week

Learn more⁠
Archive
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.