Native Julia HEP Geometry package

Description

The Julia programming language offers a unique combination of speed, interoperability, ease of use, and flexibility, making it an attractive option for High Energy Physics (HEP) research. Within the HSF context, the JuliaHEP initiative aims to develop a set of foundational packages in the Julia ecosystem that provide the essential functionality required by HEP researchers. In simulation and reconstruction codes, it is necessary to describe the detailed geometry of the detector, including both its spatial structure and the associated materials, surfaces, and other properties. This is typically achieved using a hierarchical Constructive Solid Geometry (CSG) representation, as implemented in frameworks like Geant4. Reconstruction codes may, however, require a simplified version of this geometry.

The Geant4.jl wrapper package currently leverages the geometry modeling capabilities of the C++ Geant4 library. However, if we wish to develop physics process simulations natively in Julia and independent of Geant4, a geometry package implemented directly in Julia will be required. Such a package should aim to be user-friendly, high-performance, and compatible with hardware accelerators such as GPUs. An early effort in this direction is the Geom4hep package, which could serve as a potential foundation for further development. In addition, the CSG-system that is currently part of SolidStateDetectors.jl can be used as a baseline. In an initial application, the geometry can be used to export a high-quality mesh with adaptive level of details to allow raytracing-based optical physics simulation leveraging modern RTX GPU functionality. This would allow hybrid Monte-Carlo simulation infrastructures where Geant4.jl handles the ballistic particle-tracking while the optical simulations are handled by a custom julia code.

Task ideas

Expected results and milestones

Requirements

How to apply

Once CERN/HSF is accepted as a GSoC org, please write an email with a short introduction to your interests and background to the mentors with the string “gsoc26” in the subject. There will be a small evaluation task that we will mail to you then.

Mentors

Additional Information

Corresponding Project

Participating Organizations