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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Feb 29 19:50:31 GMT 2012


Author: richardn
Date: Wed Feb 29 19:50:30 2012
New Revision: 3592

Log:
fix to take the highest pT jet as the leading one not some random jet

Modified:
   trunk/src/Analyses/CMS_2011_S8973270.cc

Modified: trunk/src/Analyses/CMS_2011_S8973270.cc
==============================================================================
--- trunk/src/Analyses/CMS_2011_S8973270.cc	Wed Feb 29 18:09:26 2012	(r3591)
+++ trunk/src/Analyses/CMS_2011_S8973270.cc	Wed Feb 29 19:50:30 2012	(r3592)
@@ -46,7 +46,7 @@
     void analyze(const Event& event) {
       const double weight = event.weight();
 
-      const Jets& jets = applyProjection<FastJets>(event,"Jets").jets();
+      const Jets& jets = applyProjection<FastJets>(event,"Jets").jetsByPt();
       const UnstableFinalState& ufs = applyProjection<UnstableFinalState>(event, "UFS");
 
       // Find the leading jet pT and eta


More information about the Rivet-svn mailing list