Problem 2287

Summary: LUT Davis error accessing reflectivity
Product: Geant4 Reporter: Daren Sawkey <daren.sawkey>
Component: processes/opticalAssignee: Daren Sawkey <daren.sawkey>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 10.6   
Hardware: All   
OS: All   

Description Daren Sawkey 2020-11-04 20:24:15 CET
The Davis LUT reflectivity data is binned into 90 bins and stored in a C array. The code to calculate which bin to access rounds the incident angle to the nearest degree, from 0 to 90 (i.e. 91 values). For particles with near-normal incidence, accessing the value at reflectivity[90] silently returns garbage.

This has been present since the Davis LUT model was introduced in Geant4 version 10.4.
Comment 1 Daren Sawkey 2020-11-05 14:57:24 CET
Fixed for 10.7.