From 55d1bbfc582b149b5f7a1ee6ddceff784e354bfd Mon Sep 17 00:00:00 2001 From: Peter Onyisi Date: Fri, 9 Jul 2021 19:45:54 +0200 Subject: [PATCH] Restore btag content to ESD --- .../share/BTaggingReconstructionOutputAODList_jobOptions.py | 2 ++ .../RecExample/RecExPers/share/RecoOutputESDList_jobOptions.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/share/BTaggingReconstructionOutputAODList_jobOptions.py b/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/share/BTaggingReconstructionOutputAODList_jobOptions.py index 990b8d73b30..cf2e3604082 100644 --- a/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/share/BTaggingReconstructionOutputAODList_jobOptions.py +++ b/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/share/BTaggingReconstructionOutputAODList_jobOptions.py @@ -20,6 +20,7 @@ if len(BTaggingAODList) == 0: for coll in JetCollectionList: BTagConf.RegisterOutputContainersForJetCollection(coll[:-4]) BTaggingAODList = BTaggingFlags.btaggingAODList if jetFlags.writeJetsToAOD() else [] + BTaggingESDList = BTaggingFlags.btaggingAODList # BTaggingAODList += ["xAOD::BTaggingAuxContainer#*"] # BTaggingAODList += ["xAOD::BTaggingContainer#*"] @@ -28,4 +29,5 @@ if len(BTaggingAODList) == 0: # BTaggingAODList += ["xAOD::VertexContainer#BTagging*"] # BTaggingAODList += ["xAOD::VertexAuxContainer#BTagging*"] +printfunc ("#BTAG# ESD output container list: " + str(BTaggingESDList)) printfunc ("#BTAG# AOD output container list: " + str(BTaggingAODList)) diff --git a/Reconstruction/RecExample/RecExPers/share/RecoOutputESDList_jobOptions.py b/Reconstruction/RecExample/RecExPers/share/RecoOutputESDList_jobOptions.py index d0621bf7698..d8b5c6beea7 100644 --- a/Reconstruction/RecExample/RecExPers/share/RecoOutputESDList_jobOptions.py +++ b/Reconstruction/RecExample/RecExPers/share/RecoOutputESDList_jobOptions.py @@ -153,7 +153,7 @@ except Exception: try: if rec.doBTagging(): include("BTagging/BTaggingReconstructionOutputAODList_jobOptions.py") - fullESDList += CfgItemList( "BTaggingAod", items = BTaggingAODList, allowWildCard = True ) + fullESDList += CfgItemList( "BTaggingEsd", items = BTaggingESDList, allowWildCard = True ) except Exception: treatException("Could not load BTagging item list") -- GitLab