Fixed FPE in NSW Trigger Simulation

As reported in ATR-24638, several floating point exceptions (FPE) were found when running the NSWL1Simulation. This MR fixes them, with a few additional and related changes:

  • Removed extra spaces and unused functions
  • Replaced deprecated TVector instances with ROOT::Math::XYZVector ones
  • Replaced hard-coded formulas with inbuilt functions of the aforementioned objects
Edited by Francesco Giuseppe Gravili

Merge request reports

Loading