GPU-based optical photon simulation for the LHCb RICH 1 Detector

Yunlong Li,Adam Davis,Sajan Easo,Keith Evans,Evelina Mihova Gersabeck,Marco Gersabeck,Lucas George Girardey,Raja Nandakumar,Annabelle Jane Pointer
2023-09-29
Abstract:We present the investigation of the use of Opticks, a GPU-accelerated optical photon interface with the LHCb detector simulation, to improve computation time of optical photon propagation. The hybrid workflow, combining the particle simulation package Geant4 and Opticks, offloads optical photon propagation to GPUs, thereby accelerating the overall simulation process. The consistency of the results obtained from Geant4 and Opticks simulations is verified with a simplified LHCb RICH 1 detector geometry, demonstrating the feasibility of the proposed approach. In addition, the ongoing transition to the NVIDIA OptiX 7 API and re-structuring of Opticks code is discussed within the context of HEP simulation workflows, with caveats explored.
High Energy Physics - Experiment
What problem does this paper attempt to address?
The paper primarily explores the integration of Opticks (a GPU-based optical photon simulation package) with the detector simulation framework of the LHCb experiment to improve the computational efficiency of optical photon propagation. Specifically, the paper attempts to address the following key issues: 1. **Optimization of Computational Resources**: Particle collision simulations in the LHCb experiment consume a significant amount of computational resources, particularly with the Geant4 simulation program, which uses a substantial amount of CPU time. With the advent of the High Luminosity-LHC era, the demand for computational resources is expected to increase further. 2. **Acceleration of Optical Photon Simulation**: In the LHCb experiment, the simulation of optical photons takes up a large portion of the overall simulation time. By leveraging the parallel processing capabilities of GPUs, this process can be significantly accelerated. 3. **Validation of Hybrid Workflow**: The paper validates a hybrid workflow where Geant4 is used to simulate non-optical photon particles, while Opticks is responsible for the simulation of optical photons. This approach aims to maintain the accuracy of the simulation while reducing the overall computation time. 4. **Integration of Opticks with the LHCb Simulation Framework**: The challenges of integrating Opticks into the existing LHCb simulation framework are discussed, including the management of external dependencies, the conversion of geometrical structures, and the design of interfaces with existing tools and services. 5. **Migration to OptiX 7**: Opticks is transitioning from OptiX 6.5 to the OptiX 7 API, which involves code refactoring and the development of new features. Although the full functionality of physical processes is not yet available at this stage, the rendering of geometrical structures has already been achieved. In summary, this research aims to improve the performance of optical photon simulation in the LHCb experiment by combining Geant4 and Opticks, and it explores the technical challenges and solutions to achieve this goal.