[Rivet-svn] r1695 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jul 15 21:28:25 BST 2009


Author: buckley
Date: Wed Jul 15 21:28:24 2009
New Revision: 1695

Log:
Updating to pass the analysis name to the Analysis constructor (thoughts on how to avoid this would be nice... I susrpect I was just being dumb when I coded the metadata file reading in this way)

Modified:
   trunk/bin/rivet-mkanalysis

Modified: trunk/bin/rivet-mkanalysis
==============================================================================
--- trunk/bin/rivet-mkanalysis	Wed Jul 15 16:50:54 2009	(r1694)
+++ trunk/bin/rivet-mkanalysis	Wed Jul 15 21:28:24 2009	(r1695)
@@ -145,7 +145,7 @@
 namespace Rivet {
 
 
-  $ANANAME::$ANANAME() {
+  $ANANAME::$ANANAME() : Analysis("$ANANAME") {
     /// @todo Set approriate for your analysis
     setBeams(PROTON, ANTIPROTON);
     


More information about the Rivet-svn mailing list