Skip to content

DerivationFrameworkTau: fix duplicate tau removal

Hello,

We have a weakness in the RAWtoALL tau reconstruction that can produce taus with same (eta,phi) although they are built from different seed jets. A protection was implemented in AOD->DAOD, but there was an issue with vector element removal while iterating over the vector: the vector size changes while iterating. If we have 3 duplicate taus consecutive in the vector (should be extremely rare), the existing protection would retain 2 taus. To fix this, the loop index is incremented only when no duplicate is found.

Tagging @ademaria .

Cheers, Bertrand

Merge request reports

Loading