Back to Search Start Over

A dimensions aware evaluator for High Energy Physics applications

Authors :
Couturier Ben
Clemencic Marco
Source :
EPJ Web of Conferences, Vol 295, p 03004 (2024)
Publication Year :
2024
Publisher :
EDP Sciences, 2024.

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).

Subjects

Subjects :
Physics
QC1-999

Details

Language :
English
ISSN :
2100014X
Volume :
295
Database :
Directory of Open Access Journals
Journal :
EPJ Web of Conferences
Publication Type :
Academic Journal
Accession number :
edsdoj.8af36c9bfb94f86ba80f5ac0562bbb6
Document Type :
article
Full Text :
https://doi.org/10.1051/epjconf/202429503004