Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ligang Xia
athena
Commits
60845024
Commit
60845024
authored
Oct 19, 2022
by
Ligang Xia
Browse files
add UFOCSSK to FTAG1 (AFT-609)
parent
d80072ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/FTAG1.py
View file @
60845024
...
...
@@ -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
)
...
...
PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/FtagBaseContent.py
View file @
60845024
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment