TrigT1NSWSimTools: speed up MMT_Road::checkCoincidences
Hello,
This MR is attempting to speed up NSWL1Simulation a bit. The biggest gain comes from MMT_Road::checkCoincidences, where we return false as soon as one of the 3 coincidence conditions is not met, instead of computing all 3 conditions. Based on 500 MC23a ttbar events, NSWL1Simulation would be ~7% faster now (SPOT-like test with 8 threads).
Tagging @fgravili .
Cheers, Bertrand
Edited by Bertrand Martin Dit Latour