Commit eb779798 authored by Chris Malena Delitzsch's avatar Chris Malena Delitzsch
Browse files

Adding towers as ghosts

parent daa4c166
......@@ -178,13 +178,15 @@ JETM1SlimmingHelper.SmartCollections = ["Electrons", "Photons", "Muons", "Primar
# Add QG tagger variables
JETM1SlimmingHelper.ExtraVariables = ["AntiKt4EMTopoJets.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1",
"AntiKt4EMPFlowJets.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1",
"AntiKt4EMPFlowJets.GhostTower",
"InDetTrackParticles.truthMatchProbability",
"AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets.zg.rg.NumTrkPt1000.TrackWidthPt1000.GhostMuonSegmentCount.EnergyPerSampling.GhostTrack",
"AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets.zg.rg",
"AntiKt10UFOCSSKJets.NumTrkPt1000.TrackWidthPt1000.GhostMuonSegmentCount.EnergyPerSampling.GhostTrack"]
JETM1SlimmingHelper.AllVariables = [ "MuonSegments", "EventInfo", "TruthVertices", "TruthParticles"
"Kt4EMTopoOriginEventShape","Kt4EMPFlowEventShape","Kt4EMPFlowPUSBEventShape"]
"Kt4EMTopoOriginEventShape","Kt4EMPFlowEventShape","Kt4EMPFlowPUSBEventShape",
"CaloCalFwdTopoTowers"]
# Trigger content
JETM1SlimmingHelper.IncludeJetTriggerContent = True
......
......@@ -155,6 +155,7 @@ if jetFlags.useTracks():
lcgetters += trackjetgetters
empfgetters += trackjetgetters
empfgetters += [jtm.gtowerget]
# Add getter lists to jtm indexed by input type name.
jtm.gettersMap["emtopo"] = list(emgetters)
......
......@@ -308,6 +308,14 @@ jtm += MuonSegmentPseudoJetAlgorithm(
Pt = 1.e-20
)
# Ghost towers:
jtm += PseudoJetAlgorithm(
"gtowerget",
InputContainer = "CaloCalFwdTopoTowers",
Label = "GhostTower",
OutputContainer = "PseduoJetGhostTower"
)
useVertices = True
if not jetFlags.useVertices:
useVertices = False
......
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