Search arXivSearch

arXiv · 2501.07452

Efficient cosmic ray generator for particle detector simulations

Abstract

Traditional cosmic ray simulations make use of the Montecarlo method in a very naive way to randomise energy and direction for each simulated particle. The flux of cosmic rays is modelled as a rain coming from a plane above the object of interest (detectors in particle physics applications, planes in dosimetry studies, etc.) with an experimental angular and energy distributions. This strategy is very inefficient because many of the particles never touch the detector. Here a refined way of implementing the Montecarlo method is proposed in order to generate a sample of events that hit the target volume whose angular distribution coincides with the one from the naive implementation. It is based on the projection of a sphere containing the target volume onto a plane tangent to it with a fixed angle, we call it the secant method. This configuration allows to compute the probability of a cosmic particle hitting the sphere with this incoming angle as proportional to the area of the corresponding section of a cylinder. The performance of this method is faster in terms of computing time and identical physical results are achieved. It has been implemented in REST-for-Physics framework and it is tested with the geometry of a real detector, the IAXO-D0 Micromegas X-ray detector for the future axion helioscope BabyIAXO. Our method is 37 times more efficient than the traditional Montecarlo schema for the same accuracy, being more useful when the target volume departs from spherical shape

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

David Díez Ibáñez, Luis Obis Aparicio. 2025-09-18. Efficient cosmic ray generator for particle detector simulations. https://doi.org/10.1016/j.cpc.2025.109805

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

The mathematical theory of photomultiplier tube calibration

In this technical note we describe the main features of the mathematical theory of photomultiplier tube (PMT) calibration. Attention was paid to explain the various arguments and concepts in a simple and pedagogical manner that everybody understands. The basic operational principles of a PMT are discussed from a theoretical standpoint. The essential steps of its function (photoconversion, focusing, multiplication, etc.) are laid down together with the mathematical schemes necessary to model the charge output of a PMT when illuminated by a faint poissonian light source. In case of important omissions we direct the reader to some of the standard references. The most common numerical methods, used to calculate the charge amplification function $S_R(x)$, are also presented. As an example, we plot $S_R(x)$ utilizing a gamma function model for the single photoelectron (SPE) response and showcase its main characteristics. The basic techniques for gain calibration are also introduced, and we probed their precision using toy Monte Carlo data. Additionally, data from a Hamamatsu R1408 PMT were analyzed. Finally, we show how the presence of soft charge component can affect the results of gain determination. We conclude this report with some general comments regarding \emph{in situ} calibration of large-scale detectors. We hope that this document can serve as a reference for students and young researchers that want to learn more about the theory of PMT calibration.

hep-ex

First measurement of the forward rapidity dependence of $W$ boson transverse helicity fractions

The transverse helicity fractions of $W$ bosons are measured as a function of the $W$ boson rapidity, $y_{W}$, in the range $0 \leq y_{W} \leq 5$ using $W\toμν_μ$ decays in $pp$ collisions at $\sqrt{s}$ = 13 TeV recorded by the LHCb experiment and corresponding to an integrated luminosity of $5.1$ fb$^{-1}$. The fractions are extracted from a template fit to the muon transverse momentum and pseudorapidity. The results show a strong rapidity dependence and agree with next-to-leading-order Standard Model predictions, providing the first determination of the transverse helicity fractions of $W$ bosons in the forward region.

hep-ex

Benchmarking Nucleon Production in Hadron Interactions Relevant for GeV-scale Neutrino Experiments

In neutrino scattering experiments, the emitted final state particles are essential for identifying interaction channels and reconstructing neutrino energies. During intranuclear propagation, neutrino-induced hadrons can interact with surrounding nucleons, altering both the number of final state particles and detectable energy depositions. As a result, neutrino experiments rely on hadron-nucleus scattering models to simulate these nuclear effects. This paper explores nucleon production predicted by hadron scattering models for common hadrons in neutrino experiments, specifically nucleons and pions. We investigate these models with simulations from the \textsc{GENIE} neutrino event generator, which includes implementations of \textsc{Geant4} Bertini Cascade and \textsc{INCL++}. For popular target nuclei, we find that the number of emitted nucleons for mesonless hadron interactions can be parameterized by simple Gaussian and exponential decay functions. We present these relationships and provide reweighting tools for addressing the hadron scattering model spread in both visible energy and final state nucleon multiplicities.

hep-ex