Skip to content

Updtate FTagAnalysisConfig to support AnalysisJets as jetCollection

Thomas Strebler requested to merge main-patch-5248 into main

Using AnalysisJets as jetCollection for FTagAnalysisConfig currently leads to a crash due to this part of the config, which expects the DAOD_PHYS jet collection name

         if minPt is None:
            if "EMPFlow" in jetCollection:
                minPt = 20e3
            elif "EMTopo" in jetCollection:
                minPt = 20e3
            elif "VR" in jetCollection:
                minPt = 10e3

This MR overwrites the jetCollection with AntiKt4EMPFlowJets in case AnalysisJets is used, consistently with the jet analysis config https://gitlab.cern.ch/atlas/athena/-/blob/main/PhysicsAnalysis/Algorithms/JetAnalysisAlgorithms/python/JetAnalysisConfig.py#L440

FYI @galbouy @bdong @ligang

Merge request reports