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
TVectorinstances withROOT::Math::XYZVectorones - Replaced hard-coded formulas with inbuilt functions of the aforementioned objects
Edited by Francesco Giuseppe Gravili