[Rivet-svn] rivet: Tweak and disable RNG seed cout

Rivet Mercurial rivet at projects.hepforge.org
Fri Jun 23 09:00:03 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/f19963fb516c
branches:  
changeset: 5883:f19963fb516c
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Jun 23 08:53:16 2017 +0100
description:
Tweak and disable RNG seed cout

diffs (12 lines):

--- a/include/Rivet/Tools/SmearingFunctions.hh	Fri Jun 23 00:17:35 2017 +0100
+++ b/include/Rivet/Tools/SmearingFunctions.hh	Fri Jun 23 08:53:16 2017 +0100
@@ -32,8 +32,8 @@
       seed_seq seq{1,2,3,4,5};
       vector<uint32_t> seeds(nthread+1);
       seq.generate(seeds.begin(), seeds.end());
-      cout << seeds[nthread] << endl;
       gens[nthread] = mt19937(seeds[nthread]);
+      //cout << "Thread " << nthread+1 << ", seed=" << seeds[nthread] << " (" << gens.size() << " RNGs)" << endl;
     }
     mt19937& g = gens[nthread];
     #else


More information about the Rivet-svn mailing list