Skip to Main content Skip to Navigation
Poster communications

Geant4 application in a web browser

Abstract : Geant4 is a toolkit for the simulation of the passage of particles through matter. The Geant4 visualization system supports many drivers including OpenGL, OpenInventor, HepRep, DAWN, VRML, RayTracer, gMocren and ASCIITree, with diverse and complementary functionalities. Web applications have an increasing role in our work, and thanks to emerging frameworks such as Wt [1], we are now able to build a web application on top of a C++ application without rewriting all the code. Because the Geant4 toolkit's visualization and user interface modules are well decoupled from the rest of Geant4, it is straightforward to adapt these modules to render in a web application instead of a computer's native window manager. The API of the Wt framework closely matches that of Qt[3] so we can benefit from our experience in developing the Geant4 Qt driver. Rendering is through the WebGL[2] framework. In this presentation, we will show how we ported the Geant4 interface to a Web application and how, with minimal effort, other Geant4 users can replicated this process to share their own Geant4 applications in a web browser.
Complete list of metadatas
Contributor : Sabine Starita <>
Submitted on : Monday, October 14, 2013 - 11:50:19 AM
Last modification on : Wednesday, September 16, 2020 - 4:24:41 PM

Links full text




L. Garnier. Geant4 application in a web browser. 20th International Conference on Computing in High Energy and Nuclear Physics (CHEP), Oct 2013, Amsterdam, Netherlands. IOP Publishing, 513, pp.062016, 2014, ⟨10.1088/1742-6596/513/6/062016⟩. ⟨in2p3-00872695⟩



Record views