[Rivet-svn] r2449 - trunk/test

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed May 12 21:34:41 BST 2010


Author: buckley
Date: Wed May 12 23:18:00 2010
New Revision: 2449

Log:
Reinstating use of weights vector: it works with the latest HepMC 2.06 beta patch from Lynn.

Modified:
   trunk/test/testApi.cc

Modified: trunk/test/testApi.cc
==============================================================================
--- trunk/test/testApi.cc	Wed May 12 11:05:31 2010	(r2448)
+++ trunk/test/testApi.cc	Wed May 12 23:18:00 2010	(r2449)
@@ -26,7 +26,7 @@
   while (evt) {
     rivet.analyze(*evt);
     // Problem with HepMC file portability: temporarily disable
-    // sum_of_weights += evt->weights()[0];
+    sum_of_weights += evt->weights()[0];
 
     // Clean up and get next event
     delete evt; evt = 0;


More information about the Rivet-svn mailing list