From 2a1978e9e078c4878fa1a0edc85d637fa5974c88 Mon Sep 17 00:00:00 2001 From: maria Date: Mon, 5 Sep 2016 20:14:54 +0200 Subject: [PATCH] revert particleFlowDisplacedVertex for Puppi per slava request --- .../python/tools/runMETCorrectionsAndUncertainties.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PhysicsTools/PatUtils/python/tools/runMETCorrectionsAndUncertainties.py b/PhysicsTools/PatUtils/python/tools/runMETCorrectionsAndUncertainties.py index a837f0e560865..b0b2061368434 100644 --- a/PhysicsTools/PatUtils/python/tools/runMETCorrectionsAndUncertainties.py +++ b/PhysicsTools/PatUtils/python/tools/runMETCorrectionsAndUncertainties.py @@ -432,7 +432,7 @@ def produceMET(self, process, metType, metModuleSequence, postfix): process.load("PhysicsTools.PatUtils.patPFMETCorrections_cff") if postfix != "" and metType == "PF" and not hasattr(process, 'pat'+metType+'Met'+postfix): - noClonesTmp = [ "particleFlowDisplacedVertex", "pfCandidateToVertexAssociation" ] if not self._parameters["Puppi"].value else [] + noClonesTmp = [ "particleFlowDisplacedVertex", "pfCandidateToVertexAssociation" ] configtools.cloneProcessingSnippet(process, getattr(process,"producePatPFMETCorrections"), postfix, noClones = noClonesTmp) setattr(process, 'pat'+metType+'Met'+postfix, getattr(process,'patPFMet' ).clone() ) getattr(process, "patPFMet"+postfix).metSource = cms.InputTag("pfMet"+postfix) @@ -491,7 +491,7 @@ def getCorrectedMET(self, process, metType, correctionLevel,produceIntermediateC } if postfix != "": - noClonesTmp = [ "particleFlowDisplacedVertex", "pfCandidateToVertexAssociation" ] if not self._parameters["Puppi"].value else [] + noClonesTmp = [ "particleFlowDisplacedVertex", "pfCandidateToVertexAssociation" ] if not hasattr(process, "patPFMetT0CorrSequence"+postfix): configtools.cloneProcessingSnippet(process, getattr(process,"patPFMetT0CorrSequence"), postfix, noClones = noClonesTmp) if not hasattr(process, "patPFMetT1T2CorrSequence"+postfix):