Commit 60845024 authored by Ligang Xia's avatar Ligang Xia
Browse files

add UFOCSSK to FTAG1 (AFT-609)

parent d80072ca
......@@ -63,6 +63,7 @@ def FTAG1Cfg(ConfigFlags):
"MET_Baseline_AntiKt4EMPFlow",
"AntiKt10UFOCSSKJets",
"AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets",
#"UFOCSSK",
]
FTAG1SlimmingHelper.AllVariables = [
"EventInfo",
......@@ -77,6 +78,7 @@ def FTAG1Cfg(ConfigFlags):
"TruthParticles",
"TruthVertices",
"TruthBottom", "TruthElectrons","TruthMuons","TruthTaus",
"UFOCSSK",
]
if ConfigFlags.BTagging.Pseudotrack:
......@@ -90,6 +92,13 @@ def FTAG1Cfg(ConfigFlags):
from DerivationFrameworkFlavourTag import FtagBaseContent
# additional AppendToDictionary items specifically for FTAG1
FTAG1_AppendToDictionary = {
'UFOCSSK': 'xAOD::FlowElementContainer',
'UFOCSSKAux': 'xAOD::FlowElementAuxContainer',
}
FtagBaseContent.add_AppendToDictionary_to_SlimmingHelper(FTAG1SlimmingHelper, FTAG1_AppendToDictionary)
# Static content
FtagBaseContent.add_static_content_to_SlimmingHelper(FTAG1SlimmingHelper)
......
......@@ -41,6 +41,12 @@ def add_static_content_to_SlimmingHelper(SlimmingHelper, extra_StaticContent=[])
all_StaticContent += extra_StaticContent
SlimmingHelper.StaticContent = all_StaticContent
def add_AppendToDictionary_to_SlimmingHelper(SlimmingHelper, _AppendToDictionary={}):
for _cont in _AppendToDictionary:
_type = _AppendToDictionary[_cont]
if _cont not in SlimmingHelper.AppendToDictionary:
SlimmingHelper.AppendToDictionary[_cont] = _type
def add_truth_to_SlimmingHelper(SlimmingHelper):
from DerivationFrameworkMCTruth.MCTruthCommonConfig import addTruth3ContentToSlimmerTool
for _cont in PHYSVAL_FTAG1_FTAG2_mc_AppendToDictionary:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment