Skip to content

Reverse the order of Reflectivity tables and deactivate Rich Specific...

Recently the DD4HEP convertor and Geant4.11 has some extra (albeit unnecessary) restrictions on the input data supplied from Detector. In particular any material property tables have to be from a pre-defined listed in DD4HEP. The G.4-11 also requires the entries in the reflectivity tables to be in the increasing order of photon energy. This MR makes the RICH inputs compatible with these new versions, in the trunk version of RICH, as of September 02-2025.
The order of the entries in the reflectivity tables are reversed from that in the earlier version. It has no effect on simulation/reconstruction results. The extra optical property tables needed for RICH simulation are created, but the flag to attach them to the corresponding ‘materials’ in DD4HEP is switched off. They are later directly accessed in the relevant part of the RICH simulation. These updates in ‘Detector’ are only in the compact area. They are not used for anything in the reconstruction programs. Thanks to @witoldp for pointing out the issues with the new version of DD4HEP/G4.11. This MR supersedes other MR’s (811 , 812) made recently created for this purpose. This MR is aimed at the master version, in order to be able to use in different LHCb packages (Gauss/Boole/Moore etc) This is also mentioned by @mexu recently. However, this MR can also be ‘cherry-picked’ to use in lcg-105-compat version to run Gauss, if needed. For reference, a log file obtained by running Gauss with this MR is attached below. (The RICH geometry versions which are considered fixed/frozen are kept unchanged for now, considering they may be already in use by online and they are unlikely to be used for Gauss in sim11 and beyond).

To be done:

needed to be ported to the 2024/2025 version of Detector after the Geant 4 switch.


Validated by

  • Core Software
  • RTA
  • Simulation
Edited by Menglin Xu

Merge request reports

Loading