[Rivet-svn] r3060 - trunk/src/Core

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Apr 14 17:56:34 BST 2011


Author: holsch
Date: Thu Apr 14 17:56:34 2011
New Revision: 3060

Log:
Bug fix for isCompatible. The second beam energy accidently was set as first beam energy too which made it impossible to run any DIS analysis

Modified:
   trunk/src/Core/Analysis.cc

Modified: trunk/src/Core/Analysis.cc
==============================================================================
--- trunk/src/Core/Analysis.cc	Thu Apr 14 16:05:55 2011	(r3059)
+++ trunk/src/Core/Analysis.cc	Thu Apr 14 17:56:34 2011	(r3060)
@@ -119,8 +119,8 @@
 
 
   bool Analysis::isCompatible(const ParticlePair& beams) const {
-    return isCompatible(beams.first.pdgId(), beams.second.pdgId(),
-                        beams.first.energy(), beams.first.energy());
+    return isCompatible(beams.first.pdgId(),  beams.second.pdgId(),
+                        beams.first.energy(), beams.second.energy());
   }
 
 


More information about the Rivet-svn mailing list