Página principal > A dimensions aware evaluator for High Energy Physics applications |
Article | |
Title | A dimensions aware evaluator for High Energy Physics applications |
Author(s) | Couturier, Ben (CERN) ; Clemencic, Marco (CERN) |
Publication | 2024 |
Number of pages | 5 |
In: | EPJ Web Conf. 295 (2024) 03004 |
In: | 26th International Conference on Computing in High Energy & Nuclear Physics, Norfolk, Virginia, Us, 8 - 12 May 2023, pp.03004 |
DOI | 10.1051/epjconf/202429503004 |
Subject category | Computing and Computers |
Abstract | The LHCb software stack is developed in C++ and uses the Gaudi framework for event processing and DD4hep for the detector description. Numerical computations are done either directly in the C++ code or by an evaluator used to process the expressions embedded in the XML describing the detector geometry. The current system relies on conventions for the physical units used (identical as what is used in the Geant4 simulation framework) and it is up to the developers to ensure that the correct factors are applied to the values entered. Physical units are not primary entities in the framework, it is therefore not possible to check the dimensional consistency of the computation performed. In this paper we investigate the possibilities to add physical units and dimensions to the existing evaluator or to replace it by a more suitable system, and how this would integrate with the possible tools to express units in C++ code (such as boost::units). |
Copyright/License | publication: © 2024 The authors (License: CC-BY-4.0) |