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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sun Sep 11 11:50:00 BST 2011


Author: buckley
Date: Sun Sep 11 11:50:00 2011
New Revision: 3345

Log:
Sort the particle container returned by ChargedLeptons

Modified:
   trunk/src/Projections/ChargedLeptons.cc

Modified: trunk/src/Projections/ChargedLeptons.cc
==============================================================================
--- trunk/src/Projections/ChargedLeptons.cc	Sun Sep 11 11:48:54 2011	(r3344)
+++ trunk/src/Projections/ChargedLeptons.cc	Sun Sep 11 11:50:00 2011	(r3345)
@@ -23,6 +23,7 @@
         _theChargedLeptons += Particle(p);
       }
     }
+    std::sort(_theChargedLeptons.begin(), _theChargedLeptons.end(), cmpParticleByPt);
   }
 
 


More information about the Rivet-svn mailing list