[Rivet-svn] r3153 - trunk/src/Projections

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Jun 11 15:53:03 BST 2011


Author: richardn
Date: Sat Jun 11 15:53:03 2011
New Revision: 3153

Log:
fix for genparticle in leptonclusters to avoid later problems

Modified:
   trunk/src/Projections/LeptonClusters.cc

Modified: trunk/src/Projections/LeptonClusters.cc
==============================================================================
--- trunk/src/Projections/LeptonClusters.cc	Sat Jun 11 15:52:28 2011	(r3152)
+++ trunk/src/Projections/LeptonClusters.cc	Sat Jun 11 15:53:03 2011	(r3153)
@@ -61,7 +61,7 @@
 
     for (size_t i=0; i<bareleptons.size(); ++i) {
       _theParticles.push_back(bareleptons[i]);
-      _clusteredLeptons.push_back(Particle(bareleptons[i].pdgId(), bareleptons[i].momentum()));
+      _clusteredLeptons.push_back(Particle(bareleptons[i]));
     }
 
     const FinalState& photons = applyProjection<FinalState>(e, "Photons");


More information about the Rivet-svn mailing list