Geant4 application in a web browser - IN2P3 - Institut national de physique nucléaire et de physique des particules Access content directly
Conference Poster Year : 2013

Geant4 application in a web browser


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.

Dates and versions

in2p3-00872695 , version 1 (14-10-2013)



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⟩
33 View
0 Download



Gmail Facebook X LinkedIn More