[Rivet-svn] rivet: 2 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Thu Nov 3 00:15:02 GMT 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/3bbd3f228c7b
branches:  release-2-5-x
changeset: 5593:3bbd3f228c7b
user:      Andy Buckley <andy at insectnation.org>
date:      Wed Oct 26 15:56:28 2016 +0100
description:
Todo comment

details:   https://rivet.hepforge.org/hg/rivet/rev/86ce3e6fa1c2
branches:  release-2-5-x
changeset: 5594:86ce3e6fa1c2
user:      Andy Buckley <andy at insectnation.org>
date:      Wed Nov 02 23:58:58 2016 +0000
description:
Declare Cutflow stream functions inline

diffs (30 lines):

--- a/include/Rivet/Tools/Cutflow.hh	Thu Oct 27 17:43:44 2016 +0100
+++ b/include/Rivet/Tools/Cutflow.hh	Wed Nov 02 23:58:58 2016 +0000
@@ -98,7 +98,7 @@
   };
 
   /// Print a Cutflow to a stream
-  ostream& operator << (ostream& os, const Cutflow& cf) {
+  inline ostream& operator << (ostream& os, const Cutflow& cf) {
     return os << cf.str();
   }
 
@@ -164,7 +164,7 @@
   };
 
   /// Print a Cutflows to a stream
-  ostream& operator << (ostream& os, const Cutflows& cfs) {
+  inline ostream& operator << (ostream& os, const Cutflows& cfs) {
     return os << cfs.str();
   }
 
--- a/include/Rivet/Tools/SmearingFunctions.hh	Thu Oct 27 17:43:44 2016 +0100
+++ b/include/Rivet/Tools/SmearingFunctions.hh	Wed Nov 02 23:58:58 2016 +0000
@@ -13,6 +13,7 @@
   //@{
 
   /// Return a uniformly sampled random number between 0 and 1
+  /// @todo Where is it seeded?! Default = by timestamp?!
   /// @todo Move to (math?)utils
   /// @todo Need to isolate random generators to a single thread
   inline double rand01() {


More information about the Rivet-svn mailing list