Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Elemer Nagy
athena
Commits
3a99c689
Commit
3a99c689
authored
6 years ago
by
Benjamin Henry Hooberman
Browse files
Options
Downloads
Patches
Plain Diff
Add PromptLeptonTagging to SUSY9, including input variables
Former-commit-id: 2e7880294dc091da54431e992d8f508f771432f3
parent
ec3f5c00
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/DerivationFramework/DerivationFrameworkSUSY/share/SUSY9.py
+26
-3
26 additions, 3 deletions
...erivationFramework/DerivationFrameworkSUSY/share/SUSY9.py
with
26 additions
and
3 deletions
PhysicsAnalysis/DerivationFramework/DerivationFrameworkSUSY/share/SUSY9.py
+
26
−
3
View file @
3a99c689
...
@@ -254,6 +254,19 @@ if IsSUSYSignal():
...
@@ -254,6 +254,19 @@ if IsSUSYSignal():
from
DerivationFrameworkSUSY.SUSYWeightMetadata
import
*
from
DerivationFrameworkSUSY.SUSYWeightMetadata
import
*
#====================================================================
# Prompt Lepton Tagger
#====================================================================
import
JetTagNonPromptLepton.JetTagNonPromptLeptonConfig
as
JetTagConfig
# simple call to replaceAODReducedJets(["AntiKt4PV0TrackJets"], SeqSUSY2, "SUSY2")
JetTagConfig
.
ConfigureAntiKt4PV0TrackJets
(
SeqSUSY9
,
"
SUSY9
"
)
# add decoration
SeqSUSY9
+=
JetTagConfig
.
GetDecoratePromptLeptonAlgs
(
addSpectators
=
True
)
SeqSUSY9
+=
JetTagConfig
.
GetDecoratePromptTauAlgs
()
#==============================================================================
#==============================================================================
# SUSY skimming selection
# SUSY skimming selection
#==============================================================================
#==============================================================================
...
@@ -270,13 +283,13 @@ SeqSUSY9 += CfgMgr.DerivationFramework__DerivationKernel(
...
@@ -270,13 +283,13 @@ SeqSUSY9 += CfgMgr.DerivationFramework__DerivationKernel(
FlavorTagInit
(
JetCollections
=
[
'
AntiKt4EMPFlowJets
'
],
Sequencer
=
SeqSUSY9
)
FlavorTagInit
(
JetCollections
=
[
'
AntiKt4EMPFlowJets
'
],
Sequencer
=
SeqSUSY9
)
#==============================================================================
#==============================================================================
OutputJets
[
"
SUSY9
"
]
=
[]
#
OutputJets["SUSY9"] = []
reducedJetList
=
[
"
AntiKt2PV0TrackJets
"
]
#
reducedJetList = [ "AntiKt2PV0TrackJets" ]
#if DerivationFrameworkIsMonteCarlo:
#if DerivationFrameworkIsMonteCarlo:
# reducedJetList += [ "AntiKt4TruthJets", "AntiKt4TruthWZJets" ]
# reducedJetList += [ "AntiKt4TruthJets", "AntiKt4TruthWZJets" ]
# AntiKt2PV0TrackJets is flavour-tagged automatically
# AntiKt2PV0TrackJets is flavour-tagged automatically
replaceAODReducedJets
(
reducedJetList
,
SeqSUSY9
,
"
SUSY9
"
)
#
replaceAODReducedJets(reducedJetList, SeqSUSY9, "SUSY9")
#==============================================================================
#==============================================================================
...
@@ -345,6 +358,16 @@ SUSY9SlimmingHelper.ExtraVariables = ["BTagging_AntiKt4EMTopo.MV1_discriminant.M
...
@@ -345,6 +358,16 @@ SUSY9SlimmingHelper.ExtraVariables = ["BTagging_AntiKt4EMTopo.MV1_discriminant.M
"
MuonClusterCollection.eta_sampl.phi_sampl
"
"
MuonClusterCollection.eta_sampl.phi_sampl
"
]
]
# Saves BDT and input variables for light lepton algorithms.
# Can specify just electrons or just muons by adding 'name="Electrons"' or 'name="Muons"' as the argument.
SUSY9SlimmingHelper
.
ExtraVariables
+=
JetTagConfig
.
GetExtraPromptVariablesForDxAOD
(
addSpectators
=
True
)
# Saves BDT and input variables tau algorithm
SUSY9SlimmingHelper
.
ExtraVariables
+=
JetTagConfig
.
GetExtraPromptTauVariablesForDxAOD
()
# add missing branches needed by Charge Flip Killer Tool
from
DerivationFrameworkEGamma.ElectronsCPDetailedContent
import
*
SUSY9SlimmingHelper
.
ExtraVariables
+=
ElectronsCPDetailedContent
SUSY9SlimmingHelper
.
IncludeMuonTriggerContent
=
True
SUSY9SlimmingHelper
.
IncludeMuonTriggerContent
=
True
SUSY9SlimmingHelper
.
IncludeEGammaTriggerContent
=
True
SUSY9SlimmingHelper
.
IncludeEGammaTriggerContent
=
True
SUSY9SlimmingHelper
.
IncludeBPhysTriggerContent
=
True
SUSY9SlimmingHelper
.
IncludeBPhysTriggerContent
=
True
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment