Skip to content

AnalysisTop FTag tool usage overhaul

Oliver Majersky requested to merge omajersk/athena:AT-FTag-overhaul-R22 into master

The previous approach to handling b-tagging in AnalysisTop involved a lot of hard-coding to check if WP is calibrated or not, and if it is supported for a given jet collection.

This is hardly maintainable long-term, so instead the hardcoded lists of WPs are gone, everything will be configured dynamically based on listed WPs in the configuration file. To still support future uncalibrated WPs, it is possible to specify uncalibrated WPs, for which only tagging decision will be calculated, and no SFs will be retrieved.

The only minor downside potentially is that we rely more on FTag tools to provide "sane error messages" if people try to configure non-existant WP or wrong jet collection, etc.

Edited by Oliver Majersky

Merge request reports