EPJ Web of Conferences (Jan 2024)

CaTS: Integration of Geant4 and Opticks

  • Wenzel Hans,
  • Yung Jun Soon,
  • Genser Krzysztof,
  • De Figueiredo Felipe

DOI
https://doi.org/10.1051/epjconf/202429511004
Journal volume & issue
Vol. 295
p. 11004

Abstract

Read online

CaTS [6]is an advanced example that is part of Geant4 since version 11.0. It demonstrates the use of Opticks to offload the simulation of optical photons to GPUs. Opticks interfaces with the Geant4 toolkit to collect all the necessary information to generate and trace optical photons, re-implements the optical physics processes to be run on the GPU, and automatically translates the Geant4 geometry into a GPU appropriate format. To trace the photons, Opticks uses NVIDIA OptiX®. In this report, we describe CaTS and the integration of Opticks with Geant4. We demonstrate that the generation and tracing of optical photons represents an ideal application to be offloaded to GPUs, fully utilizing the high degree of available parallelism. In a typical liquid argon TPC simulation, a speedup of several hundred times is observed compared to an equivalent simulation using single threaded Geant4.