[Rivet-svn] rivet: 2 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Wed May 11 23:15:01 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/5db5afcdec33
branches:  
changeset: 5205:5db5afcdec33
user:      Andy Buckley <andy at insectnation.org>
date:      Wed May 11 22:48:57 2016 +0100
description:
Add Event::allParticles() to provide neater (but not *helpful*) access to Rivet-wrapped versions of the raw particles in the Event::genEvent() record, and hence reduce HepMC digging.

details:   https://rivet.hepforge.org/hg/rivet/rev/dc0fabad68db
branches:  
changeset: 5206:dc0fabad68db
user:      Andy Buckley <andy at insectnation.org>
date:      Wed May 11 23:05:38 2016 +0100
description:
Merged with release-2-4-x

diffs (truncated from 283 to 50 lines):

--- a/ChangeLog	Fri May 06 15:39:35 2016 +0100
+++ b/ChangeLog	Wed May 11 23:05:38 2016 +0100
@@ -1,3 +1,26 @@
+2016-05-11  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Specialise return error codes from the rivet script.
+
+2016-05-11  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add Event::allParticles() to provide neater (but not *helpful*)
+	access to Rivet-wrapped versions of the raw particles in the
+	Event::genEvent() record, and hence reduce HepMC digging.
+
+2016-05-05  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Version 2.4.2 release!
+
+	* Update SLD_2002_S4869273 ref data to match publication erratum,
+	now updated in HepData. Thanks to Peter Skands for the report and
+	Mike Whalley / Graeme Watt for the quick fix and heads-up.
+
+2016-04-27  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add CMS_2014_I1305624 event shapes analysis, with standalone
+	variable calculation struct embedded in an unnamed namespace.
+
 2016-04-19  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Various clean-ups and fixes in ATLAS analyses using isolated
--- a/bin/rivet	Fri May 06 15:39:35 2016 +0100
+++ b/bin/rivet	Wed May 11 23:05:38 2016 +0100
@@ -32,7 +32,7 @@
         import rivet
     except:
         sys.stderr.write("The rivet Python module could not be loaded: is your PYTHONPATH set correctly?\n")
-        sys.exit(1)
+        sys.exit(5)
 
 rivet.util.check_python_version()
 rivet.util.set_process_name("rivet")
@@ -406,14 +406,12 @@
 
 ## Do some checks on output histo file, before we stat the event loop
 histo_parentdir = os.path.dirname(os.path.abspath(opts.HISTOFILE))
-
 if not os.path.exists(histo_parentdir):
   logging.error('Parent path of output histogram file does not exist: %s\nExiting.' % histo_parentdir)
-  sys.exit(1)
-
+  sys.exit(4)


More information about the Rivet-svn mailing list