Skip to content
Snippets Groups Projects
Commit 13222e3b authored by TJ Khoo's avatar TJ Khoo
Browse files

Add in first truth vertex for vertex matching checks

Former-commit-id: 90dca90f2f7251235a63824fd535bce33d8e7af0
parent 6be80efc
No related merge requests found
......@@ -39,7 +39,8 @@ svcMgr += createThinningSvc( svcName="JETM13ThinningSvc", outStreams=[evtStream]
# THINNING TOOLS
#====================================================================
# Retain only stable truth particles, remove G4
# We want to keep all constituents
# We want to keep all truth jet constituents
# Also keep the first 10 particles mainly for the HS truth vertex
jetm13thin = []
if DerivationFrameworkIsMonteCarlo:
......@@ -57,7 +58,7 @@ if DerivationFrameworkIsMonteCarlo:
WriteBHadrons = True,
WriteCHadrons = False,
WriteGeant = False,
WriteFirstN = -1)
WriteFirstN = 10)
ToolSvc += TruthThinningTool
jetm13thin.append(TruthThinningTool)
......@@ -100,6 +101,7 @@ JETM13SlimmingHelper.AllVariables = ["CaloCalTopoClusters",
"JetETMissNeutralParticleFlowObjects",
"Kt4EMTopoOriginEventShape","Kt4EMPFlowEventShape",
"TruthParticles",
"TruthVertices",
"TruthEvents",
]
JETM13SlimmingHelper.ExtraVariables = [
......
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