Skip to content

tauRecTools: simplify retrieval of tau vertex in TauVertexedClusterDecorator

Hello,

This MR simplifies the way we retrieve the tau vertex when computing vertex-corrected tau clusters (relevant for ATLTAU-1762). Currently, we call tauRecTools::getTauVertex which first tries to access the tau vertex, and if it does not exist, it tries to access the "OriginVertex" of the seed jet. However, the tau vertex should always exist, unless there is no reconstructed primary vertex in the event, in which case the seed jet OriginVertex is helpless.

This code may be further cleaned up to better streamline offline/online functionalities.

Tagging @qidong .

Cheers, Bertrand

Merge request reports