|
[Rivet-svn] r2832 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Dec 7 17:56:57 GMT 2010
Author: hoeth Date: Tue Dec 7 17:56:57 2010 New Revision: 2832 Log: fixes to the fixes in ATLAS_2010_CONF_2010_083 Modified: trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc Modified: trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc ============================================================================== --- trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc Tue Dec 7 17:45:19 2010 (r2831) +++ trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc Tue Dec 7 17:56:57 2010 (r2832) @@ -31,21 +31,18 @@ const double weight = event.weight(); const FastJets & jetsproj = applyProjection<FastJets>(event, "Jets"); - Jets alljets; + Jets jets; foreach (const Jet jet, jetsproj.jetsByPt(100.0*GeV)) { if (fabs(jet.momentum().rapidity())<2.8) { - alljets.push_back(jet); - } - } - Jets jets; - foreach (const Jet jet, alljets) { - if (fabs(jet.momentum().rapidity())<0.8) { jets.push_back(jet); } if (jets.size()==2) break; } - if (jets.size() < 2 || jets[0].momentum().pT() < 110.0*GeV) { + if (jets.size() < 2 || + jets[0].momentum().pT() < 110.0*GeV || + fabs(jets[0].momentum().rapidity()) >= 0.8 || + fabs(jets[1].momentum().rapidity()) >= 0.8 ) { vetoEvent; }
More information about the Rivet-svn mailing list |