[Rivet-svn] rivet: Adding IsRef attributes to all YODA refdata files; this w...

Rivet Mercurial rivet at projects.hepforge.org
Thu Dec 3 13:00:05 GMT 2015


details:   https://rivet.hepforge.org/hg/rivet/rev/d329392dd183
branches:  release-2-4-x
changeset: 4944:d329392dd183
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Dec 03 12:41:31 2015 +0000
description:
Adding IsRef attributes to all YODA refdata files; this will be used to replace the /REF prefix in Rivet v3 onwards. The migration has also removed leading # characters from BEGIN/END blocks, as per YODA format evolution: new YODA versions as required by current Rivet releases are able to read both the old and new formats.

diffs (truncated from 126561 to 50 lines):

--- a/ChangeLog	Wed Dec 02 23:47:54 2015 +0000
+++ b/ChangeLog	Thu Dec 03 12:41:31 2015 +0000
@@ -1,3 +1,12 @@
+2015-12-03  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Adding IsRef attributes to all YODA refdata files; this will be
+	used to replace the /REF prefix in Rivet v3 onwards. The migration
+	has also removed leading # characters from BEGIN/END blocks, as
+	per YODA format evolution: new YODA versions as required by
+	current Rivet releases are able to read both the old and new
+	formats.
+
 2015-12-02  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Add handling of a command-line PLOT 'file' argument to rivet-mkhtml, cf. rivet-cmphistos
--- a/data/refdata/ALEPH_1991_S2435284.yoda	Wed Dec 02 23:47:54 2015 +0000
+++ b/data/refdata/ALEPH_1991_S2435284.yoda	Thu Dec 03 12:41:31 2015 +0000
@@ -1,5 +1,7 @@
-# BEGIN YODA_SCATTER2D /REF/ALEPH_1991_S2435284/d01-x01-y01
+BEGIN YODA_SCATTER2D /REF/ALEPH_1991_S2435284/d01-x01-y01
+IsRef=1
 Path=/REF/ALEPH_1991_S2435284/d01-x01-y01
+Title=
 Type=Scatter2D
 # xval	 xerr-	 xerr+	 yval	 yerr-	 yerr+
 2.000000e+00	1.000000e+00	1.000000e+00	1.000000e-05	1.000000e-05	1.000000e-05
@@ -27,33 +29,41 @@
 4.600000e+01	1.000000e+00	1.000000e+00	4.600000e-04	6.664833e-04	6.664833e-04
 4.800000e+01	1.000000e+00	1.000000e+00	3.000000e-05	1.802776e-04	1.802776e-04
 5.000000e+01	1.000000e+00	1.000000e+00	0.000000e+00	2.828427e-05	2.828427e-05
-# END YODA_SCATTER2D
+END YODA_SCATTER2D
 
-# BEGIN YODA_SCATTER2D /REF/ALEPH_1991_S2435284/d02-x01-y01
+BEGIN YODA_SCATTER2D /REF/ALEPH_1991_S2435284/d02-x01-y01
+IsRef=1
 Path=/REF/ALEPH_1991_S2435284/d02-x01-y01
+Title=
 Type=Scatter2D
 # xval	 xerr-	 xerr+	 yval	 yerr-	 yerr+
 9.125000e+01	5.000000e-01	5.000000e-01	2.085000e+01	2.408319e-01	2.408319e-01
-# END YODA_SCATTER2D
+END YODA_SCATTER2D
 
-# BEGIN YODA_SCATTER2D /REF/ALEPH_1991_S2435284/d02-x01-y02
+BEGIN YODA_SCATTER2D /REF/ALEPH_1991_S2435284/d02-x01-y02
+IsRef=1
 Path=/REF/ALEPH_1991_S2435284/d02-x01-y02
+Title=
 Type=Scatter2D


More information about the Rivet-svn mailing list