Fixing muon trigger SF tool
Compare changes
GitLab service scheduled maintenance on Friday, March 21st 2025 as of 08h00 Geneva time for an estimated period of 1 hour. Further information under OTG0154918.
This MR does multiple things. Please, find the list of changes below, ordered by their importance.
Note that the last change also fixes a bug where the default fallback run number represented 2017 period K and the code returned a minimum between the run number for the event and the fallback number, resulting in all runNumbers after 2017 to be identified as 2017, meaning 2017 SFs were used for 2018 MC! The changes here will make sure this does not happen again as there will be no fallback solution.
This bug is also present in R21.2, once the changes here are agreeded on and merged, a similar MR needs to be done for 21.2 (cannot automatically sweep the changes here due to conflicts).