Skip to content

Commit

Permalink
revert particleFlowDisplacedVertex for Puppi per slava request
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadalfonso committed Sep 5, 2016
1 parent de8d123 commit 2a1978e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 2a1978e

Please sign in to comment.