Skip to content

Bug fix for BJetCalibAnalysisConfig

Zhengcheng Tao requested to merge ztao/athena:bugfix_BJetCalib into main

The BjetCalib algorithm added from !73984 (merged) is declared as a sub-block of Jets. It gets the option containerName from Jets but never uses it, instead it uses an option jetContainerName. This leads to errors during configuration:

ValueError: There are options set that are not used for BJetCalib: 
containerName

as reported by @rjoshi.

This MR replaces jetContainerName with containerName from Jets superblock. Also CP::BJetCalibrationAlg needs to be added to PhysicsAnalysis/Algorithms/JetAnalysisAlgorithms/JetAnalysisAlgorithms/selection.xml. The two tools BJetCorrectionTool and MuonInJetCorrectionTool used in BJetCalibrationAlg have to be registered as well.

Merge request reports

Loading