Skip to content
  • Bertrand Martin Dit Latour's avatar
    TrigT1NSWSimTools: speed up MMT_Road::checkCoincidences · c40f81ec
    Bertrand Martin Dit Latour authored and Tomasz Bold's avatar Tomasz Bold committed
    TrigT1NSWSimTools: speed up MMT_Road::checkCoincidences
    
    Hello,
    
    This MR is attempting to speed up NSWL1Simulation a bit. The biggest gain from this MR comes from MMT_Road::checkCoincidences, where we return false as soon as one of the 3 coincidence coincidence is not met, instead of computing all 3 conditions. Based on 500 MC23a ttbar events, NSWL1Simulation would be ~7% faster now.
    
    Cheers,
    Bertrand
    c40f81ec