Skip to content

Commit

Permalink
use deterministic seed by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Aug 24, 2017
1 parent 4514a35 commit fb66457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/PatUtils/interface/SmearedJetProducerT.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class SmearedJetProducerT : public edm::stream::EDProducer<> {
desc.add<std::int32_t>("variation", 0);
desc.add<std::uint32_t>("seed", 37428479);
desc.add<bool>("skipGenMatching", false);
desc.add<bool>("useDeterministicSeed", false);
desc.add<bool>("useDeterministicSeed", true);
desc.addUntracked<bool>("debug", false);

auto source =
Expand Down
1 change: 1 addition & 0 deletions PhysicsTools/PatUtils/python/patPFMETCorrections_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit fb66457

Please sign in to comment.