Skip to content

TrigCompositeUtils: add passedDecisionIDs helper function

Frank Winklmeier requested to merge fwinkl/athena:decisionhandling into 23.0

Add passedDecisionIDs helper function to filter DecisionIDs without the need to create temporary sets. Use this in RoRSeqFilter, ComboHypo and DecisionSummaryMakerAlg.

This speeds up RoRSeqFilter by 25-30% (but only measured on 10 events). The effect on ComboHypo is negligible.

Also replace a few CONT.count with CONT.find as the latter is certainly faster to check for existence of an element in case it exists.

cc @tamartin and relates to ATR-27539

P.S.: RoRSeqFilter takes ~1.4% of the total CPU or 28 kHS06 and with 1.4CHF/HS06 I am billing 10k CHF ;-)

Edited by Frank Winklmeier

Merge request reports

Loading