Skip to content

Simplify smearing of electron/photon energy (part 2 of ticket ATLASG-2729)

With this MR we are simplifying the application of the random smearing to the electrons and photons energy. In particular, the generator now is on the stack of the inner function, which makes this part of the procedure thread safe as requested in ATLASG-2729. The output is unchanged: this is checked by the unit test implemented in !72295 (merged). From the log of CI

3/3 Test #381: ElectronPhotonFourMomentumCorrection_ut_maintest_ctest .........   Passed   41.42 sec

@christos @krumnack @linghua @ahabouel @adonofri

Edited by Ruggero Turra

Merge request reports