Search arXiv⌕ Search

arXiv subjects

Jonas Hahnfeld

Publications and source records attributed to Jonas Hahnfeld.

5 recordsLinked to original sources

G4HepEm: A Geant4 Extension for Efficient Electromagnetic Shower Simulation in High-Energy Physics

Tracking electrons, positrons and photons dominates the CPU cost of detailed Geant4 detector simulation for the Large Hadron Collider (LHC) experiments. G4HepEm specialises this part of a Geant4 simulation with dedicated tracking loops and a compact, stateless electromagnetic physics library that can run on both CPU and GPU, while geometry and navigation remain native Geant4. Sensitive detectors and user actions are invoked through the standard Geant4 interfaces, allowing application code that relies on these interfaces to be used unchanged. Optional algorithmic performance optimisations, such as Woodcock tracking of photons and a combined multiple-scattering and transportation algorithm, provide further speedup. G4HepEm reproduces native Geant4 results in a sampling calorimeter and the CMS High-Granularity Calorimeter test beam while simulating electron showers at speedups of 2.1-2.2$\times$. In full-detector simulations of top-quark pair events, it reduces the simulation time by 14.1% (CMS Run 3), 21.0% (preliminary CMS Run 4) and 16.3% (ATLAS Run 3), while simulated CMS hit distributions and reconstructed ATLAS observables remain in close agreement with native Geant4. G4HepEm is open source and integrated into the CMS and ATLAS software frameworks, where it can contribute significantly to the experiments' efforts to cope with the computing challenges of the High-Luminosity LHC (HL-LHC) era.

physics.ins-det↗

Parallel Writing of Nested Data in Columnar Formats

High Energy Physics (HEP) experiments, for example at the Large Hadron Collider (LHC) at CERN, store data at exabyte scale in sets of files. They use a binary columnar data format by the ROOT framework, that also transparently compresses the data. In this format, cells are not necessarily atomic but they may contain nested collections of variable size. The fact that row and block sizes are not known upfront makes it challenging to implement efficient parallel writing. In particular, the data cannot be organized in a regular grid where it is possible to precompute indices and offsets for independent writing. In this paper, we propose a scalable approach to efficient multithreaded writing of nested data in columnar format into a single file. Our approach removes the bottleneck of a single writer while staying fully compatible with the compressed, columnar, variably row-sized data representation. We discuss our design choices and the implementation of scalable parallel writing for ROOT's RNTuple format. An evaluation of our approach shows perfect scalability only limited by storage bandwidth for a synthetic benchmark. Finally we evaluate the benefits for a real-world application of dataset skimming.

cs.DC↗

HL-LHC Analysis With ROOT

ROOT is high energy physics' software for storing and mining data in a statistically sound way, to publish results with scientific graphics. It is evolving since 25 years, now providing the storage format for more than one exabyte of data; virtually all high energy physics experiments use ROOT. With another significant increase in the amount of data to be handled scheduled to arrive in 2027, ROOT is preparing for a massive upgrade of its core ingredients. As part of a review of crucial software for high energy physics, the ROOT team has documented its R&D plans for the coming years.

hep-ex↗

ROOT for the HL-LHC: data format

This document discusses the state, roadmap, and risks of the foundational components of ROOT with respect to the experiments at the HL-LHC (Run 4 and beyond). As foundational components, the document considers in particular the ROOT input/output (I/O) subsystem. The current HEP I/O is based on the TFile container file format and the TTree binary event data format. The work going into the new RNTuple event data format aims at superseding TTree, to make RNTuple the production ROOT event data I/O that meets the requirements of Run 4 and beyond.

hep-ex↗

A Portable Implementation of RANLUX++

High energy physics has a constant demand for random number generators (RNGs) with high statistical quality. In this paper, we present ROOT's implementation of the RANLUX++ generator. We discuss the choice of relying only on standard C++ for portability reasons. Building on an initial implementation, we describe a set of optimizations to increase generator speed. This allows to reach performance very close to the original assembler version. We test our implementation on an Apple M1 and Nvidia GPUs to demonstrate the advantages of portable code.

physics.comp-ph↗