Skip to content

TauAnalysisTools: fix EleID WP warning in PHYS, and set EleIDVersion via property not via config file

Bertrand Martin Dit Latour requested to merge martindl/athena:main_test into main

Hello,

While running over DAOD_PHYS produced with 24.0.21, I noticed:

ToolSvc.TauSelectionTo...WARNING Tau failed EleID WP requirement, tau EleRNNScore: SG::ExcBadAuxVar: Attempt to retrieve nonexistent aux data item `::RNNEleScoreSigTrans' (1159).

which appears because the outdated tau electron veto RNN score has been dropped from PHYS in !66089 (merged). TauSelectionCuts has been updated accordingly.

Some minor fixes: auxdata->auxDataConst when reading dynamic variables, it could be replaced with data handles in the future.

I also changed the treatment of EleIDVersion, which controls the version of the set of electron veto variables (score + WPs). Before, one could set the version both as a property of the TauSelectionTool and inside the tau config file that holds all the cuts. But the latter is a bit error prone, and the version is not really a cut. So now it is only controlled by a property.

Tagging @ademaria .

Cheers, Bertrand

Edited by Bertrand Martin Dit Latour

Merge request reports