[Rivet-svn] rivet: 2 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Tue Sep 26 17:15:01 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/65e2a2387a7e
branches:  
changeset: 6043:65e2a2387a7e
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Sep 26 17:00:48 2017 +0100
description:
Use generic YODA read and write functions -- enables zipped yoda.gz output.

details:   https://rivet.hepforge.org/hg/rivet/rev/56dde49fdcd0
branches:  
changeset: 6044:56dde49fdcd0
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Sep 26 17:07:43 2017 +0100
description:
Make completion understand yoda.gz suffixes

diffs (truncated from 69 to 50 lines):

--- a/ChangeLog	Tue Sep 26 16:33:19 2017 +0100
+++ b/ChangeLog	Tue Sep 26 17:07:43 2017 +0100
@@ -1,5 +1,7 @@
 2017-09-26  Andy Buckley  <andy.buckley at cern.ch>
 
+	* Use generic YODA read and write functions -- enables zipped yoda.gz output.
+
 	* Add ChargedLeptons enum and mode argument to ZFinder and WFinder
 	constructors, to allow control over whether the selected charged
 	leptons are prompt. This is mostly cosmetic/for symmetry in the
--- a/bin/rivet-completion	Tue Sep 26 16:33:19 2017 +0100
+++ b/bin/rivet-completion	Tue Sep 26 17:07:43 2017 +0100
@@ -51,7 +51,7 @@
     fi
 
     if (echo ${prev} | egrep -- "--\<histo-file\>|\<-H\>" &> /dev/null); then
-        _filedir yoda
+        _filedir "yoda|yoda.gz"
         return 0
     fi
 
@@ -167,7 +167,7 @@
         return 0
     fi
 
-    _filedir yoda
+    _filedir "yoda|yoda.gz"
     return 0
 }
 
@@ -250,7 +250,7 @@
         return 0
     fi
 
-    _filedir yoda
+    _filedir "yoda|yoda.gz"
     return 0
 }
 
--- a/src/Core/AnalysisHandler.cc	Tue Sep 26 16:33:19 2017 +0100
+++ b/src/Core/AnalysisHandler.cc	Tue Sep 26 17:07:43 2017 +0100
@@ -6,8 +6,7 @@
 #include "Rivet/Tools/BeamConstraint.hh"
 #include "Rivet/Tools/Logging.hh"
 #include "Rivet/Projections/Beam.hh"
-#include "YODA/ReaderYODA.h"
-#include "YODA/WriterYODA.h"
+#include "YODA/IO.h"
 
 namespace Rivet {


More information about the Rivet-svn mailing list