[Rivet-svn] r2365 - trunk/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Mar 26 11:12:51 GMT 2010


Author: fsiegert
Date: Fri Mar 26 11:12:50 2010
New Revision: 2365

Log:
Fix in D0_2010_S8570965: Photons should be sorted by pT for the
costheta* = tanh(eta1-eta2)/2 observable. For all other observables this
shouldn't make a difference.

Modified:
   trunk/src/Analyses/D0_2010_S8570965.cc

Modified: trunk/src/Analyses/D0_2010_S8570965.cc
==============================================================================
--- trunk/src/Analyses/D0_2010_S8570965.cc	Thu Mar 25 18:01:00 2010	(r2364)
+++ trunk/src/Analyses/D0_2010_S8570965.cc	Fri Mar 26 11:12:50 2010	(r2365)
@@ -81,6 +81,7 @@
       if (isolated_photons.size() != 2) {
         vetoEvent;
       }
+      std::sort(isolated_photons.begin(), isolated_photons.end(), cmpParticleByPt);
       
       FourMomentum y1=isolated_photons[0].momentum();
       FourMomentum y2=isolated_photons[1].momentum();


More information about the Rivet-svn mailing list