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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Feb 15 09:50:01 GMT 2011


Author: fsiegert
Date: Tue Feb 15 09:50:01 2011
New Revision: 2931

Log:
Bugfix in ATLAS_2011_S8971293: Veto events where the two leading jets
don't have |eta|<0.8 instead of using only jets with |eta|<0.8.

Modified:
   trunk/src/Analyses/ATLAS_2011_S8971293.cc

Modified: trunk/src/Analyses/ATLAS_2011_S8971293.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S8971293.cc	Tue Feb 15 08:28:41 2011	(r2930)
+++ trunk/src/Analyses/ATLAS_2011_S8971293.cc	Tue Feb 15 09:50:01 2011	(r2931)
@@ -55,13 +55,15 @@
 
       Jets jets06;
       foreach (const Jet& jet, applyProjection<FastJets>(event, "AntiKtJets06").jetsByPt(100.0*GeV)) {
-        if (fabs(jet.momentum().rapidity()) < 0.8) {
+        if (fabs(jet.momentum().rapidity()) < 2.8) {
           jets06.push_back(jet);
         }
       } 
       if (jets06.size()>1){
-        double observable = mapAngle0ToPi(jets06[0].momentum().phi()-jets06[1].momentum().phi()) / M_PI;
-        _h_deltaPhi.fill(jets06[0].momentum().pT(), observable, weight);
+        if (fabs(jets06[0].momentum().rapidity())<0.8 && fabs(jets06[1].momentum().rapidity())<0.8) {
+          double observable = mapAngle0ToPi(jets06[0].momentum().phi()-jets06[1].momentum().phi()) / M_PI;
+          _h_deltaPhi.fill(jets06[0].momentum().pT(), observable, weight);
+        }
       }
     }
 


More information about the Rivet-svn mailing list