Skip to content

Dropping the m_doEfficiency flag in favor of m_useHoleFinder in TRTMonitoringRun3

This MR is needed to speed up TRT monitoring jobs. Before this MR, we calculated track-level efficiency values (if m_doEfficiency was set to true) by looping over hits on track and incrementing both the efficiency numerator and the denominator and by looping over holes on track and incrementing only the denominator of the efficiency. The m_useHoleFinder is always set to false, so we never actually looped over the holes. And we do not really need these histograms given the efficiencies always equal 1. By not calculating the values at all as long as m_useHoleFinder is still set to false in the monitoring jobs, we do not perform one of the loops over hits on tracks, making the algorithm consume less CPU.

Edited by Yury Smirnov

Merge request reports

Loading