Skip to content
Snippets Groups Projects
Commit f58d4a19 authored by Dan Guest's avatar Dan Guest
Browse files

Add addCSSKSoftDropJets function

Former-commit-id: 80b79daaeaea4ed5dd2b1a8ed44870f15f789e4f
parent 41bc9752
No related merge requests found
......@@ -21,7 +21,8 @@ from DerivationFrameworkTools.DerivationFrameworkToolsConf import (
from DerivationFrameworkJetEtMiss.JetCommon import (
OutputJets, addJetOutputs, addSoftDropJets)
from DerivationFrameworkJetEtMiss.ExtendedJetCommon import (
addDefaultTrimmedJets, replaceAODReducedJets, addConstModJets)
addDefaultTrimmedJets, replaceAODReducedJets, addConstModJets,
addCSSKSoftDropJets)
from JetRec.JetRecStandard import jtm
# tracking
......@@ -168,12 +169,7 @@ VRGhostLabel="GhostVR30Rmax4Rmin02TrackJetGhostTag"
jtm.gettersMap["LCTopo".lower()].append(VRGhostLabel.lower())
# from here on things are a bit more standard
addConstModJets("AntiKt", 1.0, "LCTopo", ["CS", "SK"], FTAG5Seq, "FTAG5",
ptmin=40000, ptminFilter=50000, mods="lctopo_ungroomed")
addSoftDropJets("AntiKt", 1.0, "LCTopo", beta=1.0, zcut=0.1,
algseq=FTAG5Seq, outputGroup="FTAG5",
writeUngroomed=True, mods="lctopo_groomed",
constmods=["CS", "SK"])
addCSSKSoftDropJets(FTAG5Seq, "FTAG5")
#===================================================================
# ExKt subjets for each trimmed large-R jet
......
......@@ -485,6 +485,14 @@ def addConstModJets(jetalg,radius,inputtype,constmods,sequence,outputlist,
addStandardJets(**jetfindargs)
def addCSSKSoftDropJets(sequence, seq_name):
addConstModJets("AntiKt", 1.0, "LCTopo", ["CS", "SK"], sequence, seq_name,
ptmin=40000, ptminFilter=50000, mods="lctopo_ungroomed")
addSoftDropJets("AntiKt", 1.0, "LCTopo", beta=1.0, zcut=0.1,
algseq=sequence, outputGroup=seq_name,
writeUngroomed=True, mods="lctopo_groomed",
constmods=["CS", "SK"])
##################################################################
applyJetCalibration_xAODColl("AntiKt4EMTopo")
updateJVT_xAODColl("AntiKt4EMTopo")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment