From 3ded3b3d0e2fff10c2e422339799d12dc5783865 Mon Sep 17 00:00:00 2001 From: Bill Balunas <bill.balunas@cern.ch> Date: Thu, 3 Dec 2020 17:54:43 +0100 Subject: [PATCH] Schedule thinning of neutral FlowElement collection --- .../ThinningUtils/python/ThinNegativeEnergyNeutralPFOs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/python/ThinNegativeEnergyNeutralPFOs.py b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/python/ThinNegativeEnergyNeutralPFOs.py index b56039744a6b..3f1e500ae4c6 100644 --- a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/python/ThinNegativeEnergyNeutralPFOs.py +++ b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/python/ThinNegativeEnergyNeutralPFOs.py @@ -17,11 +17,13 @@ class ThinNegativeEnergyNeutralPFOs(Configured): ThinNegativeEnergyNeutralPFOs = True, StreamName = 'StreamAOD' ) + from RecExConfig.ObjKeyStore import cfgKeyStore + if cfgKeyStore.isInInput('xAOD::FlowElementContainer', 'JetETMissNeutralFlowElements',): + theNegativeEnergyNeutralPFOsThinner.NeutralPFOsFEKey = "JetETMissNeutralFlowElements" print (theNegativeEnergyNeutralPFOsThinner) CHSnPFOsThinAlg = None - from RecExConfig.ObjKeyStore import cfgKeyStore from JetRec.JetRecFlags import jetFlags if (jetFlags.useTracks or -- GitLab