Skip to content

removing WPs in DerivationFrameworkFlavourTag/python/FlavourTagCommon.py which are not supported by the xAODBTaggingEfficiencyTool

Buddhadeb Mondal requested to merge bmondal/athena:fixBTagTopq4 into 21.2

Hi,

With recent restructuring in xAODBTaggingEfficiencyTool [1] only these btag WP are supported [2]. During derivation production some formats (eg TOPQ4, EXOT8, JETM7, HDBS1) uses this function applyBTagging() [3] to attach decorations about whether or not jet passed given btagWP. the hardcoded btagAlglist [4] in this function is now causing trouble as not all the WP are supported in xAODBTaggingEfficiencyTool. This commit removes hardcoded WPs in DerivationFrameworkFlavourTag/python/FlavourTagCommon.py which are not supported by the xAODBTaggingEfficiencyTool.

This was causing TOPQ4 to fail the ARTs (https://bigpanda.cern.ch/job?pandaid=5567370722).

[1] !53966 (merged)

[2] https://gitlab.cern.ch/atlas/athena/-/blob/710731b63405b6972e9396aba9e8826fd36d43d9/PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration/xAODBTaggingEfficiency/xAODBTaggingEfficiency/BTaggingSelectionTool.h#L118

[3] https://gitlab.cern.ch/atlas/athena/-/blob/21.2/PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/FlavourTagCommon.py#L247

[4] https://gitlab.cern.ch/atlas/athena/-/blob/21.2/PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/FlavourTagCommon.py#L249

Edited by Buddhadeb Mondal

Merge request reports