From fb66457b45a23e34827c9a6716ea8c4d579d72c3 Mon Sep 17 00:00:00 2001 From: Kevin Pedro Date: Thu, 24 Aug 2017 10:55:34 -0500 Subject: [PATCH] use deterministic seed by default --- PhysicsTools/PatUtils/interface/SmearedJetProducerT.h | 2 +- PhysicsTools/PatUtils/python/patPFMETCorrections_cff.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/PhysicsTools/PatUtils/interface/SmearedJetProducerT.h b/PhysicsTools/PatUtils/interface/SmearedJetProducerT.h index 9d0f92bc9fb8b..46307cb17a2ed 100644 --- a/PhysicsTools/PatUtils/interface/SmearedJetProducerT.h +++ b/PhysicsTools/PatUtils/interface/SmearedJetProducerT.h @@ -163,7 +163,7 @@ class SmearedJetProducerT : public edm::stream::EDProducer<> { desc.add("variation", 0); desc.add("seed", 37428479); desc.add("skipGenMatching", false); - desc.add("useDeterministicSeed", false); + desc.add("useDeterministicSeed", true); desc.addUntracked("debug", false); auto source = diff --git a/PhysicsTools/PatUtils/python/patPFMETCorrections_cff.py b/PhysicsTools/PatUtils/python/patPFMETCorrections_cff.py index c7478363973f3..b1e6e4f244f5b 100644 --- a/PhysicsTools/PatUtils/python/patPFMETCorrections_cff.py +++ b/PhysicsTools/PatUtils/python/patPFMETCorrections_cff.py @@ -138,6 +138,7 @@ variation = cms.int32(0), # If not specified, default to 0 seed = cms.uint32(37428479), # If not specified, default to 37428479 + useDeterministicSeed = cms.bool(True), debug = cms.untracked.bool(False) )